Skip to content

Commit 6a1432b

Browse files
authored
Merge pull request #2227 from dpalou/MOBILE-3213
MOBILE-3213 config: Make gps location optional in Android
2 parents 54c6d35 + e79c0c6 commit 6a1432b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@
181181
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application">
182182
<application android:usesCleartextTraffic="true" />
183183
</edit-config>
184+
<edit-config file="AndroidManifest.xml" mode="overwrite" target="/manifest/uses-feature[@android:name='android.hardware.location.gps']">
185+
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
186+
</edit-config>
184187
<config-file parent="/manifest/application" target="AndroidManifest.xml">
185188
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
186189
</config-file>

0 commit comments

Comments
 (0)