Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用dev-3.x分支,当安卓端程序处于后台时,点击通知无法成功打开app #448

Open
zinc357 opened this issue Dec 7, 2023 · 2 comments

Comments

@zinc357
Copy link

zinc357 commented Dec 7, 2023

报错:startActivity called from non-Activity context;

@zinc357
Copy link
Author

zinc357 commented Dec 7, 2023

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) }

@lan2000
Copy link

lan2000 commented Aug 13, 2024

jpush_flutter: ^3.0.6

安卓手机(nova6),app在后台,点击通知栏消息,app无法返回前台。

我直接下载和运行jpush_flutter: ^3.0.6 的example
1.极光控制台发送的测试通知,点击通知栏消息,app无法返回前台。
2.点击“发本地推送”按钮发送的本地通知,点击通知栏消息,app无法返回前台。

5c10985f09f96261af5d74052db56cd

[!] 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)  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants