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
I am using @bitgo/utxo-lib lib in my react-native application. And after testing on different devices I realized that it's failing specifically on iOS 14. With the following error on the console
ERROR TypeError: TypedArray.of requires its this argument to subclass a TypedArray constructor
Environment Details
OS: macOS
Node Version: v16.13.1
Yarn Version: 1.22.19
BitGoJS Version: 6.0.0
BitGo Environment: mainnet
Expected Behavior
The import of the library should not crash the app.
Current Behavior
After only importing the library the app crashes with an error: ERROR TypeError: TypedArray.of requires its this argument to subclass a TypedArray constructor
Possible Solution
Steps to Reproduce
Create a react-native app
Import the library on the shim.js: global.bitcoin = require("@bitgo/utxo-lib");
Run the app on the iOS 14
Now you will see the bug ERROR TypeError: TypedArray.of requires its this argument to subclass a TypedArray constructor
The text was updated successfully, but these errors were encountered:
I am using
@bitgo/utxo-lib
lib in my react-native application. And after testing on different devices I realized that it's failing specifically on iOS 14. With the following error on the consoleERROR TypeError: TypedArray.of requires its this argument to subclass a TypedArray constructor
Environment Details
Expected Behavior
The import of the library should not crash the app.
Current Behavior
After only importing the library the app crashes with an error:
ERROR TypeError: TypedArray.of requires its this argument to subclass a TypedArray constructor
Possible Solution
Steps to Reproduce
shim.js
:global.bitcoin = require("@bitgo/utxo-lib");
ERROR TypeError: TypedArray.of requires its this argument to subclass a TypedArray constructor
The text was updated successfully, but these errors were encountered: