![]() ![]() ustomize the notification with an icon and color if you want. However, Im not sure how to configure the Unity Firebase SDK to connect to the local Firebase Auth emulator. Set up custom notification Construct NotificationCompat.Builder with a notification channel ID. If you're registering both an iOS and an Android build target of your Unity project, you'll need to download and add the config files for both platforms. Obtain your platform-specific Firebase configuration file (s) in the Firebase console setup workflow. I can test the authentication flows using the Firebase CLI commands and the Firebase web SDK. Step 3: Add Firebase configuration files. This results in the Notification Icon shown in the statusbar is just a white square with rounded corners. Ive followed the Firebase documentation and have successfully set up the local Firebase emulator suite, including the Auth emulator. This is used when no icon is set for incoming notification messages. However, my Icon is in 'Apple style' meaning that its a square with rounded corners and graphics inside. Compile jar package, and add it to Unity Assets/Plugins/Android/libs directory. Render Over Native UI, Enable this option to force your app to render on top of the native iOS or Android UI. We've really been searching and guessing a lot why we didn't saw any parameters appear so wanted to share this information here, so you don't spent the time to it. I have added an Icon in my Unity Project and built it for Android. This setting applies to both Android and iOS. Found this on the following page at one of the replies (see attached screenshot below): We've search a lot and we've found out that there were 2 things to be aware of when using the custom events/parameters.ġ) Events/parameters are only shown after 24h in the dashboardĢ) For your DEV/TST environments the app needs to be used by '10 users' before the custom parameters are shown in the dashboard.Įspecially number 2 was hard to find out, but when we did this, the parameters where shown in the firebase dashboard. However where (some) events were shown in the dashboard, the parameters seemed not to work. We had Firebase integrated where we've added custom events with parameters. Navigate to the sample directory testapp in the file dialog and click Open. Select the File > Open Project menu item. Open the sample project in the Unity editor. Not really a support question but an answer I wanted to share here since it took some time to find this issue out. Download the Firebase Unity SDK and unzip it somewhere convenient.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |