icapps / flutter-background-location-tracker

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

Fix: Cannot Access 'lifecycle' error #78

Open Jeferson505 opened 1 month ago

Jeferson505 commented 1 month 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.