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
- bug with permissions on react native
Hi when i set on a table some permission like all users read and write and then from the sdk I try to add a new row in that table I get this error: AppwriteExce...
- getFileViewURL isnt working on android
i trid the adding the jwt token to the end of the url still nothing. but it works fine on ios https://fra.cloud.appwrite.io/v1/storage/buckets/693a0xxxxxxxxf2d...
- Function permissions
In my app I have a CreateUser flow which makes several documents and at the end uses the functions.createExecution() to call a server-side function to create a ...