First time submitting an app to the app store.
As per iTunes Connect:
"A demo account is required to use all the features of the app."
... which is the case for my app.
I want to have this demo account point to the dev api, but everything else point to the prod api.
My app is Cordova based and the api url is injected via a constant into the relevant http services. I am using grunt and have commands like grunt prod / grunt dev etc, which, utilising ngconstant generate a module with the api url for the command that was run i.e. grunt dev for dev api url constant.
I thought about hardcoding a username and overiding/redefining the url constant as it seems somewhat possible albeit not recommended (being a constant and all). - I could not get this to work in any case.
So...
Does anyone know how to get around this?
If the app were initially submitted with the dev api url, reviewed and then accepted then resubmitted with prod api ~ is another full review required?
I want to have this demo account point to the dev api, but everything else point to the prod api.
If you want this kind of behaviour you'll have to implement it, i don't think there are other solutions.
Implement on Client side
Implement on Server side
I think Server side solution is the best since you'll be able to make changes whenever you want. Remember to check "Release app manually" flag from Itunes Connect before submission to revert changes you need.
If the app were initially submitted with the dev api url, reviewed and then accepted then resubmitted with prod api ~ is another full review required?
Yes, if you want to upload a new build, a new app review is required. Basically you are at the beginning point.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With