简体   繁体   中英

Replacement for Azure MobileService.Client.GetPush().RegisterAsync()

Since the Microsoft.Azure.MobileClient nuget currently is only supporting .net standard I am considering dropping it from my app-project. The only thing I am using it for is the RegisterAsync() call.

Can I do this in the backend (using the Azure Notification services) instead? I have my Firebase token and my apple token. I just need to register them in the Azure notification hub.

thanks!

Can I do this in the backend (using the Azure Notification services) instead?

If I understand you correctly, you could build the WebAPI backend for your mobile clients to register the notifications. And you could install the Microsoft.Azure.NotificationHubs NuGet package for processing the notifications. More details, you could refer to Register for notifications by using the WebAPI back end and here for communicating with your WebAPI for creating the registration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM