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

fix: changeNotificationOptions(onTapBringToFront: true) do not work #779

Closed
1712916 opened this issue Nov 10, 2022 · 1 comment · Fixed by #877
Closed

fix: changeNotificationOptions(onTapBringToFront: true) do not work #779

1712916 opened this issue Nov 10, 2022 · 1 comment · Fixed by #877
Labels

Comments

@1712916
Copy link

1712916 commented Nov 10, 2022

Hello
When I get locations in foreground, when I set changeNotificationOptions(onTapBringToFront: true) it do not work when I tap to notifcation.

In Android 12: this have an error when setting: E/flutter (27232): Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles., null, null)
E/flutter (27232): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)
E/flutter (27232): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18)
E/flutter (27232):
E/flutter (27232): #2 MethodChannelLocation.changeNotificationOptions (package:location_platform_interface/src/method_channel_location.dart:215:9)
E/flutter (27232):
E/flutter (27232):

And do not work.

Other it just do not work.

Please help me to fix this issue.

Thank you <3

@bartekpacia
Copy link
Collaborator

Should be fixed in #877.

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

Successfully merging a pull request may close this issue.

2 participants