saran-surya / email_auth

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

Still receiving OTP from old Email #47

Closed haleem13 closed 3 years ago

haleem13 commented 3 years ago

hi I did everything as you said. I also got the server configuration is a valid message, but when I send OTP they are still sending from the old Email. that is from this email appauthentication01@gmail.com

do you know how to fix it?

please help me...

saran-surya commented 3 years ago

Hi @haleem13 , Kindly post in the logs.

haleem13 commented 3 years ago

I/flutter (32753): email-auth >> Initialising Email-Auth server I/flutter (32753): email-auth >> Remote server is not available -- using test server -- I/flutter (32753): email-auth >> ❗ Warning this is not reliable on production I/flutter (32753): email-auth >> The remote server configurations are valid I/flutter (32753): email-auth >> OTP sent successfully ✅ did everything that you said but still I am facing this issue. I am receiving an emails from test server

haleem13 commented 3 years ago

I am sorry i do not know how to post it in logs.... can you please help me here

saran-surya commented 3 years ago

I/flutter (32753): email-auth >> Initialising Email-Auth server I/flutter (32753): email-auth >> Remote server is not available -- using test server -- I/flutter (32753): email-auth >> ❗ Warning this is not reliable on production I/flutter (32753): email-auth >> The remote server configurations are valid I/flutter (32753): email-auth >> OTP sent successfully ✅ did everything that you said but still I am facing this issue. I am receiving an emails from test server

As you can see the configuration of the remote server os valid, but the remote server is not online or available. Please do post the link of your server. And the snapshot of the log file

haleem13 commented 3 years ago

var remoteServerConfiguration = { "server": "https://mohib123.herokuapp.com", "serverKey": "zlDeej" }; this is my auth.config.dart file

saran-surya commented 3 years ago

var remoteServerConfiguration = { "server": "https://mohib123.herokuapp.com", "serverKey": "zlDeej" }; this is my auth.config.dart file

This is all fine, can you post the complete debug logs?

haleem13 commented 3 years ago

Launching lib\main.dart on SM N960F in debug mode... lib\main.dart:1 3 registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) √ Built build\app\outputs\flutter-apk\app-debug.apk. W/FlutterActivityAndFragmentDelegate( 3740): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps. I/System.out( 3740): (HTTPLog)-Static: isSBSettingEnabled false Connecting to VM Service at ws://127.0.0.1:64856/AfUWDZ3GVC4=/ws I/flutter ( 3740): email-auth >> Initialising Email-Auth server I/flutter ( 3740): email-auth >> The remote server configurations are valid

haleem13 commented 3 years ago

the is complete

