[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
- Emails not coming
I'm building a simple web app that registers users with an email and password. The user is created successfully in my (auth) page, but the verification email is...
- Unable to login to site using appwrite ...
Hi, i made a website using appwrite google authentication and db. And it was working fine for few days. But now google login doesn't work. Its not showing any e...
- Is it possible to create and update with...
Desde la comunidad latina. Es posible ejecutar un CREATE y un UPDATE , en la misma transacci贸n? mi objetivo es que el ID creado, se coloque en el array del upd...