Then i found that in android.settings.json the key "overwriteGps" was set to true.
I set it manually to false in the json file via the IDE and GPS works again!
I am pretty sure that i never turned this on in the Bangle.js android app but who actually knows...
So if the Bangle.js android app expects GPS coming from GadgetBridge but the setting in GP is turned off then the Bangle.js will never get any GPS.
I feel sorry for the time the hunt for this consumed.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I found a code block here:
https://github.com/espruino/BangleApps/blob/master/apps/widgps/widget.js#L12
After deinstalling the GPS widget the function definition is different:
But GPS still not working.
Then i found that in android.settings.json the key "overwriteGps" was set to true.
I set it manually to false in the json file via the IDE and GPS works again!
I am pretty sure that i never turned this on in the Bangle.js android app but who actually knows...
So if the Bangle.js android app expects GPS coming from GadgetBridge but the setting in GP is turned off then the Bangle.js will never get any GPS.
I feel sorry for the time the hunt for this consumed.
Thank you for your help, this seems to be solved!