Open arochedy opened 3 years ago
On compenentDidmount I do
BackgroundGeolocation.getLocations((locations) => { console.log('allLocations', locations); alert(JSON.stringify(locations)); },(error) =>{ alert('error') } );
Get alllocations store by the plugin
I get an empty array :(
1. 2. 3. 4.
It's work on iOs but not an android (simulator and real device)
I've had this problem, too,How did you solve it?
Your Environment
Context
On compenentDidmount I do
Expected Behavior
Get alllocations store by the plugin
Actual Behavior
I get an empty array :(
Possible Fix
Steps to Reproduce
1. 2. 3. 4.
Context
It's work on iOs but not an android (simulator and real device)
Debug logs