icapps / flutter-background-location-tracker

Flutter background location tracker plugin. (Android / iOS)
MIT License
31 stars 37 forks source link

Fix: Cannot Access 'lifecycle' error #78

Closed Jeferson505 closed 3 days ago

Jeferson505 commented 2 months ago

What is the bug?

This PR is to fix the #77 issue.

How can we reproduce it?

Upgrade Flutter for the last version available and try to run a project with this plugin as a dependency. An error message will be displayed as described by @majmalmdt on #77 issue.

Severity

Erroneous: Prevents normal functioning and causes errors in the console.