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

Notification not working #114

Closed
kmvignesh opened this issue Sep 3, 2021 · 8 comments
Closed

Notification not working #114

kmvignesh opened this issue Sep 3, 2021 · 8 comments

Comments

@kmvignesh
Copy link

kmvignesh commented Sep 3, 2021

I have updated the project to null-safty. that time i updated the version to

background_location: ^0.6.1
permission_handler: ^8.1.4+2

Then i started testing the app and found background location tracking notification not showing. Then I downgraded the plugin version to

background_location: ^0.5.0
permission_handler: ^6.1.3

Now its working. So please check and fix the issue.

@ambernardino
Copy link
Contributor

On 0.6.1, did you set the android notification?

BackgroundLocation.setAndroidNotification(
title: "Notification title",
message: "Notification message",
icon: "@mipmap/ic_launcher",
);

@kmvignesh
Copy link
Author

yes I did. but I am using await keyword before that. I saw some where asked to change the icon. So I tried using other icon also. Still didn't work. Same code is working with 0.5.0

@jesussmile
Copy link

same notification not working for me too..

@MoralCode
Copy link
Collaborator

Is this still an issue?

@MoralCode
Copy link
Collaborator

may be related to #147

@Almoullim
Copy link
Owner

fixed in 52ef3db version 0.12.0

@MoralCode
Copy link
Collaborator

@Almoullim did you confirm that this was actually related to notification importance? it definitely seems plausible but idk if theres enough info in the original PR to know for sure

@Almoullim
Copy link
Owner

@MoralCode if not fixed in 0.12 then its a duplicate of #131, no point in keeping in open.

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

No branches or pull requests

5 participants