Hey all,
I'm trying to use the react-native-module to integrate Urban Airship push notifications with our React Native mobile app.
I've followed all of the instructions in the README, as well as played around with iOS-specific instructions. However, I can't seem to get Urban Airship up and running with iOS - I'm consistently getting console.logs of Notifications enabled: false and Channel: undefined. I'm also not seeing an increment in "App Opens" in the dashboard when I build and run the app via Xcode. Everything works fine on Android. Any pointers as to what I'm missing?
Edit to add -- here's the errors in my console:
2017-05-30 14:50:24.311425-0500 ecosystem[582:223475] 🚨Urban Airship Implementation Error🚨 - AirshipConfig.plist file is missing. Unable to takeOff.
2017-05-30 14:50:24.312069-0500 ecosystem[582:223475] 🚨Urban Airship Implementation Error🚨 - AirshipConfig.plist file is missing. Unable to takeOff.
2017-05-30 14:50:24.338126-0500 ecosystem[582:223475] [E] +[UAirship handleAppDidFinishLaunchingNotification:]_block_invoke [Line 282] [UAirship takeOff] was not called in application:didFinishLaunchingWithOptions:
2017-05-30 14:50:24.338246-0500 ecosystem[582:223475] [E] +[UAirship handleAppDidFinishLaunchingNotification:]_block_invoke [Line 283] Please ensure that [UAirship takeOff] is called synchronously before application:didFinishLaunchingWithOptions: returns
I've tried putting the AirshipConfig.plist in both my target folder (like the README specified) as well as the ios folder (like the sample has), and the same error results with each. My AirshipConfig.plist looks like this:
Comments
8 comments