Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3728f01

Browse files
Fix Application Context
1 parent 0e3a86c commit 3728f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
2626

2727
public RNInstabugReactnativeModule(ReactApplicationContext reactContext) {
2828
super(reactContext);
29-
this.mApplication = getApplicationContext();
29+
this.mApplication = reactContext.getApplicationContext();
3030
}
3131

3232
@Override

0 commit comments

Comments
 (0)