snoowrap
snoowrap copied to clipboard
Does snoowrap not support React Native (expo)?
I was trying snoowrap on react native, and it works fine when I open my app on a browser, but fails building when I run on a remote device.
The error says that the fail is because of the node standard library.: "The package at "node_modules/snoowrap/dist/objects/Subreddit.js" attempted to import the Node standard library module "stream". It failed because the native React runtime does not include the Node standard library"
Any way to fix this?
You might have some luck looking over #48
You might have some luck looking over #48
Tried using nodeify, and it broke my project. Followed all the steps multiple times. Gave up eventually and just used fetch() straight from the api. Would love it if someone resolved this issue, though, I really like how clean snoowrap is
You might have some luck looking over #48
Tried using nodeify, and it broke my project. Followed all the steps multiple times. Gave up eventually and just used fetch() straight from the api. Would love it if someone resolved this issue, though, I really like how clean snoowrap is
Hey what method did you use to get the oauth2 token using fetch? I'm using the expo-auth-session
package to get the initial token and trying to exchange it for the actual refresh token using fetch, but I'm running into an error. Did you have success with the code flow or only with the no-longer-supported implicit flow?