Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: OneSignal + Multi Stage/Flavour Environment #1612

Closed
1 task done
LucasReinaldo opened this issue Dec 9, 2023 · 4 comments
Closed
1 task done

[question]: OneSignal + Multi Stage/Flavour Environment #1612

LucasReinaldo opened this issue Dec 9, 2023 · 4 comments

Comments

@LucasReinaldo
Copy link

LucasReinaldo commented Dec 9, 2023

How can we help?

Hey folks, I am trying to set my react native app to support a multi-stage environment so I can have a dev, staging and prod app.

The issue is when trying to build the dev and staging (iOS) I get an error:

Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.

I guess I need to add a dynamic suffix to handle the different envs? Has anyone done that? Some screenshots, guides, code, repo are welcome!

Thank you!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@LucasReinaldo
Copy link
Author

well, for those wondering: https://documentation.onesignal.com/docs/troubleshooting-ios#can-we-setup-multiple-notification-service-extensions-for-multiple-targets-in-single-xcode-project

you need to create another NSE (suffix Dev or your env) and redo all the steps. Don't forget to include the new NSE in Podfile.

@kosbog
Copy link

kosbog commented Feb 12, 2024

@LucasReinaldo did you implement it? I tried, but no luck. Stuck on group issue for stage env.

@LucasReinaldo
Copy link
Author

@LucasReinaldo did you implement it? I tried, but no luck. Stuck on group issue for stage env.

yep! It is quite annoying to get it right, those are the resources I used to get it done:

@FilipGryczewskiInv
Copy link

@LucasReinaldo Hi, I tired to implement two separate NSE for two different apps, but the duplicated one keeps throwing
Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier. despite having their own NSE. Do you know what can cause it? The main NSE is somehow still related to the second app? Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants