background_location icon indicating copy to clipboard operation
background_location copied to clipboard

Notification not working

Open kmvignesh opened this issue 3 years ago • 3 comments

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.

kmvignesh avatar Sep 03 '21 15:09 kmvignesh

On 0.6.1, did you set the android notification?

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

ambernardino avatar Sep 04 '21 12:09 ambernardino

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

kmvignesh avatar Sep 04 '21 16:09 kmvignesh

same notification not working for me too..

jesussmile avatar Nov 25 '21 07:11 jesussmile