Handling Mobile app backend API domain change - iOS & Android -


we have mobile app calls endpoints on host https://www.currentdomain.com. migrating https://www.newdomain.com in month

the network team planning setup dns redirect currentdomain newdomain. best possible way handle change in app minimal change , work? happen if app calls endpoint on currentdomain after setting dns redirect?

you can support redirection in apis.i not sure how possible @ end if yes, no changes required @ app side.

otherwise http redirection can handled apps, in ios 1 method needs added & can redirect request desired url. https://developer.apple.com/library/content/documentation/cocoa/conceptual/urlloadingsystem/articles/requestchanges.html

redirect handler in android https://developer.android.com/reference/org/apache/http/client/redirecthandler.html


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -