Closed lazywei closed 9 years ago
Did you get any luck with this error? I've just run into it too.
@MossP React Native's built-in support for push notification has been improved a lot. I'd suggest you just use that one.
Ran into this myself. Most likely due to this line in RemotePushIOS.js
:
var RemotePushManager = require("NativeModules").RemotePushManager;
RemotePushManager is not being found.
Resolved by add following files in Xcode (in the same directory where AppDelegate.m
is found) and adding the files in your iOS
folder:
RCTRemotePushManage.h
RCTRemotePushManage.m
RemotePushDelegate.h
RemotePushDelegate.m
Then following the steps outlined in the Getting Started.
That was it, thank you. As I had installed via npm I hadn't needed to copy all the files across to the app so only included RemotePushDelegate.h and RemotePushDelegate.m, including RCTRemotePushManage.h and RCTRemotePushManage.m fixed it, I didn't need to move the files around, I just had to include in project from the node_modules folder.
Thank you @jterskine
I might have a look at the integrated one soon @lazywei Can you successfully grab remote tokens with it now?
Hi, I got this when trying to use this with React Native 0.4.4