
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
- How to create custom relatime channels
how do i create custome channels for real time communication. for example a room for a game with room code and sending messgaes to that roomcode and receiving m...
- SDK mismatch
Hi there, The following warning is currently appearing in my console: ``` Warning: The current SDK is built for Appwrite 1.8.0. However, the current Appwrite...
- 🐞 Bug Report: Sign in with Apple/Google...
Environment: - Appwrite version: 1.8.0-RC2 (self-hosted) - Working version: 1.8.0 (Appwrite Cloud) - Platform: React Native - React Native version: 0.74.5 - re...
