127
Views
2
Comments
[OneSignal Plugin] Different app ids for production mode
Question
onesignal-plugin
Mobile icon
Forge asset by OutSystems

Hi,

We need to use different application id for developments and production modes. How is it possible to detect on which environment we are and use proper app id (as application bundle ids for dev and prod applications are different)?

Thank you. 

2018-05-10 22-41-57
Carlos Filipe Simões
Staff

Hello, Mykola,

If all you need is to generate a new app with a different identifier from each environment, all you have to do is configure it differently on each one: the first time you push your app to production, you'll configure its app identifier and certificates; those settings will be kept from thereon in.

If that's not the case, what are you trying to achieve? Do you need to provide an app identifier at runtime?

Best regards,

Carlos Simões

2021-05-05 13-05-18
Mykola (Nick) Tkachenko

Hi Carlos,

I meant one signal apps ids (for dev and production). I've come to solution to keep app id in db and configure it manually via back office for each environment.

Best regards,

Nick

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.