How to make gps resolution extra?

My application has gps support. In the code, I check for GPS hardware. Unfortunately, in the market, people without gps cannot install my application. How to use ot GPS additionally so that users can install it even if the device does not have a GPS navigator?

+4
source share
2 answers

Add android:required="false" to your resolution in the manifest

eg.

 <uses-feature android:name="android.hardware.location.gps" android:required="false" /> 
+4
source

Using

 <uses-feature android:name="android.hardware.location.gps" android:required="false" /> 

in the manifest file.

+1
source

Source: https://habr.com/ru/post/1441143/


All Articles