Closed thidasapankaja closed 1 year ago
pod 'Permission-Notifications'
setup_permissions
pod install
after updating the PodfileThanks @zoontek .
I checked this. But it doesn't open the Push Notification permission modal. How can I get it requested from react-native js code ?
For reference, for Android we can get it worked from request(PERMISSIONS.ANDROID.POST_NOTIFICATIONS);
. But for iOS I don't see a way to request the Push Notification Permission
Read the documentation: https://github.com/zoontek/react-native-permissions#requestnotifications
Bug summary
I got an error trying to access request Push Permission in iOS saying "Notifications pod is missing". So, I added
pod 'Permission-Notifications', :path => '../node_modules/react-native-permissions/ios/Notifications.podspec'
as suggested. But I'm still getting some error saying[!] Invalid
Podfilefile: cannot load such file -- /Users/thidasa/[folder]/apps/mobile/node_modules/react-native-permissions/scripts/setup.
And when I looked at
My react-native version is 0.67.3 . What am I missing ?
This is my pod file
I'm getting err
Library version
3.8.0
Environment info
Steps to reproduce
Mentioned in Bug Summary
Reproducible sample code