@apirtc/expo-apirtc-options-plugin 0.0.2 → 0.0.3
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.
- package/README.md +3 -3
- package/build/withIosRPKFiles.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ This plugin simplify the integration of following features :
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @
|
|
10
|
+
npm install @apirtc/expo-apirtc-options-plugin
|
|
11
11
|
|
|
12
12
|
```
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ You need to declare the plugin in app.json file of your application :
|
|
|
19
19
|
module.exports = {
|
|
20
20
|
...
|
|
21
21
|
plugins: [
|
|
22
|
-
['@
|
|
22
|
+
['@apirtc/expo-apirtc-options-plugin', {
|
|
23
23
|
enableMediaProjectionService: false,
|
|
24
24
|
appleTeamId: "YOUR_TEAM_ID"
|
|
25
25
|
}]
|
|
@@ -40,7 +40,7 @@ Example :
|
|
|
40
40
|
module.exports = {
|
|
41
41
|
...
|
|
42
42
|
plugins: [
|
|
43
|
-
['@
|
|
43
|
+
['@apirtc/expo-apirtc-options-plugin', {
|
|
44
44
|
enableMediaProjectionService: false,
|
|
45
45
|
appleTeamId: "YOUR_TEAM_ID"
|
|
46
46
|
}]
|
package/build/withIosRPKFiles.js
CHANGED
|
@@ -46,7 +46,7 @@ const BRIDGING_FILES = [
|
|
|
46
46
|
];
|
|
47
47
|
const BRIDGING_HEADER = 'reactNativeApiRTCExpo-Bridging-Header.h';
|
|
48
48
|
function copyNativeFiles(projectRoot, iosProjectName) {
|
|
49
|
-
const nativeSrcPath = path.join(projectRoot, 'node_modules/@
|
|
49
|
+
const nativeSrcPath = path.join(projectRoot, 'node_modules/@apirtc/expo-apirtc-options-plugin/build/static');
|
|
50
50
|
//const nativeSrcPath = path.join('static');
|
|
51
51
|
const iosPath = path.join(projectRoot, 'ios', iosProjectName);
|
|
52
52
|
for (const file of NATIVE_FILES) {
|
|
@@ -61,7 +61,7 @@ function copyNativeFiles(projectRoot, iosProjectName) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
function copyBridgingFiles(projectRoot, iosProjectName) {
|
|
64
|
-
const nativeSrcPath = path.join(projectRoot, 'node_modules/@
|
|
64
|
+
const nativeSrcPath = path.join(projectRoot, 'node_modules/@apirtc/expo-apirtc-options-plugin-test/build/static');
|
|
65
65
|
const iosPath = path.join(projectRoot, 'ios', iosProjectName);
|
|
66
66
|
for (const file of BRIDGING_FILES) {
|
|
67
67
|
const src = path.join(nativeSrcPath, file);
|