saran-surya / email_auth

A Flutter package to verify emails using OTP
https://pub.dev/packages/email_auth
MIT License
37 stars 14 forks source link

Getting "OTP was not sent failure" again & again #14

Closed arinagrawal05 closed 3 years ago

arinagrawal05 commented 3 years ago

Hey, @saran-surya , hope you are well doing. i was using ur package email_auth package which is really appreciatable but getting same error (mentioned in title) in terminal console after sending some mails

saran-surya commented 3 years ago

Hi @arinagrawal05 , Thanks for the issue, I am currently working on a work around for the limits on the OTP, so will be fixing them, with a major release,

Will Add some steps where you can host your own server with Heroku with just cloning a GitHub repository and moving forward to production.

And sorry for the inconvenience

arinagrawal05 commented 3 years ago

its fine @saran-surya, I appreciate your work and just please update it ASAP... this package really meant to me-like developers :)

Nader2004 commented 3 years ago

I am experiencing this issue too. Any Updates on this please ?

saran-surya commented 3 years ago

Hi @Nader2004, The update is up, From now only 30 emails will be allowed in the TEST Server and you will have to set up a production server, Its easy and also free.

If you want the update right away, you can copy the code from the maintenance branch.

And setup the production server using this repo as a template. https://github.com/saran-surya/email_auth_node, This also has a CLI function, so you can create the configurations with ease.

Also I have not added the steps completely, so kindly contact me if you are setting it up.

Thanks.

Trend74X commented 3 years ago

can you remove the limit for the otp? the limitation is stopping me from completing any further task

saran-surya commented 3 years ago

Hi @Trend74X , The test server will remain with the 30 mail / per day limit after the update and sometime if lucky, the servers do restart and if so you can have a bonus 30 also., You will have to set up a production server, It will be easier, and also it is free and will be able to support all your traffic.

Nader2004 commented 3 years ago

@saran-surya thanks for the quick response and the steps!

Abhis2004 commented 3 years ago

How can I setup production server

saran-surya commented 3 years ago

How can I setup production server

https://github.com/saran-surya/email_auth/issues/14#issuecomment-907034471 This will help you, else you can connect with me also for help.

Abhis2004 commented 3 years ago

I'm getting this error while trying to send otp

D/ViewRootImpl@3080bffMainActivity: ViewPostIme pointer 0 D/ViewRootImpl@3080bffMainActivity: ViewPostIme pointer 1 I/flutter (27254): Email ID is valid D/InputMethodManager(27254): SSI - flag : 0 Pid : 27254 view : com.carvaan.carvaan D/InputMethodManager(27254): prepareNavigationBarInfo() DecorView@da74a5d[MainActivity] D/InputMethodManager(27254): getNavigationBarColor() -855310 D/InputMethodManager(27254): SSI - flag : 0 Pid : 27254 view : com.carvaan.carvaan D/InputMethodManager(27254): prepareNavigationBarInfo() DecorView@da74a5d[MainActivity] D/InputMethodManager(27254): getNavigationBarColor() -855310 I/flutter (27254): --This error is from the package-- I/flutter (27254): FormatException: Unexpected character (at character 1) I/flutter (27254): I/flutter (27254): ^ I/flutter (27254): --End package error message-- D/InputMethodManager(27254): HSIFW - flag : 0 Pid : 27254 D/ViewRootImpl@3080bffMainActivity: MSG_RESIZED: frame=[0,0][1080,1920] ci=[0,63][0,0] vi=[0,63][0,0] or=1 D/ViewRootImpl@3080bffMainActivity: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={true 3555448832} changed=false

Abhis2004 commented 3 years ago

How can I setup production server

#14 (comment) This will help you, else you can connect with me also for help.

What I have to do after going to that link

saran-surya commented 3 years ago

Hi All, The steps to setup the production server are mentioned here in a detailed way, Kindly have a look at it.

https://saran-surya.github.io/email-auth-node/

saran-surya commented 3 years ago

Hi All, Kindly update the package, version 1.0.0 is out. And you can have a custom server with it 🚀

babbaraniket commented 3 years ago

Do you have any idea how can we change the template of the the email which is sent from Heroku server?

saran-surya commented 3 years ago

Do you have any idea how can we change the template of the the email which is sent from Heroku server?

Hi @babbaraniket kindly create a new issue this is closed. And it is not the scope of this repo. Kindly create it in the email-auth-node repository.

Thanks.