Application overview - point to dev api instead of prod

The application was first sent to the application store.

According to iTunes Connect:

"A demo account is required to use all the features of the application."

... as for my application.

I want this demo account to point to dev api, but everything else points to prod api.

My application is based on Cordoba, and the api url is entered through a constant into the corresponding http services. I use grunt and have commands like grunt prod / grunt dev etc. which, using ngconstant, generate a module with api url for the command that was run ie Grunt dev for constant dev api url.

I was thinking about hard coding the username and overriding / overriding the url constant, as it seems somewhat possible , although not recommended (permanent and all). “I couldn't get this to work anyway.”

So...

Does anyone know how to get around this?

If the application was originally submitted using the dev api url, reviewed and then accepted, and then resubmitted with prod api ~, would you need another full review?

+4
source share
2 answers

I want this demo account to point to dev api, but everything else points to prod api.

, , , .

  • . .
  • ( )

  • -, dev dev. Apple .
  • prod dev . Apple.

, , , . " " Itunes Connect , .

dev api url, , prod api ~, ?

, , . .

+4

. /URL-, , App Store.

, API- dev, - , .

(, , ), API- dev/environment. ( App Store) , API/. .

, . .

+2

Source: https://habr.com/ru/post/1656246/


All Articles