mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[ios] Android hasPermission method
This commit is contained in:
@@ -92,6 +92,11 @@ public class RNFirebaseMessaging extends ReactContextBaseJavaModule implements A
|
||||
}
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
public void hasPermission(Promise promise) {
|
||||
promise.resolve(true);
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
public void sendMessage(ReadableMap messageMap, Promise promise) {
|
||||
if (!messageMap.hasKey("to")) {
|
||||
|
||||
Reference in New Issue
Block a user