Using trapeze to set permissions in Android build directory's manifest.
This commit is contained in:
1 parent
375d173d6d
commit
f20e082697
5 files changed
+3582
-63
No files matched your search
Generated
+3563
-61
File diff suppressed because it is too large.
Load diff
@@ -16,6 +16,7 @@
|
|||||||
"@testing-library/jest-dom": "^5.11.9",
|
"@testing-library/jest-dom": "^5.11.9",
|
||||||
"@testing-library/react": "^11.2.5",
|
"@testing-library/react": "^11.2.5",
|
||||||
"@testing-library/user-event": "^12.6.3",
|
"@testing-library/user-event": "^12.6.3",
|
||||||
|
"@trapezedev/configure": "^5.0.1",
|
||||||
"@types/jest": "^26.0.20",
|
"@types/jest": "^26.0.20",
|
||||||
"@types/node": "^12.19.15",
|
"@types/node": "^12.19.15",
|
||||||
"@types/react": "^18.0.18",
|
"@types/react": "^18.0.18",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"short_name": "Ionic App",
|
"short_name": "Dyomedea",
|
||||||
"name": "My Ionic App",
|
"name": "Dyomedea",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "assets/icon/favicon.png",
|
"src": "assets/icon/favicon.png",
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
platforms:
|
||||||
|
android:
|
||||||
|
manifest:
|
||||||
|
- file: AndroidManifest.xml
|
||||||
|
target: manifest
|
||||||
|
delete: //uses-permission
|
||||||
|
- file: AndroidManifest.xml
|
||||||
|
target: manifest
|
||||||
|
inject: |
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
|
||||||
Reference in new issue
Block a user