evollu / evollu/react-native-fcm

FCM.requestPermission not working in production

Open
#1,081 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

"react-native": "0.47.1",
"react-native-fcm": "^14.0.1",

When in development the permission pop-up does appear.

However, in production when I initialize the App and ask for permission like so:

```
class App extends Component {
componentWillMount() {

FCM.requestPermissions();
}

...
```

nothing happens. Do I need to specify the parameters?

EDIT: Pop up wont appear on Android. Does appear on iOS.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.