Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS app doesn't function if instance subdomain has changed #684

Open
ecrode opened this issue Aug 21, 2024 · 0 comments
Open

iOS app doesn't function if instance subdomain has changed #684

ecrode opened this issue Aug 21, 2024 · 0 comments
Labels

Comments

@ecrode
Copy link

ecrode commented Aug 21, 2024

Setup

  • Version: iOS app 5.0.160
  • Environment: official app

Checklist

Could not find similar issues reported

Describe the bug

iOS app (and perhaps android) is bricked if the invoice ninja install is moved to a different (sub)domain.
When upgrading to the latest version, I've decided to install new instance on a separate VM and subdomain. Originally invoice ninja was hosted under bill subdomain, while the latest version is under billing. After everything got installed and seems to be working, I simply set bill. to redirect to billing via 302 headers, but found iOS app completely broken. No options to sign out, update server address or interact with the redirected instance. I've ended up having to bring up older instance back online and redirect disabled, just to sign out from the iOS app. Would I have lost domain in meantime iOS app may have been permanently bricked. Both old and new instances were V5 just a few years apart.

Steps To Reproduce

Setup instance on a custom domain and sign into the app, setup redirect from said domain to a new domain without fist signing out from the app; may be enough to simply disable the domain, though I've not tested that option.

Expected Behavior

An option to sign out / change server should still be available even if self install instance is not available at the old address.

@ecrode ecrode added the triage label Aug 21, 2024
@hillelcoren hillelcoren transferred this issue from invoiceninja/invoiceninja Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant