[ios] Android hasPermission method
This commit is contained in:
parent
b5b02ed84d
commit
e329851c44
|
@ -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")) {
|
||||
|
|
|
@ -400,3 +400,4 @@ RCT_EXPORT_METHOD(unsubscribeFromTopic: (NSString*) topic) {
|
|||
@implementation RNFirebaseMessaging
|
||||
@end
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue