@novartc/expo-config-plugin-incall-manager 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novartc/expo-config-plugin-incall-manager",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Expo config plugin to integrate react-native-incall-manager in managed and bare workflow apps.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,12 +26,12 @@
26
26
  "license": "MIT",
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "git+https://github.com/ahsanch11/expo-config-plugin-incall-manager.git"
29
+ "url": "git+https://github.com/novartc/expo-config-plugin-incall-manager.git"
30
30
  },
31
31
  "bugs": {
32
- "url": "https://github.com/ahsanch11/expo-config-plugin-incall-manager/issues"
32
+ "url": "https://github.com/novartc/expo-config-plugin-incall-manager/issues"
33
33
  },
34
- "homepage": "https://github.com/ahsanch11/expo-config-plugin-incall-manager#readme",
34
+ "homepage": "https://github.com/novartc/expo-config-plugin-incall-manager#readme",
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
@@ -38,7 +38,7 @@ function addIosPod(config) {
38
38
  if (!fs.existsSync(podfilePath)) return config;
39
39
 
40
40
  let podfileContent = fs.readFileSync(podfilePath, 'utf8');
41
- const podLine = `pod 'ReactNativeIncallManager', :path => './react-native-incall-manager'`;
41
+ const podLine = `pod 'ReactNativeIncallManager', :path => '../node_modules/@novartc/react-native-incall-manager'`;
42
42
 
43
43
  if (!podfileContent.includes(podLine)) {
44
44
  podfileContent = podfileContent.replace(
@@ -66,7 +66,7 @@ function addAndroidNativeLinking(config) {
66
66
  if (!settingsGradle.includes("react-native-incall-manager")) {
67
67
  settingsGradle += `
68
68
  include ':react-native-incall-manager'
69
- project(':react-native-incall-manager').projectDir = new File(rootProject.projectDir, './react-native-incall-manager/android')
69
+ project(':react-native-incall-manager').projectDir = new File(rootProject.projectDir, '../node_modules/@novartc/react-native-incall-manager/android')
70
70
  `;
71
71
  fs.writeFileSync(settingsGradlePath, settingsGradle);
72
72
  }