arcticniom.blogg.se

Unity cloud build notifications
Unity cloud build notifications











unity cloud build notifications

Also take note that this delays the initialisation of FirebaseMessaging and requesting for permissions so you might have to relaunch the game before actually receiving any push notifications (I haven't tested it this far so I am not sure). It will take few seconds to display as the list is fetched thru unity cloud api realtime. Pipedreams integration platform allows you to integrate. This will display the list of all build targets that are available on Unity Cloud dashboard. I got the FirebaseMessagingAutoInitEnabled from the documentation but in my previous tests, it seems like having any reference to FirebaseMessaging will still ask for permissions. Setup the Pushover API trigger to run a workflow which integrates with the Unity Cloud Build API. You might need FirebaseMessaging.RequestPermissionAsync() for IOS as wellįirebaseMessaging.TokenReceived -= OnTokenReceived įirebaseMessaging.TokenReceived += OnTokenReceived įirebaseMessaging.MessageReceived -= OnMessageReceived įirebaseMessaging.MessageReceived += OnMessageReceived Public void SetPushNotificationListeners()

unity cloud build notifications

Call this in the part of the game where you want the notifications to appear If platform is not IOS, immediately set message listeners You can check this out for more info on how to add/edit the plist.Īlso, move any reference to FirebaseMessaging to the part of your game where you want to ask for permissions. Maybe we disabled a setting by error, but I've not been able to find out if that was the case.įYI : There is no problem with the build itself, as it works like a charm when downloaded manually, but I'd like to be able to just let Jenkins do the job.Make a PostProcessBuild where you can edit the ist generated XCode project and add an entry setting FirebaseMessagingAutoInitEnabled to false. Up until ~a month ago, they were working smoothly and I was able to receive notification about unity cloud builds (we have a dedicated Slack channel + a Jenkins Webhook) but lately, those two stopped working and I have no idea what to do to fix those. Failed to load latest commit information.github. Add this Action to an existing workflow or create a new one. When building with Cloud Build, email notifications are sent but Integration notifications (the highlighted block in the screenshot below) are not sent. Use this GitHub Action with your project.













Unity cloud build notifications