Skip to content

Commit 45280d6

Browse files
committed
Add right RNSentryPackage call in example project
1 parent 32e7493 commit 45280d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/ReactNativeExample/android/app/src/main/java/com/reactnativeexample/MainApplication.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ public boolean getUseDeveloperSupport() {
2424

2525
@Override
2626
protected List<ReactPackage> getPackages() {
27-
RNSentryPackage.useDeveloperSupport = this.getUseDeveloperSupport();
2827
return Arrays.<ReactPackage>asList(
2928
new MainReactPackage(),
30-
new RNSentryPackage()
29+
new RNSentryPackage(MainApplication.this)
3130
);
3231
}
3332
};

0 commit comments

Comments
 (0)