react-native-mapp-plugin 1.0.4-beta10 → 1.0.4-beta11

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.
@@ -2,6 +2,7 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="8b4f258a-c093-494f-afe5-5f5a25c90893" name="Default Changelist" comment="new version">
5
+ <change beforePath="$PROJECT_DIR$/iospatch.sh" beforeDir="false" afterPath="$PROJECT_DIR$/iospatch.sh" afterDir="false" />
5
6
  <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
6
7
  </list>
7
8
  <option name="SHOW_DIALOG" value="false" />
@@ -30,6 +31,23 @@
30
31
  <property name="nodejs_package_manager_path" value="npm" />
31
32
  <property name="vue.rearranger.settings.migration" value="true" />
32
33
  </component>
34
+ <component name="RunManager">
35
+ <configuration name="postinstall" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
36
+ <package-json value="$PROJECT_DIR$/package.json" />
37
+ <command value="run" />
38
+ <scripts>
39
+ <script value="postinstall" />
40
+ </scripts>
41
+ <node-interpreter value="project" />
42
+ <envs />
43
+ <method v="2" />
44
+ </configuration>
45
+ <recent_temporary>
46
+ <list>
47
+ <item itemvalue="npm.postinstall" />
48
+ </list>
49
+ </recent_temporary>
50
+ </component>
33
51
  <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
34
52
  <component name="TaskManager">
35
53
  <task active="true" id="Default" summary="Default task">
@@ -44,7 +62,7 @@
44
62
  <workItem from="1632413120138" duration="665000" />
45
63
  <workItem from="1632874987690" duration="1182000" />
46
64
  <workItem from="1632917248275" duration="2037000" />
47
- <workItem from="1632991423561" duration="7319000" />
65
+ <workItem from="1632991423561" duration="8268000" />
48
66
  </task>
49
67
  <task id="LOCAL-00001" summary="new version">
50
68
  <created>1632917445507</created>
package/iospatch.sh CHANGED
@@ -1,7 +1,7 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
+ if [[ "$OSTYPE" == "darwin"* ]]; then
3
+ if [ -d ios/Frameworks ]; then
2
4
 
3
- if [ -d ios/Frameworks ]; then
4
-
5
5
  if [ ! -d iostemp ]; then
6
6
  mkdir -p iostemp;
7
7
  fi
@@ -11,3 +11,5 @@ if [ -d ios/Frameworks ]; then
11
11
  rm -rf iostemp
12
12
  echo "Finished pathching iOS"
13
13
  fi
14
+ fi
15
+
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "react-native-mapp-plugin",
3
- "version": "1.0.4beta10",
3
+ "version": "1.0.4beta11",
4
4
  "description": "Mapp SDK for React Native.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "postinstall": "node -e \"process.platform === 'darwin' && require('child_process').spawn('sh', ['./iospatch.sh'], { stdio: 'inherit'})\""
8
+ "postinstall": "./iospatch.sh"
9
9
  },
10
10
  "keywords": [
11
11
  "react-native",