I am using Unity version 2021.3.8f1 to build android mobile application. I tried to make push notification using Firebase version 9.4.0 plugin but somehow the push notification does not appear in phone after i build apk file and create cloud messaging in the firebase.
I had follow all the step on creating the push notification in the youtube tutorial :
I had obtain the Sha-1 fingerprints to be insert in the firebase android section.
I would like to know the problem why does the push notification does not appear in my phone and there seems no problem on building the apps and others.
Thank you.
Same here, documentation is getting “super duper easy” with colors and very very easy to follow steps, but… actually someone in Unity has follow the steps provided in the documentation?
I had the same problem, but in my case I had forgotten to add the SHA-1 key in the firebase console. Make sure you add the release SHA-1 (the one that you sign your app). Immediately after adding the key to the console, I received my test push notifications. Hope this helps
EDIT:
I figured out how to get the SHA-1 key and added it to Firebase console project settings, but it’s still not working for me.
Here’s how I got the SHA-1:
Locate the keystore file that you use to sign your app (Location found at Unity Project Settings->Publishing Settings)
Go to command prompt in the JDK “bin” directory (Found in Edit->Preferences->External Tools->JDK)
Example: cd C:\Program Files\Unity\Hub\2020.3.42f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin