I am developing a react native application and want to bring it to the ios appstore.
Since I do have different stages in the backend I would like to have also a dev version for the rn application that testusers can test via testflight.
For Android we can easily create the applications within one "project" in the console, but for the appstoreconnect I do not see how to do this the best way.
Do I have to create a second app on the appstoreconnect, to be able to distribute the dev version connected with dev backend? Or is there any better way?
Update - to try explain my question better I have already explored flavours and environment files, I am now purely looking at Testflight.
In Firestore for Android I can create one app that is android dev and one that is android prod, from there AND with environment files in place in my react native code, I can easily distribute dev for testing and then later on prod. That happens in the same project.
Now here comes the question, is there any way to do the same in the appstoreconnect to test dev in testflight and then later upload the code that is connected to prod and go live? Maybe I am just confused but in Testflight it looks like there can be only one version and that is the release version and no dev.
Or do I just upload DEV and QA builds(archives) and when everything has been tested and I want to go productive I upload all of a sudden the version that is connected to the prod backend?
Another idea that comes to my mind is to create one app MyApplication and one MyApplicationDEV in appstoreconnect, but that feels a little weird.