Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,15 @@ public FullScreenModule(){

}

@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactApplicationContext) {
return Arrays.<NativeModule>asList(new FullScreen(reactApplicationContext));
}

@Override
public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList();
}

@Override
public List<ViewManager> createViewManagers(ReactApplicationContext reactApplicationContext) {
return Collections.emptyList();
}
}
}