[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
|
@ReactMethod
|
||||||
public void sendMessage(ReadableMap messageMap, Promise promise) {
|
public void sendMessage(ReadableMap messageMap, Promise promise) {
|
||||||
if (!messageMap.hasKey("to")) {
|
if (!messageMap.hasKey("to")) {
|
||||||
|
@ -400,3 +400,4 @@ RCT_EXPORT_METHOD(unsubscribeFromTopic: (NSString*) topic) {
|
|||||||
@implementation RNFirebaseMessaging
|
@implementation RNFirebaseMessaging
|
||||||
@end
|
@end
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user