Launching lib\main.dart on SM N960F in debug mode... registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) √ Built build\app\outputs\flutter-apk\app-debug.apk. W/FlutterActivityAndFragmentDelegate( 3740): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps. I/System.out( 3740): (HTTPLog)-Static: isSBSettingEnabled false Connecting to VM Service at ws://127.0.0.1:64856/AfUWDZ3GVC4=/ws I/flutter ( 3740): email-auth >> Initialising Email-Auth server I/flutter ( 3740): email-auth >> The remote server configurations are valid I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=6 res=0x1 s={true 507594571776} ch=false I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@6d8ccdd mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=117 D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@bdf0f23 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=120 W/IInputConnectionWrapper( 3740): getCursorCapsMode on inactive InputConnection W/IInputConnectionWrapper( 3740): getExtractedText on inactive InputConnection W/IInputConnectionWrapper( 3740): requestCursorAnchorInfo on inactive InputConnection W/IInputConnectionWrapper( 3740): getExtractedText on inactive InputConnection W/IInputConnectionWrapper( 3740): getExtractedText on inactive InputConnection D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring on I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,633) vi=(0,42,0,633) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=11 res=0x1 s={true 507594571776} ch=false D/InputConnectionAdaptor( 3740): The input method toggled text monitoring on D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputConnectionAdaptor( 3740): The input method toggled text monitoring off I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@1453f9b mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=117 D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring on D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): HSIFW - flag : 0 D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring off I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=8 res=0x1 s={true 507594571776} ch=false I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@65ef476 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=120 W/IInputConnectionWrapper( 3740): getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper( 3740): requestCursorAnchorInfo on inactive InputConnection I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,633) vi=(0,42,0,633) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=8 res=0x1 s={true 507594571776} ch=false D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring on D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): HSIFW - flag : 0 D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring off I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=7 res=0x1 s={true 507594571776} ch=false I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@e8956e4 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=117 W/IInputConnectionWrapper( 3740): getCursorCapsMode on inactive InputConnection W/IInputConnectionWrapper( 3740): getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper( 3740): requestCursorAnchorInfo on inactive InputConnection D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring on I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,633) vi=(0,42,0,633) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=41 res=0x1 s={true 507594571776} ch=false D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): HSIFW - flag : 0 D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring off I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=7 res=0x1 s={true 507594571776} ch=false I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 W/DynamiteModule( 3740): Local module descriptor class for providerinstaller not found. I/DynamiteModule( 3740): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller( 3740): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) I/chatty ( 3740): uid=10619(com.example.demo) identical 1 line W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) I/om.example.dem( 3740): The ClassLoaderContext is a special shared library. W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) I/om.example.dem( 3740): The ClassLoaderContext is a special shared library. W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->allocateInstance(Ljava/lang/Class;)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->peekLong(JZ)J (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->pokeLong(JJZ)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->pokeInt(JIZ)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->peekInt(JZ)I (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->pokeByte(JB)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->peekByte(J)B (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->pokeByteArray(J[BII)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Llibcore/io/Memory;->peekByteArray(J[BII)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->arrayBaseOffset(Ljava/lang/Class;)I (greylist,core-platform-api, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->arrayIndexScale(Ljava/lang/Class;)I (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed) W/om.example.dem( 3740): Accessing hidden field Ljava/nio/Buffer;->address:J (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, reflection, allowed) D/ConnectivityManager( 3740): requestNetwork; CallingUid : 10619, CallingPid : 3740 I/om.example.dem( 3740): The ClassLoaderContext is a special shared library. W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) I/om.example.dem( 3740): Waiting for a blocking GC ClassLinker I/om.example.dem( 3740): WaitForGcToComplete blocked ClassLinker on ClassLinker for 6.481ms V/NativeCrypto( 3740): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 294 native methods... W/om.example.dem( 3740): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed) I/ProviderInstaller( 3740): Installed default security provider GmsCore_OpenSSL D/ConnectivityManager( 3740): requestNetwork; CallingUid : 10619, CallingPid : 3740 W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (greylist, reflection, allowed) W/om.example.dem( 3740): Accessing hidden method Ldalvik/system/BlockGuard;->getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (greylist,core-platform-api, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Ldalvik/system/BlockGuard$Policy;->onNetwork()V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) W/om.example.dem( 3740): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) I/flutter ( 3740): there is no value I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@86594cb mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=120 W/IInputConnectionWrapper( 3740): getCursorCapsMode on inactive InputConnection W/IInputConnectionWrapper( 3740): getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper( 3740): requestCursorAnchorInfo on inactive InputConnection D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring on I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,633) vi=(0,42,0,633) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=6 res=0x1 s={true 507594571776} ch=false D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputConnectionAdaptor( 3740): The input method toggled text monitoring on I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@f7e3bc1 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=146 W/IInputConnectionWrapper( 3740): getExtractedText on inactive InputConnection D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring on D/InputMethodManager( 3740): SSI - flag : 0 Pid : 3740 view : com.example.demo D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 D/InputConnectionAdaptor( 3740): The input method toggled text monitoring on I/TextInputPlugin( 3740): Composing region changed by the framework. Restarting the input method. W/ListenableEditingState( 3740): a listener was added to EditingState while a batch edit was in progress D/InputMethodManager( 3740): prepareNavigationBarInfo() DecorView@fbc65e0[MainActivity] D/InputMethodManager( 3740): getNavigationBarColor() -855310 V/InputMethodManager( 3740): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@b6b2a7 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager( 3740): startInputInner - Id : 0 I/InputMethodManager( 3740): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 3740): Input channel destroyed: 'ClientS', fd=145 D/InputMethodManager( 3740): HSIFW - flag : 0 W/IInputConnectionWrapper( 3740): endBatchEdit on inactive InputConnection D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring on D/InputConnectionAdaptor( 3740): The input method toggled cursor monitoring off I/ViewRootImpl@400b64bMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 I/ViewRootImpl@400b64bMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=6 res=0x1 s={true 507594571776} ch=false I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@400b64bMainActivity: ViewPostIme pointer 1 I/flutter ( 3740): email-auth >> Initialising Email-Auth server I/flutter ( 3740): email-auth >> Remote server is not available -- using test server -- I/flutter ( 3740): email-auth >> ❗ Warning this is not reliable on production I/flutter ( 3740): email-auth >> The remote server configurations are valid I/flutter ( 3740): email-auth >> OTP sent successfully ✅

