Ferran Gonzalez Alonso

Results 37 comments of Ferran Gonzalez Alonso

@lyseiha i'm working in that now, i think if you create a headlessTask executed each minute for example, and in react native side you register headlesstask for tun Geolocation.getCurrentPosition works....

Works, but getCurrentPosition return the same value always

in options, with maximumAge: 0 works fine, some data duplicated but works fine...

Sure! index.js react-native ``` async function test1(data) { console.log('Test1 executed!') const token = data.token; const options = { maximumAge: 0, enableHighAccuracy: true, showLocationDialog: true, forceRequestLocation: true, }; Geolocation.getCurrentPosition((position) => {...

> @felansu Thanks for your support Please, test and tell me if works with you 🕺

@lyseiha Guys, my final solution has been create a ListenableWorker (that can be executed each >= 15 minutes). In my ReactContextBaseJavaModule i have: ``` import androidx.work.Data; import androidx.work.PeriodicWorkRequest; import androidx.work.WorkManager;...

with workers the minimum time for re-run is 15 minutes