React native iOS app not registering channel in development

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

Didn't find what you were looking for?

New post

Comments

3 comments

  • 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

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

    Comment actions Permalink
    0
  • No problem! Glad it's sorted out.

    Jay M.
    Urban Airship Technical Support

    Comment actions Permalink
    1

Please sign in to leave a comment.