Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_push
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
顾海波
2025-01-22 16:52:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1c938b14e51e0d7f966c37336acf047342ed1233
1c938b14
1 parent
8f05ddbd
【修复】app关闭后收到消息启动
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
android/src/main/kotlin/com/ewin/flutter_push/EwinMixPushReceiver.kt
android/src/main/kotlin/com/ewin/flutter_push/EwinMixPushReceiver.kt
View file @
1c938b1
...
...
@@ -32,6 +32,9 @@ class EwinMixPushReceiver : MixPushReceiver() {
}
override fun onNotificationMessageClicked(context: Context, message: MixPushMessage) {
if(FlutterPushPlugin.channel==null){
context.startActivity(context.packageManager.getLaunchIntentForPackage(context.packageName))
}
this.invokeListener(MixListenerTypeEnum.NotificationMessageClicked, message)
// var intent: Intent? = null
...
...
Please
register
or
login
to post a comment