Impementation for packager config

This commit is contained in:
Mustafa Buyukcelebi 2019-02-07 23:47:31 +03:00
parent 27540a996c
commit 0febc54fe5
4 changed files with 42 additions and 15 deletions

View File

@ -74,7 +74,9 @@ import com.android.build.OutputFile
*/ */
project.ext.react = [ project.ext.react = [
entryFile: "index.js" bundleCommand: "ram-bundle",
bundleConfig: "config.js",
entryFile: "index.js"
] ]
apply from: "../../node_modules/react-native/react.gradle" apply from: "../../node_modules/react-native/react.gradle"

View File

@ -4,6 +4,16 @@
<dict> <dict>
<key>SchemeUserState</key> <key>SchemeUserState</key>
<dict> <dict>
<key>Base64.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>67</integer>
</dict>
<key>CodePush.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>68</integer>
</dict>
<key>DoubleConversion.xcscheme</key> <key>DoubleConversion.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
@ -14,87 +24,102 @@
<key>FLAnimatedImage.xcscheme_^#shared#^_</key> <key>FLAnimatedImage.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>67</integer> <integer>69</integer>
</dict> </dict>
<key>Folly.xcscheme</key> <key>Folly.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>4</integer> <integer>5</integer>
</dict>
<key>JWT.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>70</integer>
</dict> </dict>
<key>Pods-eSteem-tvOS.xcscheme</key> <key>Pods-eSteem-tvOS.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>7</integer> <integer>11</integer>
</dict> </dict>
<key>Pods-eSteem-tvOSTests.xcscheme</key> <key>Pods-eSteem-tvOSTests.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>8</integer> <integer>12</integer>
</dict> </dict>
<key>Pods-eSteem.xcscheme</key> <key>Pods-eSteem.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>6</integer> <integer>9</integer>
</dict> </dict>
<key>Pods-eSteemTests.xcscheme</key> <key>Pods-eSteemTests.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>9</integer> <integer>13</integer>
</dict> </dict>
<key>QBImagePickerController-QBImagePicker.xcscheme</key> <key>QBImagePickerController-QBImagePicker.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>11</integer> <integer>15</integer>
</dict> </dict>
<key>QBImagePickerController.xcscheme</key> <key>QBImagePickerController.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>10</integer> <integer>14</integer>
</dict> </dict>
<key>RNImageCropPicker.xcscheme</key> <key>RNImageCropPicker.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>12</integer> <integer>16</integer>
</dict> </dict>
<key>RSKImageCropper.xcscheme</key> <key>RSKImageCropper.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>13</integer> <integer>17</integer>
</dict> </dict>
<key>SDWebImage.xcscheme_^#shared#^_</key> <key>SDWebImage.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>69</integer> <integer>73</integer>
</dict>
<key>SSZipArchive.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>74</integer>
</dict> </dict>
<key>glog.xcscheme</key> <key>glog.xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>5</integer> <integer>7</integer>
</dict> </dict>
<key>react-native-fast-image.xcscheme_^#shared#^_</key> <key>react-native-fast-image.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>68</integer> <integer>71</integer>
</dict>
<key>react-native-version-number.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>72</integer>
</dict> </dict>
</dict> </dict>
<key>SuppressBuildableAutocreation</key> <key>SuppressBuildableAutocreation</key>

View File

@ -1707,7 +1707,7 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; shellScript = "export BUNDLE_COMMAND=\"ram-bundle\"\nexport BUNDLE_CONFIG=\"config.js\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
}; };
113EEBCD594A2DC02B68990D /* [CP] Check Pods Manifest.lock */ = { 113EEBCD594A2DC02B68990D /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;