initialize in the right placE

This commit is contained in:
Ari Lazier 2016-01-11 19:20:33 -08:00
parent b246f017e9
commit 2c8696ea57
2 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,9 @@ public class RealmReactAndroid extends ReactContextBaseJavaModule {
}
@Override
public void initialize() {
public Map<String, Object> getConstants() {
Log.w("RealmReactAndroid", injectRealmJsContext(filesDirPath));
return new HashMap<>();
}
@Override

View File

@ -18,7 +18,6 @@ var Realm = require('realm');
var RealmTests = require('realm-tests');
function runTests() {
RealmTests.ObjectTests.testNullableBasicTypesPropertySetters();
let testNames = RealmTests.getTestNames();
for (let suiteName in testNames) {