2017-07-19 48 views
0

newbie here。私はプッシュ通知用のXamarin Formsの使用に関するいくつかの調査を行っていました。 APN(Apple Push Notification)、FCM(Google)、WNS(Microsoft)があります。しかし、私はプッシュ通知を使用して上のiOSアプリのルールを理解することができませんでした:
Xamarinフォームのプッシュ通知を作成するためのSDK

1) Push Notifications 
    https://developer.apple.com/app-store/review/guidelines/2016-06-13/ 

1.1) Apps that provide Push Notifications without using the Apple Push Notification (APN) API will be rejected 
1.2) Apps that use the APN service without obtaining a Push Application ID from Apple will be rejected 

    what if I use FCM ? 


2) What is the SDK for Xamarin forms to build a push notification app which will doing the registration and interacting with app back-end? 

をXamarinフォームの最善のアプローチは何ですか?

答えて

0

Apple Push Notificationサービスまたは(APNS)

おかげでiOSデバイスにプッシュ通知を送信することができます唯一のものです。これが私たちが適切な証明書をアプリに提供する理由です。

FCMまたはWNSについても同様です。しかし、Amazon Simple Notification Service(AWS SNS)のようなサービスは、3つのプロバイダすべてを包括し、3つのプロバイダすべてからの通知を受け取るための簡単なAPIコールを1つ作成できます。

たとえば、私たちはAppleが私たちに代わってAPNSに通知を送信するようにSNSに許可するためにAppleから提供された証明書を提供します。プッシュ通知は、通常、デバイス/プラットフォーム固有です。 http://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/sns.html

これは、AWS SNSサービスのXamarin.Forms Githubのexampleです:

AWS SNS Xamarin SDKのドキュメントには良いのポインタを持っています。

関連する問題