saran-surya commented 3 years ago

You are re assigning the EmailAuth server. Maybe that is the issue, while re assigning you are not passing in the config. If you read the logs the email auth server is already initialised at the first, and you are re initialising it. Maybe that is the main reason.

kindly post in your code or please give me the link to the repo.

haleem13 commented 3 years ago

all my email auth files are in verifyagain.dart I think there is something wrong with my setup

https://github.com/haleem13/error.git

saran-surya commented 3 years ago

all my email auth files are in verifyagain.dart I think there is something wrong with my setup

https://github.com/haleem13/error.git

I didn't find any class instance in that file, can you please check again

haleem13 commented 3 years ago

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\janha\Downloads\Compressed\Flutter-All-Login-master> flutter run
Launching lib\main.dart on SM N960F in debug mode... registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) Running Gradle task 'assembleDebug'... 46.2s √ Built build\app\outputs\flutter-apk\app-debug.apk. Installing build\app\outputs\flutter-apk\app.apk... 29.2s W/FlutterActivityAndFragmentDelegate(18523): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps. D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : falseD/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus I/ViewRootImpl@1f7695dMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : falseD/InputMethodManager(18523): startInputInner - Id : 0 I/om.example.dem(18523): Background concurrent copying GC freed 16121(1096KB) AllocSpace objects, 7(288KB) LOS objects, 57% free, 4593KB/10MB, paused 2.052ms total 233.146ms Syncing files to device SM N960F... 159ms

Flutter run key commands. r Hot reload. R Hot restart. h List all available interactive commands. d Detach (terminate "flutter run" but leave application running). c Clear the screen q Quit (terminate the application on the device).

Running with unsound null safety For more information see https://dart.dev/null-safety/unsound-null-safety

