Import .notifications. For a game using the Unity SDK, the small icon can be set by adding the name of the drawable resource in the configuration panel under Notification Icon.įor a game using the Android SDK, add the following snippet of code under the Firebase meta-data tags in the Android Manifest: The icon should be saved in the Android project under the res/ drawable folder. to generate these registration tokens: iOS, Android, Web, C++, and Unity. These icons must be white with a transparent background. You can use KreaitFirebaseMessagingRawMessageFromArray to create a message. The small icon is the icon which appears in the status bar when a user gets a notification. Ĭustomizing the notification Setting the small icon Add api ":firebase-messaging:20.2.0" to dependencies. the Android SDK, add the following snippet of code under the Firebase. From the Firebase Console > Your Project > Realtime Database click on the plus icon. gradle file and remove the deltadna-sdk-notifications dependency. For a game using the Unity SDK, the small icon can be set by adding the name of. gradle and remove the maven section under repositories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |