-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
57 changed files
with
592 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,11 @@ | |
import java.lang.ref.WeakReference; | ||
/** | ||
* SplashScreen | ||
* 出自:http://www.cboy.me | ||
* 启动屏 | ||
* from:http://www.devio.org | ||
* Author:CrazyCodeBoy | ||
* GitHub:https://github.com/crazycodeboy | ||
* Eamil:[email protected] | ||
* Email:[email protected] | ||
*/ | ||
public class SplashScreen { | ||
private static Dialog mSplashDialog; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,12 @@ | |
import com.facebook.react.bridge.ReactMethod; | ||
|
||
/** | ||
* SplashScreenModule | ||
* 出自:http://www.cboy.me | ||
* SplashScreen | ||
* 启动屏 | ||
* from:http://www.devio.org | ||
* Author:CrazyCodeBoy | ||
* GitHub:https://github.com/crazycodeboy | ||
* Eamil:[email protected] | ||
* Email:[email protected] | ||
*/ | ||
public class SplashScreenModule extends ReactContextBaseJavaModule{ | ||
public SplashScreenModule(ReactApplicationContext reactContext) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,12 @@ | |
import java.util.List; | ||
|
||
/** | ||
* SplashScreenReactPackage | ||
* 出自:http://www.cboy.me | ||
* SplashScreen | ||
* 启动屏 | ||
* from:http://www.devio.org | ||
* Author:CrazyCodeBoy | ||
* GitHub:https://github.com/crazycodeboy | ||
* Eamil:[email protected] | ||
* Email:[email protected] | ||
*/ | ||
public class SplashScreenReactPackage implements ReactPackage { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["react-native"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.pbxproj -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import 'react-native'; | ||
import React from 'react'; | ||
import Index from '../index.android.js'; | ||
|
||
// Note: test renderer must be required after react-native. | ||
import renderer from 'react-test-renderer'; | ||
|
||
it('renders correctly', () => { | ||
const tree = renderer.create( | ||
<Index /> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import 'react-native'; | ||
import React from 'react'; | ||
import Index from '../index.ios.js'; | ||
|
||
// Note: test renderer must be required after react-native. | ||
import renderer from 'react-test-renderer'; | ||
|
||
it('renders correctly', () => { | ||
const tree = renderer.create( | ||
<Index /> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,14 @@ | |
|
||
import com.cboy.rn.splashscreen.SplashScreen; | ||
import com.facebook.react.ReactActivity; | ||
|
||
/** | ||
* SplashScreen | ||
* 启动屏 | ||
* from:http://www.devio.org | ||
* Author:CrazyCodeBoy | ||
* GitHub:https://github.com/crazycodeboy | ||
* Email:[email protected] | ||
*/ | ||
public class MainActivity extends ReactActivity { | ||
|
||
/** | ||
|
@@ -22,4 +29,3 @@ protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | ||
} | ||
} | ||
|
Oops, something went wrong.