From 8e4c7afc58dbe88458e9f3f5f3e239543e89fd53 Mon Sep 17 00:00:00 2001 From: revan Date: Fri, 22 Nov 2024 13:40:21 +0100 Subject: [PATCH] removed the permission for androind in app.json exampel app and added the plugin --- .github/workflows/npm-publish.yml | 2 +- example/app.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 5395130..0bcd466 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -61,7 +61,7 @@ jobs: - name: Update version id: update_version - run: echo "VERSION=$(npm version ${{ github.event.inputs.release_type }} -m \"%s ${{ github.event.inputs.description }}\")" >> $GITHUB_ENV + run: echo "VERSION=$(npm version ${{ github.event.inputs.release_type }} -m '%s ${{ github.event.inputs.description }}')" >> $GITHUB_ENV - name: Install dependencies run: npm install diff --git a/example/app.json b/example/app.json index feb63ea..dd9133c 100644 --- a/example/app.json +++ b/example/app.json @@ -11,6 +11,9 @@ "resizeMode": "contain", "backgroundColor": "#ffffff" }, + "plugins": [ + "react-native-motion-activity-tracker" + ], "ios": { "supportsTablet": true, "bundleIdentifier": "expo.modules.motionactivitytracker.example" @@ -21,7 +24,6 @@ "backgroundColor": "#ffffff" }, "package": "expo.modules.motionactivitytracker.example", - "permissions": ["android.permission.ACTIVITY_RECOGNITION"] }, "web": { "favicon": "./assets/favicon.png"