zerorate-react-native-voip-sdk 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/app.plugin.js +19 -0
  2. package/package.json +3 -6
package/app.plugin.js ADDED
@@ -0,0 +1,19 @@
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ /* eslint-env node */
3
+ const { withPlugins } = require("@expo/config-plugins");
4
+
5
+ const withLiveKit = (config) => {
6
+ return withPlugins(config, [
7
+ // LiveKit Expo Plugin (handles Android/iOS permissions and native setup)
8
+ ["@livekit/react-native-expo-plugin"],
9
+ // Permissions Plugin (ensures permission handlers are present)
10
+ [
11
+ "react-native-permissions",
12
+ {
13
+ iosPermissions: ["Camera", "Microphone", "BluetoothPeripheral"],
14
+ },
15
+ ],
16
+ ]);
17
+ };
18
+
19
+ module.exports = withLiveKit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zerorate-react-native-voip-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "ZeroRate VoIP SDK for React Native",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -12,6 +12,7 @@
12
12
  "android",
13
13
  "ios",
14
14
  "cpp",
15
+ "app.plugin.js",
15
16
  "*.podspec",
16
17
  "!lib/typescript/example",
17
18
  "!android/build",
@@ -97,9 +98,5 @@
97
98
  }
98
99
  ]
99
100
  ]
100
- },
101
- "eslintIgnore": [
102
- "node_modules/",
103
- "lib/"
104
- ]
101
+ }
105
102
  }