
Emulator: iPhone 6
Xcode Version: 9.2
react: 16.0.0
react-native: 0.50.3
react-native-push-notification: ^3.0.2

the error line is in notification.finish(PushNotificationIOS.FetchResult.NoData);
i import configuration in AppDelegate.m
Sorry, the error is don't implement PushNotificationIOS in de import from react-native
import { View, Text, StyleSheet, Image, Button, PushNotificationIOS } from 'react-native';
fixed
I have got the same error message when I'm running RN android project. Don't know why getting this even without running the iOS project of RN app.
I have got the same error message when I'm running RN android project. Don't know why getting this even without running the iOS project of RN app.
If you are using iOS only method on android add logic to not execute it when Platform.OS == 'android'
in my case, I was using notification.finish(PushNotificationIOS.FetchResult.NoData);
Most helpful comment
Sorry, the error is don't implement PushNotificationIOS in de import from react-native
import { View, Text, StyleSheet, Image, Button, PushNotificationIOS } from 'react-native';fixed