Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
165 stars 142 forks source link

Push notifications setup for Braze sandbox #242

Closed danielCarlosCE closed 4 years ago

danielCarlosCE commented 4 years ago

We're trying to test some push notifications on sandbox but it seems it only works if we use a different bundle identifier.

When we test with the same bundle identifier as in production, didRegisterForRemoteNotificationsWithDeviceToken won't be called at all and the user won't have a token.

Is there any way around this? Going through the troubleshooting page didn't help us.

chshapiro commented 4 years ago

Hey @danielCarlosCE,

Did you make sure your push certificates are set up correctly? Are you using a .p8 or .p12 certificate?

Thanks!

danielCarlosCE commented 4 years ago

We're using .p8. It's working fine on prod and it works on sandbox if we run the app from Xcode with a different bundle identifier. What we want is the same bundle identifier and an ad-hoc build to distribute to the team. We need the option Send to Development Environment on the Braze sandbox.

danielCarlosCE commented 4 years ago

I got it working. We're signing the build with distribution certificate