Skip to content

Commit 7279735

Browse files
author
Ben Wixen
authored
Merge pull request paandahl#13 from kylegoetz/master
removed function that prevented RNF from working with React >= 0.47
2 parents 794d162 + 39b97cd commit 7279735

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

android/src/main/java/com/benwixen/rnfilesystem/RNFileSystemPackage.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
1515
return Collections.<NativeModule>singletonList(new RNFileSystem(reactContext));
1616
}
1717

18-
@Override
19-
public List<Class<? extends JavaScriptModule>> createJSModules() {
20-
return Collections.emptyList();
21-
}
22-
2318
@Override
2419
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
2520
return Collections.emptyList();
2621
}
27-
}
22+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-native-filesystem",
33
"description": "Simple file system API for iOS & Android.",
44
"author": "Ben Wixen <[email protected]>",
5-
"version": "0.1.0",
5+
"version": "0.2.0",
66
"main": "modules/FileSystem.js",
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1"
@@ -20,7 +20,7 @@
2020
],
2121
"peerDependencies": {
2222
"react": ">=15.3.1",
23-
"react-native": ">=0.34"
23+
"react-native": ">=0.47"
2424
},
2525
"license": "Apache-2.0",
2626
"rnpm": {

0 commit comments

Comments
 (0)