An Observatory debugger and profiler on SM N960F is available at: http://127.0.0.1:56189/zU7Hc_jF3Ck=/ The Flutter DevTools debugger and profiler on SM N960F is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:56189/zU7Hc_jF3Ck=/ I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=15 res=0x1 s={true 507817156608} ch=false I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@bf7f38 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(18523): Input channel destroyed: 'ClientS', fd=117 D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@65ef476 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(18523): Input channel destroyed: 'ClientS', fd=120 W/IInputConnectionWrapper(18523): getCursorCapsMode on inactive InputConnection W/IInputConnectionWrapper(18523): getExtractedText on inactive InputConnection W/IInputConnectionWrapper(18523): requestCursorAnchorInfo on inactive InputConnection W/IInputConnectionWrapper(18523): getExtractedText on inactive InputConnection W/IInputConnectionWrapper(18523): getExtractedText on inactive InputConnection D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring on I/ViewRootImpl@1f7695dMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,633) vi=(0,42,0,633) or=1 I/ViewRootImpl@1f7695dMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=46 res=0x1 s={true 507817156608} ch=false D/InputConnectionAdaptor(18523): The input method toggled text monitoring on D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputConnectionAdaptor(18523): The input method toggled text monitoring off I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@e569e7c mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(18523): Input channel destroyed: 'ClientS', fd=117 D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring on D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): HSIFW - flag : 0 D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring off I/ViewRootImpl@1f7695dMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 I/ViewRootImpl@1f7695dMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=7 res=0x1 s={true 507817156608} ch=false I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@931458b mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(18523): Input channel destroyed: 'ClientS', fd=120 W/IInputConnectionWrapper(18523): getCursorCapsMode on inactive InputConnection W/IInputConnectionWrapper(18523): getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper(18523): requestCursorAnchorInfo on inactive InputConnection I/ViewRootImpl@1f7695dMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,633) vi=(0,42,0,633) or=1 I/ViewRootImpl@1f7695dMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=21 res=0x1 s={true 507817156608} ch=false D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring on D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): HSIFW - flag : 0 D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring off I/ViewRootImpl@1f7695dMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 I/ViewRootImpl@1f7695dMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=7 res=0x1 s={true 507817156608} ch=false I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 W/DynamiteModule(18523): Local module descriptor class for providerinstaller not found. I/DynamiteModule(18523): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller(18523): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) I/chatty (18523): uid=10619(com.example.demo) identical 1 line W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed)
W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->allocateInstance(Ljava/lang/Class;)Ljava/lang/Object; (greylist, linking, allowed) I/om.example.dem(18523): The ClassLoaderContext is a special shared library. W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->peekLong(JZ)J (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->pokeLong(JJZ)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->pokeInt(JIZ)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->peekInt(JZ)I (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->pokeByte(JB)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->peekByte(J)B (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->pokeByteArray(J[BII)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Llibcore/io/Memory;->peekByteArray(J[BII)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->arrayBaseOffset(Ljava/lang/Class;)I (greylist,core-platform-api, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->arrayIndexScale(Ljava/lang/Class;)I (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed) W/om.example.dem(18523): Accessing hidden field Ljava/nio/Buffer;->address:J (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, reflection, allowed) D/ConnectivityManager(18523): requestNetwork; CallingUid : 10619, CallingPid : 18523 I/om.example.dem(18523): The ClassLoaderContext is a special shared library. I/om.example.dem(18523): The ClassLoaderContext is a special shared library. W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) V/NativeCrypto(18523): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 294 native methods... W/om.example.dem(18523): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed) I/ProviderInstaller(18523): Installed default security provider GmsCore_OpenSSL D/ConnectivityManager(18523): requestNetwork; CallingUid : 10619, CallingPid : 18523 W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, linking, allowed) W/om.example.dem(18523): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, linking, allowed) W/om.example.dem(18523): Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (greylist, reflection, allowed) W/om.example.dem(18523): Accessing hidden method Ldalvik/system/BlockGuard;->getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (greylist,core-platform-api, linking, allowed) W/om.example.dem(18523): Accessing hidden method Ldalvik/system/BlockGuard$Policy;->onNetwork()V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) W/om.example.dem(18523): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) I/flutter (18523): there is no value I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@1f1d2fd mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(18523): Input channel destroyed: 'ClientS', fd=117 W/IInputConnectionWrapper(18523): getCursorCapsMode on inactive InputConnection W/IInputConnectionWrapper(18523): getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper(18523): requestCursorAnchorInfo on inactive InputConnection I/ViewRootImpl@1f7695dMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,633) vi=(0,42,0,633) or=1 I/ViewRootImpl@1f7695dMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=8 res=0x1 s={true 507817156608} ch=false D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring on D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputConnectionAdaptor(18523): The input method toggled text monitoring on D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@711d243 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(18523): Input channel destroyed: 'ClientS', fd=146 W/IInputConnectionWrapper(18523): getExtractedText on inactive InputConnection D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring on D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputConnectionAdaptor(18523): The input method toggled text monitoring on D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 D/InputMethodManager(18523): SSI - flag : 0 Pid : 18523 view : com.example.demo D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 I/TextInputPlugin(18523): Composing region changed by the framework. Restarting the input method. W/ListenableEditingState(18523): a listener was added to EditingState while a batch edit was in progress D/InputMethodManager(18523): prepareNavigationBarInfo() DecorView@6deb4b1[MainActivity] D/InputMethodManager(18523): getNavigationBarColor() -855310 V/InputMethodManager(18523): Starting input: tba=com.example.demo ic=io.flutter.plugin.editing.InputConnectionAdaptor@70da1f9 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(18523): startInputInner - Id : 0 I/InputMethodManager(18523): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(18523): Input channel destroyed: 'ClientS', fd=145 D/InputMethodManager(18523): HSIFW - flag : 0 W/IInputConnectionWrapper(18523): endBatchEdit on inactive InputConnection D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring on D/InputConnectionAdaptor(18523): The input method toggled cursor monitoring off I/ViewRootImpl@1f7695dMainActivity: MSG_RESIZED: frame=(0,0,720,1480) ci=(0,42,0,0) vi=(0,42,0,0) or=1 I/ViewRootImpl@1f7695dMainActivity: Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=8 res=0x1 s={true 507817156608} ch=false I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/flutter (18523): email-auth >> Initialising Email-Auth server I/flutter (18523): email-auth >> Remote server is not available -- using test server -- I/flutter (18523): email-auth >> ❗ Warning this is not reliable on production I/flutter (18523): email-auth >> OTP sent successfully ✅ I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/flutter (18523): email-auth >> Remote server is not available -- using test server -- I/flutter (18523): email-auth >> ❗ Warning this is not reliable on production I/flutter (18523): email-auth >> OTP sent successfully ✅ I/flutter (18523): otp sent agaim I/flutter (18523): email-auth >> The remote server configurations are valid I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 0 I/ViewRootImpl@1f7695dMainActivity: ViewPostIme pointer 1 I/flutter (18523): email-auth >> Failed to send OTP ❌ I/flutter (18523): email-auth >> Message from server :: Unable to send mail

haleem13 commented 3 years ago

Screenshot_20211016-093413

haleem13 commented 3 years ago

still, I am receiving emails from the test server. but when I press the resend button it fails.

was my setup correct in https://github.com/haleem13/error.git??

saran-surya commented 3 years ago

still, I am receiving emails from the test server. but when I press the resend button it fails.

was my setup correct in https://github.com/haleem13/error.git??

The issue is with the production server. I need to have a look at the heroku logs Kindly post them in.

saran-surya commented 3 years ago

Kindly use the latest code changes from email_auth_node repo. This will help identifying the issue easily.

haleem13 commented 3 years ago

-----> Building on the Heroku-20 stack -----> Using buildpacks:

  1. heroku/nodejs
  2. heroku/python -----> Node.js app detected

-----> Creating runtime environment

   NPM_CONFIG_LOGLEVEL=error
   NODE_VERBOSE=false
   NODE_ENV=production
   NODE_MODULES_CACHE=true

-----> Installing binaries engines.node (package.json): unspecified engines.npm (package.json): unspecified (use default)

   Resolving node version 14.x...
   Downloading and installing node 14.18.1...
   Using default npm version: 6.14.15

-----> Installing dependencies Installing node modules

   > nodemon@2.0.12 postinstall /tmp/build_030b959c/node_modules/nodemon
   > node bin/postinstall || exit 0

   Love nodemon? You can now support the project via the open collective:
    > https://opencollective.com/nodemon/donate

   added 271 packages in 5.33s

-----> Build

-----> Caching build

-----> Pruning devDependencies removed 216 packages and audited 54 packages in 2.923s found 0 vulnerabilities

-----> Build succeeded! -----> Python app detected -----> No Python version was specified. Using the buildpack default: python-3.9.7 To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes -----> Installing python-3.9.7 -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2 -----> Installing SQLite3 -----> Installing requirements with pip Collecting appdirs==1.4.4 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting asgiref==3.2.3 Downloading asgiref-3.2.3-py2.py3-none-any.whl (18 kB) Collecting astroid==2.3.3 Downloading astroid-2.3.3-py3-none-any.whl (205 kB) Collecting autopep8==1.5.3 Downloading autopep8-1.5.3.tar.gz (116 kB) Collecting certifi==2019.11.28 Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB) Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting colorama==0.4.3 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB) Collecting distlib==0.3.1 Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB) Collecting docutils==0.16 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) Collecting filelock==3.0.12 Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting idna==2.9 Downloading idna-2.9-py2.py3-none-any.whl (58 kB) Collecting isort==4.3.21 Downloading isort-4.3.21-py2.py3-none-any.whl (42 kB) Collecting joblib==0.14.1 Downloading joblib-0.14.1-py2.py3-none-any.whl (294 kB) Collecting keyring==21.2.1 Downloading keyring-21.2.1-py3-none-any.whl (31 kB) Collecting mccabe==0.6.1 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting packaging==20.4 Downloading packaging-20.4-py2.py3-none-any.whl (37 kB) Collecting pbr==5.4.5 Downloading pbr-5.4.5-py2.py3-none-any.whl (110 kB) Collecting pkginfo==1.5.0.1 Downloading pkginfo-1.5.0.1-py2.py3-none-any.whl (25 kB) Collecting pycodestyle==2.6.0 Downloading pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB) Collecting Pygments==2.6.1 Downloading Pygments-2.6.1-py3-none-any.whl (914 kB) Collecting pylint==2.4.4 Downloading pylint-2.4.4-py3-none-any.whl (302 kB) Collecting pyparsing==2.4.7 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting python-dateutil==2.8.1 Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting python-dotenv==0.15.0 Downloading python_dotenv-0.15.0-py2.py3-none-any.whl (18 kB) Collecting pytz==2019.3 Downloading pytz-2019.3-py2.py3-none-any.whl (509 kB) Collecting pywin32-ctypes==0.2.0 Downloading pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB) Collecting readme-renderer==26.0 Downloading readme_renderer-26.0-py2.py3-none-any.whl (15 kB) Collecting requests==2.23.0 Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB) Collecting requests-toolbelt==0.9.1 Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB) Collecting rfc3986==1.4.0 Downloading rfc3986-1.4.0-py2.py3-none-any.whl (31 kB) Collecting six==1.14.0 Downloading six-1.14.0-py2.py3-none-any.whl (10 kB) Collecting sqlparse==0.3.0 Downloading sqlparse-0.3.0-py2.py3-none-any.whl (39 kB) Collecting stevedore==3.2.0 Downloading stevedore-3.2.0-py3-none-any.whl (42 kB) Collecting toml==0.10.1 Downloading toml-0.10.1-py2.py3-none-any.whl (19 kB) Collecting tqdm==4.48.0 Downloading tqdm-4.48.0-py2.py3-none-any.whl (67 kB) Collecting twine==3.2.0 Downloading twine-3.2.0-py3-none-any.whl (34 kB) Collecting urllib3==1.25.10 Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB) Collecting webencodings==0.5.1 Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting wrapt==1.11.2 Downloading wrapt-1.11.2.tar.gz (27 kB) Collecting lazy-object-proxy==1.4.* Downloading lazy-object-proxy-1.4.3.tar.gz (34 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting jeepney>=0.4.2; sys_platform == "linux" Downloading jeepney-0.7.1-py3-none-any.whl (54 kB) Collecting SecretStorage>=3; sys_platform == "linux" Downloading SecretStorage-3.3.1-py3-none-any.whl (15 kB) Collecting bleach>=2.1.0 Downloading bleach-4.1.0-py2.py3-none-any.whl (157 kB) Collecting cryptography>=2.0 Downloading cryptography-35.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB) Collecting cffi>=1.12 Downloading cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB) Collecting pycparser Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB) Building wheels for collected packages: autopep8, wrapt, lazy-object-proxy Building wheel for autopep8 (setup.py): started Building wheel for autopep8 (setup.py): finished with status 'done' Created wheel for autopep8: filename=autopep8-1.5.3-py2.py3-none-any.whl size=44056 sha256=6caeeaed5434b1ae263517459afb9256ad59040075c429e932785d4547fb47f3 Stored in directory: /tmp/pip-ephem-wheel-cache-8pj7990h/wheels/31/e7/60/88b99ba476f6805bc1c48ef8e88cea341ff81f84cd0e87838b Building wheel for wrapt (setup.py): started Building wheel for wrapt (setup.py): finished with status 'done' Created wheel for wrapt: filename=wrapt-1.11.2-cp39-cp39-linux_x86_64.whl size=78287 sha256=6a74ab7ca9a903a63f6eaea283424230e9f8046ea6eb8869102afb4368d11eaa Stored in directory: /tmp/pip-ephem-wheel-cache-8pj7990h/wheels/76/e9/66/d4e35bfa6cde3925ff1c497043d7a2ccb305c07ac51fef0e31 Building wheel for lazy-object-proxy (PEP 517): started Building wheel for lazy-object-proxy (PEP 517): finished with status 'done' Created wheel for lazy-object-proxy: filename=lazy_object_proxy-1.4.3-cp39-cp39-linux_x86_64.whl size=58501 sha256=20bac2ee80408bf3403063b3ed8aee0dcb882c00c7c3920e6e95e6dd106744e9 Stored in directory: /tmp/pip-ephem-wheel-cache-8pj7990h/wheels/41/20/07/2a3e02cdfc8b442404202f6ef99ff1b1c16b73910968a46f2f Successfully built autopep8 wrapt lazy-object-proxy Installing collected packages: appdirs, asgiref, six, wrapt, lazy-object-proxy, astroid, pycodestyle, toml, autopep8, certifi, chardet, colorama, distlib, docutils, filelock, idna, isort, joblib, jeepney, pycparser, cffi, cryptography, SecretStorage, keyring, mccabe, pyparsing, packaging, pbr, pkginfo, Pygments, pylint, python-dateutil, python-dotenv, pytz, pywin32-ctypes, webencodings, bleach, readme-renderer, urllib3, requests, requests-toolbelt, rfc3986, sqlparse, stevedore, tqdm, twine Successfully installed Pygments-2.6.1 SecretStorage-3.3.1 appdirs-1.4.4 asgiref-3.2.3 astroid-2.3.3 autopep8-1.5.3 bleach-4.1.0 certifi-2019.11.28 cffi-1.15.0 chardet-3.0.4 colorama-0.4.3 cryptography-35.0.0 distlib-0.3.1 docutils-0.16 filelock-3.0.12 idna-2.9 isort-4.3.21 jeepney-0.7.1 joblib-0.14.1 keyring-21.2.1 lazy-object-proxy-1.4.3 mccabe-0.6.1 packaging-20.4 pbr-5.4.5 pkginfo-1.5.0.1 pycodestyle-2.6.0 pycparser-2.20 pylint-2.4.4 pyparsing-2.4.7 python-dateutil-2.8.1 python-dotenv-0.15.0 pytz-2019.3 pywin32-ctypes-0.2.0 readme-renderer-26.0 requests-2.23.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 six-1.14.0 sqlparse-0.3.0 stevedore-3.2.0 toml-0.10.1 tqdm-4.48.0 twine-3.2.0 urllib3-1.25.10 webencodings-0.5.1 wrapt-1.11.2 -----> Discovering process types Procfile declares types -> web -----> Compressing... Done: 96.6M -----> Launching... Released v3 https://mohib123.herokuapp.com/ deployed to Heroku

haleem13 commented 3 years ago

Kindly use the latest code changes from email_auth_node repo. This will help identifying the issue easily.

ok i will try this. i hope that will work

haleem13 commented 3 years ago

thank you soooo much you are awesome. I really like you. you are wonderful. that really worked

haleem13 commented 3 years ago

but now I am facing another problem.

haleem13 commented 3 years ago

EmailAuth emailAuth;

@override void initState() { super.initState(); emailAuth = new EmailAuth( sessionName: "Sample session", ); emailAuth.config(remoteServerConfiguration); }

void addError({String error}) { if (!errors.contains(error)) setState(() { errors.add(error); }); }

void removeError({String error}) { if (errors.contains(error)) setState(() { errors.remove(error); }); }

@override void sendaOtp() async { bool result = await emailAuth.sendOtp(recipientMail: widget.email, otpLength: 5); if (result == true) { print("otp sent agaim"); Toast.show( "OTP sent to ${widget.email}", context, gravity: Toast.TOP, duration: Toast.LENGTH_LONG, ); } else { Toast.show( "Something went wrong Please Try Again", context, gravity: Toast.TOP, duration: Toast.LENGTH_LONG, ); } }

void verifyotp() async { if (emailAuth.validateOtp( recipientMail: widget.email, userOtp: _otp.text)) { print("verified"); var currentUser = _auth.currentUser; firestoreInstance.collection("Users").doc(widget.email).set({ "First Name": widget.firstname, "Last Name": widget.lastname, "Pssword": widget.password, "Email": widget.email, "Gender": widget.gender, "Date Of Birth": { "Day Of Birth": widget.day, "Month Of Birth": widget.month, "Year Of Birth": widget.year, } }).then((value) { FirebaseAuth.instance.createUserWithEmailAndPassword( email: widget.email, password: widget.password); }); Navigator.pushNamed(context, LoginSuccessScreen.routeName); } else { print("object"); Toast.show( "You have Entered the Wrong OTP", context, gravity: Toast.TOP, duration: Toast.LENGTH_LONG, ); } }

@override Widget build(BuildContext context) { sendaOtp(); return Form( key: _formKey, child: Column( children: [ buildEmailFormField(), FormError(errors: errors), SizedBox(height: getProportionateScreenHeight(40)), Container( margin: EdgeInsets.only(top: 10, bottom: 20), child: DefaultButton( text: "Continue", press: () { verifyotp();

            // print(widget.email);
            // print(widget.password);
            // print(widget.lastname);
            // print(widget.firstname);
            // print(widget.gender);
            // print(widget.day);
            // print(widget.month);
            // print(widget.year);
          },
        ),
      ),
      // DefaultButton(
      //   text: "send",
      //   press: () => sendOtp(),
      // ),
    ],
  ),
);

}

TextFormField buildEmailFormField() { return TextFormField( keyboardType: TextInputType.number, controller: _otp, decoration: InputDecoration( suffixIcon: TextButton( child: Text("Resend"), onPressed: () => sendaOtp(), ), labelText: "OTP", labelStyle: TextStyle(color: Color(0xFF1A237E)), hintText: "Enter the OTP", // If you are using latest version of flutter then lable text and hint text shown like this // if you r using flutter less then 1.20.* then maybe this is not working properly floatingLabelBehavior: FloatingLabelBehavior.always, ), ); }

haleem13 commented 3 years ago

in this code when I call the sendaOtp in

((((@OverRide Widget build(BuildContext context) { sendaOtp(); return Form( key: _formKey,))))

the server is sending the email from test server.

but when I call it on press in button in

((((((((suffixIcon: TextButton( child: Text("Resend"), onPressed: () => sendaOtp(), ),))))))))))

then I receive OTP from my email.

haleem13 commented 3 years ago

can you PLEASE Help me with this ....PLEASE, PLEASE

haleem13 commented 3 years ago

and I think that is because the remote server is initializing late. first, the app is sending the email from the test server and then the remote server is initializing.

can you please Help me

PLEASE PLEASE PLEASE

saran-surya commented 3 years ago

and I think that is because the remote server is initializing late. first, the app is sending the email from the test server and then the remote server is initializing.

can you please Help me

PLEASE PLEASE PLEASE

Please read the documentation. You have to create a async method and access it only on the press of a button or any event. It is because you are calling it staright up from the build method. Thus the mail is being send from the test server. Please read the docs before proceeding. 🙂

haleem13 commented 3 years ago

thank you sooooo much