Open zinc357 opened 11 months ago
startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { act=cn.jpush.android.intent.NOTIFICATION_OPENED flg=0x800000 cmp=com.maintain.smartwater/cn.jpush.android.service.JNotifyActivity (has extras) }
jpush_flutter: ^3.0.6
安卓手机(nova6),app在后台,点击通知栏消息,app无法返回前台。
我直接下载和运行jpush_flutter: ^3.0.6 的example 1.极光控制台发送的测试通知,点击通知栏消息,app无法返回前台。 2.点击“发本地推送”按钮发送的本地通知,点击通知栏消息,app无法返回前台。
[!] Flutter (Channel stable, 3.22.3, on Microsoft Windows [版本 10.0.19042.630], locale zh-CN)
• Flutter version 3.22.3 on channel stable at D:\flutter\flutter
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision b0850beeb2 (4 weeks ago), 2024-07-16 21:43:41 -0700
• Engine revision 235db911ba
• Dart version 3.4.4
• DevTools version 2.34.3
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[√] Connected device (5 available)
• WLZ AL10 (mobile) • FMLDU19C13016286 • android-arm64 • Android 12 (API 31)
报错:startActivity called from non-Activity context;