From fb819f15eb53d509192723e209785b7fd97ab2ff Mon Sep 17 00:00:00 2001 From: Cedric Guillemet Date: Thu, 21 Sep 2023 11:57:57 +0200 Subject: [PATCH] remove permissions for TS package --- Modules/@babylonjs/react-native/package.json | 3 +-- Package/gulpfile.js | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/@babylonjs/react-native/package.json b/Modules/@babylonjs/react-native/package.json index c5ac38f0f..f0dd062fa 100644 --- a/Modules/@babylonjs/react-native/package.json +++ b/Modules/@babylonjs/react-native/package.json @@ -30,8 +30,7 @@ "peerDependencies": { "@babylonjs/core": "^6.14.0", "react": ">=16.13.1", - "react-native": ">=0.63.1", - "react-native-permissions": "^3.0.0" + "react-native": ">=0.63.1" }, "devDependencies": { "@babel/core": "^7.8.4", diff --git a/Package/gulpfile.js b/Package/gulpfile.js index 334d450c2..ccf0a3c44 100644 --- a/Package/gulpfile.js +++ b/Package/gulpfile.js @@ -654,7 +654,6 @@ const patchPackageVersion = async () => { packageJsonWindows["name"] = "@babylonjs/react-native-basekit-windows" + packageNamePostfix; delete packageJsoniOSAndroid['peerDependencies']['react-native-permissions']; delete packageJsonWindows['peerDependencies']['react-native-permissions']; - delete packageJson['peerDependencies']['react-native-permissions']; } else { packageJsoniOSAndroid["name"] = "@babylonjs/react-native-iosandroid" + packageNamePostfix; packageJsonWindows["name"] = "@babylonjs/react-native-windows" + packageNamePostfix;