Failed to send notification from firebase console

后端 未结 2 1655
南笙
南笙 2021-01-21 07:04

This is some tutorial of firebase. I\'m registering app in Firebase, getting the google-services.json file, pasting it in the app files as shown in the tutorial. Also getting th

相关标签:
2条回答
  • 2021-01-21 07:51

    May be you're not add a correct SHA1 for your application? you can follow this tutorial to get the correct SHA1. And then on console firebase choose project setting, choose add SHA1. After that, you need to replace google-services.json with the newest one.

    0 讨论(0)
  • 2021-01-21 07:57

    Kindly check if all the below conditions were satisfied.

    1. Update the SHA 1 finger print and package name in your console.
    2. Place a json configuration file from the developer console and place it under app directory [module level directory].
    3. Add these lines in the gradle files. a) Module gradle : apply plugin: 'com.google.gms.google-services' b) Project gradle : classpath 'com.google.gms:google-services:3.0.0'

    Hope it helps you...

    0 讨论(0)
提交回复
热议问题