diff --git a/README.md b/README.md index d171ffc..56b1536 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,15 @@ There is plenty of room for improvment by adding additional react bindings for props and callbacks. +##### Usage: + +``` + import FullScreen from 'react-native-full-screen'; + + FullScreen.onFullScreen(); + + FullScreen.onFullScreen(); +``` ##### Props: ToggleView diff --git a/android/build.gradle b/android/build.gradle index 8296875..8b1f2f0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,7 +21,7 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' - compile 'com.facebook.react:react-native:0.60.+' + compile 'com.facebook.react:react-native:+' } buildscript { diff --git a/android/src/main/java/com/rn/full/screen/FullScreenModule.java b/android/src/main/java/com/rn/full/screen/FullScreenModule.java index 13467e9..d9507eb 100644 --- a/android/src/main/java/com/rn/full/screen/FullScreenModule.java +++ b/android/src/main/java/com/rn/full/screen/FullScreenModule.java @@ -26,18 +26,15 @@ public FullScreenModule(){ } - @Override public List createNativeModules(ReactApplicationContext reactApplicationContext) { return Arrays.asList(new FullScreen(reactApplicationContext)); } - @Override public List> createJSModules() { return Collections.emptyList(); } - @Override public List createViewManagers(ReactApplicationContext reactApplicationContext) { return Collections.emptyList(); } -} \ No newline at end of file +}