Skip to content

Commit ed7be6d

Browse files
committed
update some detail.
1 parent 54f053c commit ed7be6d

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ android {
9090
applicationId "com.reactnativecnblogs"
9191
minSdkVersion 16
9292
targetSdkVersion 22
93-
versionCode 3
94-
versionName "3.2.0"
93+
versionCode 4
94+
versionName "3.3.0"
9595
ndk {
9696
abiFilters "armeabi-v7a", "x86"
9797
}
@@ -114,14 +114,14 @@ android {
114114
}
115115
buildTypes {
116116
debug {
117-
buildConfigField "String", "CODEPUSH_KEY", "\"zJJlWsB1oQBGJm4hjSp4OmJKgBO_Nyj6RPzEb\""
117+
buildConfigField "String", "CODEPUSH_KEY", "\"hvaWShPBzYKBPmCTHhuti7c2BivzNyj6RPzEb\""
118118
applicationIdSuffix ".debug"
119119
}
120120
release {
121121
signingConfig signingConfigs.release
122122
minifyEnabled enableProguardInReleaseBuilds
123123
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
124-
buildConfigField "String", "CODEPUSH_KEY", "\"K_HgkeoOVrucfhBIJYG5mL1wVS6xNyj6RPzEb\""
124+
buildConfigField "String", "CODEPUSH_KEY", "\"Rmyzlv-ezw9bCaJyV-60CsN_LMxzNyj6RPzEb\""
125125
}
126126
}
127127
// applicationVariants are e.g. debug, release

ios/reactNativeCnblogs/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>CodePushDeploymentKey</key>
24-
<string>K_HgkeoOVrucfhBIJYG5mL1wVS6xNyj6RPzEb</string>
24+
<string>Rmyzlv-ezw9bCaJyV-60CsN_LMxzNyj6RPzEb</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
2727
<key>NSAppTransportSecurity</key>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactNativeCnblogs",
3-
"version": "3.2.0",
3+
"version": "3.3.0",
44
"author": {
55
"name": "togayther",
66
"email": "[email protected]"

source/component/router.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class Router {
4444
 }
4545

4646
exitApp(){
47+
this.timer && TimerMixin.clearTimeout(this.timer);
4748
BackAndroid.exitApp();
4849
}
4950

source/view/startup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class StartupPage extends Component {
9898
}
9999

100100
onCancelPress(){
101+
this.timer && TimerMixin.clearTimeout(this.timer);
101102
BackAndroid.exitApp();
102103
}
103104

@@ -114,7 +115,7 @@ class StartupPage extends Component {
114115
onPageContentShow(){
115116
this.timer = TimerMixin.setTimeout(() => {
116117
this.checkUserToken();
117-
}, 1000);
118+
}, 300);
118119
}
119120

120121
onModelBackdropShow(){

source/view/update.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ const navTitle = "更新历史";
1616
const updateRecodes = [{
1717
name: "V3.2.0",
1818
date: "2016/11/30",
19+
func: [
20+
"适当缩短启动页图标显示时间"
21+
],
1922
bug: [
20-
"修复排行类博文无法添加评论的问题"
23+
"修复排行类博文无法添加评论的问题",
24+
"修复退出应用立马再启动,页面卡屏的问题"
2125
]
2226
},{
2327
name: "V3.1.0",

0 commit comments

Comments
 (0)