Closed code0100fun closed 6 years ago
The dependency on verror and through it the node util module makes this library unusable in React Native.
verror
util
https://github.com/facebook/react-native/issues/526
Removing the VError calls in OAuth.js or detecting if the environment is not node and swapping out the error module would solve the issue.
VError
OAuth.js
Just to justify my use case, I'm fetching the campaigns for a user from the device. OAuth will happen on the server of course.
hey @code0100fun ! We'll take a look at this in the next week or few so we can do the environment detection properly. For now, feel free to fork and s/VError/Error
s/VError/Error
No longer using verror
The dependency on
verror
and through it the nodeutil
module makes this library unusable in React Native.https://github.com/facebook/react-native/issues/526
Removing the
VError
calls inOAuth.js
or detecting if the environment is not node and swapping out the error module would solve the issue.Just to justify my use case, I'm fetching the campaigns for a user from the device. OAuth will happen on the server of course.