Fix Application Context

This commit is contained in:
DevHossamHassan 2016-10-18 13:23:16 +02:00
parent 0e3a86cdd3
commit 3728f018dd

View File

@ -26,7 +26,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
public RNInstabugReactnativeModule(ReactApplicationContext reactContext) { public RNInstabugReactnativeModule(ReactApplicationContext reactContext) {
super(reactContext); super(reactContext);
this.mApplication = getApplicationContext(); this.mApplication = reactContext.getApplicationContext();
} }
@Override @Override