2
0
mirror of synced 2025-01-11 14:44:12 +00:00

[messaging] Fix for #451

This commit is contained in:
Salakar 2017-10-03 09:49:46 +01:00
parent 306b34d1e6
commit fd1ac6c2b7

View File

@ -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