[SOLVED] account.create() not working in production(react-native assembleRelease)
- 0
- Android
- Accounts
- Web

I developed a android app(using react-native). here I am creating new user by account.create() method. It works well during development(npx react-native run-android. this will run the app in emulator). But account.create() not working in production(i,e ./gradlew assembleRelease this will create a unsigned apk). All other appwrite queries are working like account.createEmailSession etc accept account.create(). What would be the reason?

I am using web sdk

Hey 👋 Very very very hard to tell without having any error message 😬 Could you wrap the code in try/catch, and show the error message on the screen? That would help a lot 🙏

Considering other methods work, I don't have any guess what might be wrong. If it was issue with creating session (login), I would guess it's cookie/localStorage issue. But I cant see readon why register logic should fail.

The issue got resolved. That's actually not a appwrite problem. Its due to uuid which I was using for generating unique id for new user.

Thank YOu

[SOLVED] account.create() not working in production(react-native assembleRelease)
Recommended threads
- Error importing data after server migrat...
Hello, I recently purchased a new web server and when trying to migrate my data from the old server to the new (both self-hosted instances of appwrite on coolif...
- REST API does not work for queries
``` curl -X GET "https://cloud.appwrite.io/v1/databases/<db-id>/collections/<c-id>/documents" -H "X-Appwrite-Project: <project-id>" -H "X-Appwrite-Key: <key>"...
- deleteDocments is not a function
Hello. At the bottom of my project's console, in the footer, I have `Version 1.7.4`. However, when I run my server side function, I am told that `databases.dele...
