"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.