Yukarıdaki hatayı, React Native Local Notification kurulumu sırasında aldım, Firebase olmadan kurmaya çalışırken, otomatik olarak channel atanmadığı için bu hata göründü. Aşağıda ki şekilde kodları eleyerek bu hatadan kurtulmuş olduk.
PushNotification.createChannel(
{
channelId: "ahsen8", // (required)
channelName: "My channel", // (required)
channelDescription: "A channel to categorise your notifications", // (optional) default: undefined.
playSound: false, // (optional) default: true
soundName: "default", // (optional) See `soundName` parameter of `localNotification` function
importance: 4, // (optional) default: 4. Int value of the Android notification importance
vibrate: true, // (optional) default: true. Creates the default vibration patten if true.
},
(created) => console.log(`createChannel returned '${created}'`) // (optional) callback returns whether the channel was created, false means it already existed.
);