Skip to content

Commit 8f89044

Browse files
committed
change .eslintrc and update
1 parent 1e491b6 commit 8f89044

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"env": {
44
"browser": true,
55
"node": true,
6-
"mocha": true
6+
"jest": true
77
},
88
"ecmaFeatures": {
99
"forOf": true,

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def enableProguardInReleaseBuilds = true
9090

9191
android {
9292
compileSdkVersion 23
93-
buildToolsVersion "23.0.1"
93+
buildToolsVersion "23.0.3"
9494
useLibrary 'org.apache.http.legacy'
9595

9696
defaultConfig {
@@ -166,7 +166,7 @@ andResGuard { // ./gradlew resguard
166166
"resources.arsc"
167167
]
168168
sevenzip {
169-
artifact = 'com.tencent.mm:SevenZip:1.1.9'
169+
artifact = 'com.tencent.mm:SevenZip:1.1.16'
170170
//在设置sevenzip时, 你只需设置artifact或path. 支持同时设置,总以path的值为优先
171171
//path = "/usr/local/bin/7za"
172172
}

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.2.2'
9-
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.1.9'
8+
classpath 'com.android.tools.build:gradle:2.2.3'
9+
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.1.16'
1010
// NOTE: Do not place your application dependencies here; they belong
1111
// in the individual module build.gradle files
1212
}
@@ -18,7 +18,7 @@ allprojects {
1818
jcenter()
1919
maven {
2020
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21-
url "$projectDir/../../node_modules/react-native/android"
21+
url "$rootDir/../node_modules/react-native/android"
2222
}
2323
}
2424
}

ios/reading/Info.plist

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
6-
<string>en</string>
6+
<string>zh_CN</string>
77
<key>CFBundleDisplayName</key>
88
<string></string>
99
<key>CFBundleExecutable</key>
@@ -46,16 +46,16 @@
4646
<true/>
4747
<key>NSAppTransportSecurity</key>
4848
<dict>
49-
<key>NSExceptionDomains</key>
50-
<dict>
51-
<key>localhost</key>
52-
<dict>
53-
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
54-
<true/>
55-
</dict>
56-
</dict>
5749
<key>NSAllowsArbitraryLoads</key>
5850
<true/>
51+
<key>NSExceptionDomains</key>
52+
<dict>
53+
<key>localhost</key>
54+
<dict>
55+
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
56+
<true/>
57+
</dict>
58+
</dict>
5959
</dict>
6060
<key>NSLocationWhenInUseUsageDescription</key>
6161
<string></string>

0 commit comments

Comments
 (0)