Skip to content

Commit

Permalink
update to 0.57.8
Browse files Browse the repository at this point in the history
release 2.1
  • Loading branch information
CarGuoSmall committed Jan 17, 2019
1 parent 204e339 commit 213e6af
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ android {
applicationId "com.gsygithubapp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 13
versionName "2.0"
versionCode 14
versionName "2.1"
ndk {
abiFilters "armeabi-v7a", "x86"
}
Expand Down
6 changes: 5 additions & 1 deletion ios/GSYGithubAPP/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
{
NSURL *jsCodeLocation;

jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
#ifdef DEBUG
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
#else
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif

RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"GSYGithubAPP"
Expand Down
4 changes: 2 additions & 2 deletions ios/GSYGithubAPP/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.0</string>
<string>2.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>13</string>
<string>14</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"lottie-react-native": "^2.5.0",
"marked": "^0.3.6",
"moment": "^2.19.1",
"react": "^16.6.1",
"react-native": "0.57.5",
"react": "^16.6.3",
"react-native": "^0.57.8",
"react-native-autolink": "^1.4.0",
"react-native-gesture-handler": "^1.0.0-alpha.33",
"react-native-htmlview": "^0.13.0",
Expand Down Expand Up @@ -46,7 +46,7 @@
"babel-preset-react-native": "4.0.0",
"jest": "21.2.1",
"metro-react-native-babel-preset": "^0.45.6",
"react-test-renderer": "^16.6.1"
"react-test-renderer": "^16.6.3"
},
"jest": {
"preset": "react-native"
Expand Down

0 comments on commit 213e6af

Please sign in to comment.