You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In both the emulator and on devices running older versions of Android (tested with 8.0 and 6.0), our application crashes when importing from buffer (5.4.2), which is a dependency of rollbar-react-native (version 0.5.0).
And just before that, the following warning is logged by buffer:
"This browser lacks typed array (Uint8Array) support which is required by buffer v5.x. Use buffer v4.x if you require old browser support."
I think we've fixed this problem by requiring buffer ^4.9.1 instead, though I'm not yet sure what repercussions that might have. We added this to package.json:
Any idea whether buffer v4 is sufficient for basic rollbar logging and exception catching?
Relevant log lines:
09-09 14:58:33.897 27501 27558 E ReactNativeJS: This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.
09-09 14:58:33.901 27501 27558 E ReactNativeJS: undefined is not a function (evaluating 'Object.setPrototypeOf(s.prototype,Uint8Array.prototype)')
The text was updated successfully, but these errors were encountered:
In both the emulator and on devices running older versions of Android (tested with 8.0 and 6.0), our application crashes when importing from
buffer
(5.4.2), which is a dependency ofrollbar-react-native
(version 0.5.0).The crash comes at this line:
https://github.com/feross/buffer/blob/v5.4.2/index.js#L186
And just before that, the following warning is logged by
buffer
:I think we've fixed this problem by requiring buffer
^4.9.1
instead, though I'm not yet sure what repercussions that might have. We added this topackage.json
:Possibly related: facebook/react-native#1424
Any idea whether buffer v4 is sufficient for basic rollbar logging and exception catching?
Relevant log lines:
The text was updated successfully, but these errors were encountered: