react-native-firebase-docs icon indicating copy to clipboard operation
react-native-firebase-docs copied to clipboard

Update Messaging.md

Open abunsen opened this issue 6 years ago • 3 comments

This is an attempt to clarify that React Native Firebase method: firebase.messaging().hasPermission() does not check with Firebase Cloud Messaging platform, but instead only checks the device permissions.

abunsen avatar Mar 28 '19 22:03 abunsen

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 28 '19 22:03 CLAassistant

@Salakar @Ehesp would love to bring some clarity to this issue.

abunsen avatar Mar 28 '19 22:03 abunsen

I have a question about this, I get the point - the messaging check is local, but...is "cloud messaging permission" a thing? I didn't there was the concept of permissions at all at the cloud level, just per device?

If I understand that correctly then the messaging shouldn't be as if there were two possibilities and this only checks one, it should instead clarify that permissions only exists on the device and you have to check it.

It's subtle, but I wouldn't want an attempt to clarify things make it seem as if there was some other permissions scheme out there

Or am I missing an FCM cloud messaging permissions thing?

mikehardy avatar Jun 10 '19 22:06 mikehardy