Community

Community Forums

Where our customers, developers, and more can come together to help each other with both general and technical questions about our products and services.

React native iOS app not registering channel in development

stuart.gray

Hi,

Production apps are able to register channels fine. But builds using a development provisioning profile cannot register channels (getChannelId returns undefined)

(using the urbanairship-react-native module)

Thanks

Official comment

Avatar

Hi,

I would verify that you have updated and are using the correct app keys for your dev project. How are you running the app? iOS is set up to detect it's the environment and will default to production or development keys depending on where it is run from (Xcode vs testflight/app store).

Is the process of enabling notifications working properly?

If you want to provide us with the Xcode logs when you launch the app we can take a look and see if anything stands out. I believe you have email support with us so you can fill in this form with all the information or email us at support@urbanairship.com.

Jay M.
Urban Airship Technical Support

Jay Mutzafi
Comment actions Permalink

Please sign in to leave a comment.

0
Avatar

Yep that was it. I checked my dev key/secret and they were incorrect. Thanks!

stuart.gray 0 votes
Comment actions Permalink
1
Avatar

No problem! Glad it's sorted out.

Jay M.
Urban Airship Technical Support

Jay Mutzafi 1 vote
Comment actions Permalink