React Native Local Notifications kurulumundan sonra aldığım bu hatanın nedeni :
/**
* (optional) default: true
* - Specified if permissions (ios) and token (android and ios) will requested or not,
* - if not, you must call PushNotificationsHandler.requestPermissions() later
* - if you are not using remote notification or do not have Firebase installed, use this:
* requestPermissions: Platform.OS === 'ios'
*/
requestPermissions: true,
react-native-push-notification paketinin doküman sayfasında Firebase ile beraber kurulum kodlarına yer verilmiş fakat ben projemde Firebase kullanmadım, yukarıdaki kodları aşağıdaki gibi değiştirmek gerekiyor.
/**
* (optional) default: true
* - Specified if permissions (ios) and token (android and ios) will requested or not,
* - if not, you must call PushNotificationsHandler.requestPermissions() later
* - if you are not using remote notification or do not have Firebase installed, use this:
* requestPermissions: Platform.OS === 'ios'
*/
requestPermissions: Platform.OS === 'ios',
