I think it is an issue with Appwrite SDK issue when working** on React Native Web**
I used Accounts API to create a user. This is the error:- (see screenshot too)
AppwriteException: Failed to execute 'fetch' on 'Window': Illegal invocation
at Client.<anonymous> (...
At the same time this works fine on the Android App (I am not developing for android but just thought stating this might help)
Should I open a GH issue?
Don't you forgot arguments on your call ?
Can you share your code?
I have tested this in the Android app. It worked fine. This error shows up for web app only
(I am developing in React Native. So, the code for android and web is the same. If it works for android, shows error for web)
const session = await account.createEmailSession(email, password);
I am using account API only
Using REST instead of web sdk 👍
No issues with REST
Recommended threads
- Project Inactivity Clarification
I'm on appwrite free plan with my account (om.thakkar@ivcventure.com). Even though throughout the week we use the project atleast once to upload dynamic content...
- [ENHANCEMENT] Use the custom Next.js dep...
Deployment adapters on Next.js are now stable! This means that we don't have to stick to the limitations of sniffing out build outputs and manually moving or mo...
- NextJS builds sudden runtime_timeout
My builds suddenly stopped working. Activating old prebuilt snapshots work, but redeploying that same code produces builds that throw runtime_timeout FRA region