rekabhq / background_locator

A Flutter plugin for updating location in background.
MIT License
287 stars 321 forks source link

init Callback is not being called on the first run #314

Open allanguintu opened 2 years ago

allanguintu commented 2 years ago

Hi,

I know this issue is the same as #272 but it is still remain unresolved.

To reproduce, just download the code example and run the project. When you click the start button for the first time you will not see on the console the lines called with print(). However when you click the stopped button and click on the start button again, you will see on the consoles the lines called with print().

I really hope that this issue will be fixed. Tried downgrading from 1.6.12 to 1.6.6 but issue is the same. The init callback is not being called on the first run, hence the callback method could get the passed init params.

daviddagan commented 2 years ago

same experience in my app too