Skip to content

Commit

Permalink
publish v1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycodeboy committed Sep 19, 2016
1 parent a61ef21 commit a59c56a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion android/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
gradle/
gradlew
gradlew.bat
local.properties
local.properties
proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class SplashScreen {
/**
* 打开启动屏
*/
public static void show(final Activity activity,boolean fullScreen) {
public static void show(final Activity activity,final boolean fullScreen) {
if (activity == null) return;
mActivity = new WeakReference<Activity>(activity);
activity.runOnUiThread(new Runnable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected String getMainComponentName() {

@Override
protected void onCreate(Bundle savedInstanceState) {
SplashScreen.show(this);
SplashScreen.show(this,true);
super.onCreate(savedInstanceState);
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
classpath 'com.android.tools.build:gradle:2.1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
3 changes: 2 additions & 1 deletion examples/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Mon Sep 19 13:54:35 CST 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
2 changes: 1 addition & 1 deletion examples/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ rootProject.name = 'examples'

include ':app'
include ':react-native-splash-screen'
project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android')
project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../../android')
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-splash-screen",
"version": "1.0.8",
"version": "1.0.9",
"description": "A splash screen for react-native, hide when application loaded ,it works on iOS and Android.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a59c56a

Please sign in to comment.