I'm trying to add Google FCM push notification function to Unity project. I'm surprised that there are no resources about Google FCM for Unity. There are only old Google GCM resources. This is my step-by-step progress below.
google-service.json
to '/app' and configure build.gradle (project and module)AndroidPlugin.jar
classes.jar
of Unity to Android Studio library and module settingAndroidPlugin.jar
, AndroidManifest.xml
to 'Plugins/Android' in Unity
Maybe, there are somethings to add to 'Plugins/Android' except AndroidManifest.xml
and AndroidPlugin.jar
like references below.
Google firebase analytics plugin for unity - StackOverflow
http://joxi.ru/Q2KeQD7C3zdYrj
But, I couldn't find my answer. Please let me know what I have to do or add. Sorry for bad english and long explanation. Many thanks :)
I used Unity SDK in OneSignal.
It is very simple, easy, and cool SDK for push notification.
Reference link below.
https://onesignal.com/