
I'm working on A reactNative app, when trying to create a new Entry. The bellow code works only on IOS but on Android I have the AppwriteException : Network request failed
export const createEntry = async () => { try { const newEntry = await databases.createDocument( databaseId, productCollectionId, ID.unique(), {
}
);
return newEntry;
} catch (error) { throw new Error(error); } };
Having the same error on Android.
The code is working perfectly on IOS but on Android I have the AppwriteException: Nextwork request failed.
if there is any possible fix, please share
Recommended threads
- Invalid 'success' param error (React Nat...
I am trying to set up a "Sign in with Google" button using OAuth2. While I was successful in getting the button to work for web, when I try with mobile I get t...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Realtime Disconnects and Error: INVALID_...
Hi! I just want to ask here if there's any workaround with the disconnect issues we're encountering when subscribing to realtime events in react native using ex...
