문제

I'm trying to figure out how to change the config of an iOS app from outside the app or preferably while it is installed. I would like to change the base url of the api for different group of users.

Let's say we have 2 websites (fictive): bikers.my-app.com runners.my-app.com

When a biker installs the app from the website, the base api url should be bikers.my-app.com/api/ and runners.my-app.com/api/ for the runners.

From what i've found this is not possible when installing from the AppStore without creating 2 applications.

Is there something like an "app profile" users can install to change app settings?

도움이 되었습니까?

해결책

As you mentioned - this is not possible once the app is in the app store. The easiest solution is creating a settings / profile screen that allows users to choose Running or Biking. Then have the app change the URL based on their selection.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top