angelos3lex / react-native-smtp-mailer

Send emails by connecting to smtp server+attachments, using android javamail and ios mailcore2
39 stars 32 forks source link

app crash #51

Open zainaming opened 2 years ago

zainaming commented 2 years ago

when me call this then app crash i dont know why pls help me if you know?

DDAmine commented 2 years ago

any updates on this @zainaming @angelos3lex i have the same issue

Borhanof commented 2 years ago

same here

UsamaIshaq1 commented 2 years ago

Same here it was working good before but know after 1 month it start crashing

UsamaIshaq1 commented 2 years ago

It works but I don't know if it is a solution or another problem xd

It was not working because in my android build.gradle compileSdkVersion = 30 targetSdkVersion = 30 So i change it back to compileSdkVersion = 29 targetSdkVersion = 29 now its working on 29

tianli1129 commented 2 years ago

Hey here, I am having the same issue when using to send email, then my app started to exit by itself

wahas-mughal commented 1 year ago

To all those having this issue, you are most likely testing on an emulator. Run on the real device and you would get the error log without crashing. In my case error was "application password is required". You simply can't log in with your password due to two-factor authentication enabled on your account.

Go to https://myaccount.google.com/ -> Select Security from the left panel -> App Passwords -> Generate the app password. Use this app password to log in from the app and you're good to go!