
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
- Verifying Appwrite into React Native pro...
Hello devs, as I start to develop React native applications, I am recommended Appwrite to establish database. In the add platform section, I am asked to clone s...
- Barcode scanner help
Hi guys! I want to integrate a barcode scanner for my nutrition tracking app for school. However, I think because of the most recent update and the newest SDK...
- Query Not Getting Results
I am trying to query my collection Categories. Initially, I tried to query by the documentId, but that yielded no results. I then added an index on $id, that ...
