Sentry-react-native: build fails with react-native v0.54.0

Created on 14 Feb 2018  路  4Comments  路  Source: getsentry/sentry-react-native

OS:

  • [ ] Windows
  • [x] MacOS
  • [ ] Linux

_Platform:_

  • [ ] iOS
  • [x] Android

Output of node -v && npm -v && npm ls --prod --depth=0

v9.5.0
5.6.0
[email protected]
[email protected]
[email protected]

react-native-sentry won't build for Android with react-native v0.54.0

/Users/sonny/native/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:252: error: incompatible types: ReadableArray cannot be converted to ReadableNativeArray
            addExceptionInterface(eventBuilder, exception.getString("type"), exception.getString("value"), stacktrace.getArray("frames"));
                                                                                                                              ^
Note: /Users/sonny/native/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java uses or overrides a deprecated API.

builds correctly on iOS

Most helpful comment

@gre Oh, something went wrong there 馃
Now it's there

All 4 comments

+1

Version 0.34.1 is on the way!

@HazAT can you publish it on NPM?

@gre Oh, something went wrong there 馃
Now it's there

Was this page helpful?
0 / 5 - 0 ratings