2
0

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 3 years have passed since last update.

FlutterでiOSエミュレーターにFCMでプッシュ通知ができない現象

2
Posted at

同じところで長時間ハマる人が一人でも減るように書いておきます。

Flutterで一通り機能の開発を終え、Androidエミュレーターでの動作確認を完了し、iOSエミュレーター上で動作確認を始めると通知がどうしても受信できない現象に遭遇。

一日半かけて以下の文章にたどり着きました。

FCM via APNs Integration

For iOS; you must have a physical iOS device to receive messages.
Firebase Cloud Messaging integrates with the Apple Push Notification service (APNs), however APNs only works with real devices.

プッシュ通知は実機でないと動きません!

このページも含めて何度となく見返していたのに、冒頭の注意書きを見落としていました。こんな重要なことは上のCaution欄の中に書いて欲しかった:cry:

(独り言:iOSの通知周り、証明書やらXCodeやら、やること多過ぎ!複雑過ぎ!:unamused:

2
0
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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?