[messaging] Fix for #451
This commit is contained in:
parent
306b34d1e6
commit
fd1ac6c2b7
@ -1,4 +1,4 @@
|
||||
import { Platform } from 'react-native';
|
||||
import { Platform, NativeModules } from 'react-native';
|
||||
import ModuleBase from './../../utils/ModuleBase';
|
||||
import RemoteMessage from './RemoteMessage';
|
||||
|
||||
@ -25,6 +25,8 @@ const WILL_PRESENT_RESULT = {
|
||||
None: 'UNNotificationPresentationOptionNone',
|
||||
};
|
||||
|
||||
const FirebaseMessaging = NativeModules.FirebaseMessaging;
|
||||
|
||||
/**
|
||||
* IOS only finish function
|
||||
* @param data
|
||||
|
Loading…
x
Reference in New Issue
Block a user