0
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のFirebase Cloud Messaging及びflutter_local_notifications利用時にAndroidで'int java.lang.Integer.intValue()'エラーになる時の対処

0
Last updated at Posted at 2022-02-20

環境

Flutter 2.10.2
firebase_messaging 11.2.6
flutter_local_notifications 9.3.2

結論

どうやらアイコン関係でエラーになっているようで、

ここに書いてある内容で解消できました。
自分は一旦通知にアイコンはいらなかったので2つ目のアンサーの方で対処しました。

var initializationSettingsAndroid =
    new AndroidInitializationSettings('@mipmap/ic_launcher');

余談

最初から↑の投稿にたどり着ければ早いですが、そこそこ時間かかったので最初にググったワードで記事作りました...

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