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 17:04:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6a4b829de743ad5831e4af1c2adf348822dc08b7
6a4b829d
1 parent
1c938b14
【修复】app关闭后收到消息启动
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
android/src/main/kotlin/com/ewin/flutter_push/EwinMixPushReceiver.kt
android/src/main/kotlin/com/ewin/flutter_push/EwinMixPushReceiver.kt
View file @
6a4b829
...
...
@@ -32,7 +32,7 @@ class EwinMixPushReceiver : MixPushReceiver() {
}
override fun onNotificationMessageClicked(context: Context, message: MixPushMessage) {
if(
FlutterPushPlugin.channel==null
){
if(
!::FlutterPushPlugin.channel.isInitialized
){
context.startActivity(context.packageManager.getLaunchIntentForPackage(context.packageName))
}
this.invokeListener(MixListenerTypeEnum.NotificationMessageClicked, message)
...
...
Please
register
or
login
to post a comment