From 3728f018dd056af87b3d12a5b29ffb76128eb73f Mon Sep 17 00:00:00 2001 From: DevHossamHassan Date: Tue, 18 Oct 2016 13:23:16 +0200 Subject: [PATCH] Fix Application Context --- .../com/instabug/reactlibrary/RNInstabugReactnativeModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java index 310b704..4815a06 100644 --- a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java +++ b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java @@ -26,7 +26,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule { public RNInstabugReactnativeModule(ReactApplicationContext reactContext) { super(reactContext); - this.mApplication = getApplicationContext(); + this.mApplication = reactContext.getApplicationContext(); } @Override