Check permission for data messages every time? (react-native-firebase)

时间:2018-09-18 20:26:40

标签: firebase react-native firebase-cloud-messaging react-native-firebase

My question is very straight: do I need to check for firebase permission every time a data message comes in? According to the official documentation "Before you are able to send and receive Cloud Messages, you need to ensure that the user has granted the correct permissions" but in a project I'm working on I only check for permission at login time.

Thank you!

0 个答案:

没有答案