Skip to content

Commit 8e4c7af

Browse files
committed
removed the permission for androind in app.json exampel app and added the plugin
1 parent 4f9f68c commit 8e4c7af

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
- name: Update version
6363
id: update_version
64-
run: echo "VERSION=$(npm version ${{ github.event.inputs.release_type }} -m \"%s ${{ github.event.inputs.description }}\")" >> $GITHUB_ENV
64+
run: echo "VERSION=$(npm version ${{ github.event.inputs.release_type }} -m '%s ${{ github.event.inputs.description }}')" >> $GITHUB_ENV
6565

6666
- name: Install dependencies
6767
run: npm install

example/app.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"resizeMode": "contain",
1212
"backgroundColor": "#ffffff"
1313
},
14+
"plugins": [
15+
"react-native-motion-activity-tracker"
16+
],
1417
"ios": {
1518
"supportsTablet": true,
1619
"bundleIdentifier": "expo.modules.motionactivitytracker.example"
@@ -21,7 +24,6 @@
2124
"backgroundColor": "#ffffff"
2225
},
2326
"package": "expo.modules.motionactivitytracker.example",
24-
"permissions": ["android.permission.ACTIVITY_RECOGNITION"]
2527
},
2628
"web": {
2729
"favicon": "./assets/favicon.png"

0 commit comments

Comments
 (0)