Hi all - I’ve detached to ExpoKit because I need to be able to set up in app purchases for my app, and would also like to have an app extension. This of course means I can no longer use the expo push notifications service, which is brilliantly easy to use. I’ve spent four days trying to figure out an implementation that I can now use for push notifications and I am really struggling to find anything that works.
I have a Rails API on the backend. I wonder could anyone suggest a setup that worked for them? And if so, any good tutorials that you used?
I’ve tried several different tutorials, including one around OneSignal (linking libraries in Xcode was leading to missing file errors etc). I’ve also started looking at AWS SNS and am a little confused by it but could probably keep going on that if I need to. I’m not that comfortable in Xcode either (hence why I love RN) so the less I have to do in there, the better.
I had the same issue as you with react-native-one-signal. I think I got rid of that error eventually by linking the world in Xcode but then i just moved on to another error that I had no idea how to fix.
I think I’ll remove ExpoKit if the notifications push doesn’t work, I have no choice… But I’m very astonished because there are not many issues/topic about it, I don’t really understand how the people are doing this
Cool, so on pure React Native (through react-native init?) you could get react-native-onesignal to work smoothly? I was getting missing file issues in Xcode when I tried it through ExpoKit. Will be interested to hear how it goes for you using ExpoKit. I might have to fully eject to get it to work which would be a shame.
A guy called kirkness resolve it with react-native-onesignal in the issue
You need to install OneSignal with pod (add this to PodFile pod 'react-native-onesignal', :path => '../node_modules/react-native-onesignal')
and DON’T link it with react-native link