wip
This commit is contained in:
parent
6426d48d57
commit
a91a50cc49
|
@ -30,6 +30,10 @@ public class RealmReactAndroid extends ReactContextBaseJavaModule {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
|
Exception exception = new Exception();
|
||||||
|
exception.fillInStackTrace();
|
||||||
|
exception.printStackTrace();
|
||||||
|
|
||||||
Log.w("RealmReactAndroid", injectRealmJsContext(filesDirPath));
|
Log.w("RealmReactAndroid", injectRealmJsContext(filesDirPath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,6 +48,10 @@ public class RealmReactAndroid extends ReactContextBaseJavaModule {
|
||||||
constants.put(DURATION_SHORT_KEY, Toast.LENGTH_SHORT);
|
constants.put(DURATION_SHORT_KEY, Toast.LENGTH_SHORT);
|
||||||
constants.put(DURATION_LONG_KEY, Toast.LENGTH_LONG);
|
constants.put(DURATION_LONG_KEY, Toast.LENGTH_LONG);
|
||||||
|
|
||||||
|
Exception exception = new Exception();
|
||||||
|
exception.fillInStackTrace();
|
||||||
|
exception.printStackTrace();
|
||||||
|
|
||||||
Log.w("RealmReactAndroid", injectRealmJsContext(filesDirPath));
|
Log.w("RealmReactAndroid", injectRealmJsContext(filesDirPath));
|
||||||
|
|
||||||
return constants;
|
return constants;
|
||||||
|
@ -52,6 +60,10 @@ public class RealmReactAndroid extends ReactContextBaseJavaModule {
|
||||||
@ReactMethod
|
@ReactMethod
|
||||||
public void resultOfJsContextInjection(Callback successCallback) {
|
public void resultOfJsContextInjection(Callback successCallback) {
|
||||||
// Inject our JS Context
|
// Inject our JS Context
|
||||||
|
Exception exception = new Exception();
|
||||||
|
exception.fillInStackTrace();
|
||||||
|
exception.printStackTrace();
|
||||||
|
|
||||||
successCallback.invoke(injectRealmJsContext(filesDirPath));
|
successCallback.invoke(injectRealmJsContext(filesDirPath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue