Reputation: 83
I have written some kind of a banking app which requires logging. Unfortunately, I can't let Apple guys during review connect to my production server, but I can give them access to my development server. Is it possible to modify endpoints addresses in my app after successful Apple review? Because to be honest I don't know how to switch my app from development to production server after review. And I don't know also how to handle updates in App Store which also requires Apple reviews.
Upvotes: 0
Views: 110
Reputation: 318774
One possible solution would be to ensure that every API request coming from your app to your server includes a version number.
You can then have your web server direct the request to either the production or development servers based on the version number.
Each time you start an update you increment the version number sent by your app and you update your web server to direct that newer version to development and all earlier versions to production.
Once you finish testing, you submit the app to Apple. Don't use automatic release. Use manual release. Once Apple approves the app, you update the web server so the new version number redirects to production and then you release the approved app.
Repeat again as you start working on the next update.
Upvotes: 1