Skip to content

Starter code on how to make push from azure to work

Notifications You must be signed in to change notification settings

RobertHedgate/MauiAppPush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MauiAppPush

This repo contains some boilerplate code on how to make push from azure to work.

For iOS you don´t need anything else in your app except selecting the correct certificate when you build.

Android you need the google-service.json file you download from you firebase console and add it directly under Android folder.

Here are a tutorial on iOS. https://learn.microsoft.com/en-us/azure/notification-hubs/ios-sdk-get-started

Setting up Android FCM V1 https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-rest

If GoogleServieJson doesn´t show up as build action dotnet/maui#14486

In my real project I use a dependency injection service to hold my hub so I can change tags from the app. Just call CreateOrUpdateInstallationAsync with the new tags when they changes.

I had an issue with android release which stopped working. My solution was to remove trim and AOT from release build and it started to work again.

About

Starter code on how to make push from azure to work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages