[OneSignal Plugin] Different app ids for production mode

Forge Component
Published on 18 Jan by OutSystems R&D
13 votes
Published on 18 Jan by OutSystems R&D


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. 

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

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,