0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

iOS:ローカルビルド版はリモート通知が有効がTestFlightにあげるとBadDeviceTokenエラーになる

Last updated at Posted at 2019-07-25

ローカルでビルドしたバージョンでは、いつもNotificationが問題なく送信される。
因みにDeveloper用ANPS証明書を利用して検証。

但し、TestFlightのあげてインストールすると、いつも以下のようにエラーになってしまう。

  status: '400',
    response: { reason: 'BadDeviceToken' } 

色々調べたが以下Linkの理由が原因だったので、メモして置く!
参照URL:
https://qiita.com/yoching/items/40b91d4f875972ed2d78

* TestFlight Beta Testingの内部テスト時に、PUSH通知を利用するには、Production用の証明書(Certificate)が必要です。

iOS、Androidアプリの制作なら、hq7781@gmail.comまで、
法人並みに、信頼且つ満足できる製品を納品いたします

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?