Skip to content

Commit

Permalink
Merge branch 'master' of github.com:getsentry/sentry-react-native
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Aug 2, 2019
2 parents 5467c7a + 361dc22 commit cc98798
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion android/src/main/java/io/sentry/RNSentryModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.facebook.react.bridge.ReadableNativeMap;
import com.facebook.react.bridge.ReadableType;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.module.annotations.ReactModule;

import java.util.ArrayDeque;
import java.util.ArrayList;
Expand Down Expand Up @@ -45,8 +46,11 @@
import io.sentry.event.interfaces.StackTraceInterface;
import io.sentry.event.interfaces.UserInterface;

@ReactModule(name = RNSentryModule.NAME)
public class RNSentryModule extends ReactContextBaseJavaModule {

public static final String NAME = "RNSentry";

private static final Pattern mJsModuleIdPattern = Pattern.compile("(?:^|[/\\\\])(\\d+\\.js)$");

private static AndroidEventBuilderHelper androidHelper;
Expand All @@ -62,7 +66,7 @@ public RNSentryModule(ReactApplicationContext reactContext) {

@Override
public String getName() {
return "RNSentry";
return NAME;
}

@Override
Expand Down

0 comments on commit cc98798

Please sign in to comment.