Geolocation is not working, catching an empty error


We have an app using geoloc. It used to work. Then we realisez that it was not working anymore. We thought we could find the git commit where it stopped working. But It seems like it never worked (it did work actually).

i tried this :

.then(i => console.log('geoPOPOS acquisition sucess')) 
.catch(err => { console.error("geoPOPOS err geolocation acquier"); console.error(err) })

It is always an error, and this error is empty !!

How can I debug that?

It may come from new plugin we added, but how can we be sure ?
I can share my config.xml if useful.