Gps does not turn on automatically?

Hai my name is alan i built app for share live location to a particular number chose from contact when i open the app it ask permission i give permission but my mobile gps is not turn on automatically when i turn on manually it locate but it shows wrong

(Canned Reply ABG - Public Only)

I do not provide private support.
You will get more informed and quicker worldwide support by asking in a new public thread.

Making this thread public.

Unfortunately it is not possible to enable GPS programmatically

You most probably get 0,0 as Location?
Test outside to get a good GPS signal and wait a few seconds

Taifun

Additional to Taifun's posts

Have you read the information here> * Using the Location Sensor

also, show us an image of your Blocks to get specific advice.

To turn the gps hardware on instead of using the fused Provider, set Provider to gps using Blocks to see the gps icon .