darylrowland / react-native-remote-push

React Native Remote Push Notifications Component
MIT License
158 stars 29 forks source link

RemotePushIOS.requestPermissions not call when user click allow or not button #18

Open peng051410 opened 8 years ago

peng051410 commented 8 years ago

I install you component with npm , and follow you step in Examples, when i run code in a real device, the requestPermissions function is not called, so i can't get the 'erro' or 'data'. how can i fixed it ? thanks a lot!

Ouadie commented 8 years ago

you have to add all the files to your xcode directory..

copy all of the files to your XCode directory, and add them to your project. Then, when you want to use the module, require the RemotePushIOS class, e.g.