"ERROR Unsupported environment"

New versions of ts-sdk are logging this error because they are looking for window and document methods that aren’t available in React Native.

@igor Regarding your issue, I recommend checking this link: https://www.npmjs.com/package/@amityco/ts-sdk-react-native.

@igor I’m running into the same problem. I’m using the ts-sdk, and the “Unsupported enviornment” error popped up.

Any advice for fixing this? Switching to ts-sdk-react-native?