简体   繁体   中英

How can I get the value of “fcm_default_channel” for default_notification_channel_id in google Firebase

Inside my android studio file for build.gradule (Modile:app), I have a value I need to replace in this settings.

   resValue "string", "default_notification_channel_id", "fcm_default_channel"

Now I am inside my firebase settings and its all confusing, I can't seem to find the value for this, Please can someone help me out.

In my firebase settings, I have this tab and values

  1. General Tab
    • Project ID
    • Web API key

And in the Second Tab

  1. Cloud Messaging Tab
    • Server key
    • Legacy server key
    • Sender ID
    • Web Push certificates(Key Pair)

I have this values, Please Which should be the the value for

"fcm_default_channel"    

Please I need help. Thank you

fcm_default_channel它是default_notification_channel_id键的值,如果你想改变它只是改变它在你的android项目中它存在的位置它不在firebase控制台中

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM