0

Microsoft.Azure.MobileClient 너겟은 현재 .net 표준 만 지원하므로 내 app-project에서 삭제하는 것이 좋습니다. 내가 사용하고있는 것은 RegisterAsync() 호출뿐입니다.Azure MobileService.Client.GetPush(). ReplaceAsync()

대신 Azure Notification 서비스를 사용하여 백엔드에서이 작업을 수행 할 수 있습니까? Firebase 토큰과 Apple 토큰이 있습니다. Azure 알림 허브에 등록하기 만하면됩니다.

감사합니다.

답변

0

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

정확하게 이해하면 모바일 클라이언트가 알림을 등록 할 WebAPI 백엔드를 작성할 수 있습니다. 알림을 처리하기 위해 NuGet 패키지 Microsoft.Azure.NotificationHubs을 설치할 수 있습니다. 더 자세한 내용은 Register for notifications by using the WebAPI back endhere을 참조하여 등록 생성을 위해 WebAPI와 통신하십시오.

+0

예,이 버전을 사용하고 있으며 둘 다 수행합니다. 허브 = 새 SBNotificationHub (Constants.ConnectionString, Constants.NotificationHubPath); (errorCallback! = null) Console.WriteLine ("RegisterNativeAsync 오류 :"+ errorCallback.ToString()); Hub.RegisterNativeAsync (deviceToken, tags) 그 전화는 서버에서 대신 할 수 있는지 궁금해합니다. –

관련 문제