Bilişim dünyasına kaliteli, özgün ve Türkçe içerikler kazandırmayı hedefleyen bir platform..

friends friends friends

developer warning for package failed to post notification on channel fcm fallback notification channel

Hata:developer warning for package failed to post notification on channel fcm_fallback_notification channel

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.
  );
React Native Local Notification ???? Firebase developer warning for package failed to post notification on channel null hatası developer warning for package failed to post notification on channel null ne demek developer warning for package com.android.vending failed to post notification on channel
0 Beğeni
React-Native
Önceki Yazı

Default firebaseapp is not initialized in this process

21 Ocak 2021 tarihinde yayınlandı.
Sonraki Yazı

The ADM Binary Found

21 Ocak 2021 tarihinde yayınlandı.
arrow