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;