dio_smart_retry icon indicating copy to clipboard operation
dio_smart_retry copied to clipboard

android issue

Open sharadgoregore opened this issue 1 year ago • 11 comments

not working for android

sharadgoregore avatar Mar 20 '23 06:03 sharadgoregore

Same here it doesn't work for Android

Aruljebaraj avatar Mar 20 '23 06:03 Aruljebaraj

@sharadgoregore @Aruljebaraj Could you please provide error details?

rodion-m avatar Mar 20 '23 09:03 rodion-m

I/ViewRootImpl@3ab62e4MainActivity: MSG_WINDOW_FOCUS_CHANGED 0 1

D/InsetsSourceConsumer(18237): ensureControlAlpha: for ITYPE_NAVIGATION_BAR on com.todo/com.todo.MainActivity

D/InsetsSourceConsumer(18237): ensureControlAlpha: for ITYPE_STATUS_BAR on com.todo/com.todo.MainActivity

I/ViewRootImpl@3ab62e4MainActivity: MSG_WINDOW_FOCUS_CHANGED 1 1

D/InputMethodManager(18237): startInputInner - Id : 0

I/InputMethodManager(18237): startInputInner - mService.startInputOrWindowGainedFocus

This is what i am getting after on click on wifi button to start internet but same code working for ios

sharadgoregore avatar Mar 20 '23 10:03 sharadgoregore

@sharadgoregore Weird error. Does clean dio (without dio_smart_retry) work fine?

rodion-m avatar Mar 20 '23 19:03 rodion-m

yes it works but i want to resume api function while uploading or downloading photos.. if network disconnected and connected again it should resume api function this is working fine in ios but not working in android and error also not in detailed so not able to understand what exactly issue is...please can you try from your end?so you may get more idea about that issue

sharadgoregore avatar Mar 21 '23 04:03 sharadgoregore

I assume that our library cannot cause this error. SO says that this error about WiFi enabling/disabling: https://stackoverflow.com/questions/60040077/databinding-inputmethodmanager-startinputinner-mservice-startinputorwindowg

rodion-m avatar Mar 21 '23 13:03 rodion-m

thanks for replying but i am getting this issue for both wifi and mobile internet on android only..i have tried on both virtual and physical device

sharadgoregore avatar Mar 22 '23 09:03 sharadgoregore

is there any way to solve this issue?

sharadgoregore avatar Mar 22 '23 09:03 sharadgoregore

is there any way to solve this issue?

I'm not sure that this issue is caused by dio_smart_retry. Are you sure that without this package the dio works well? @Aruljebaraj Could you please check it?

rodion-m avatar Apr 11 '23 20:04 rodion-m

yeah without this package dio works fine but in ios both package dio_smart_retry and dio works fine in android only facing issue..

sharadgoregore avatar Apr 12 '23 05:04 sharadgoregore

hi @rodion-m any update??

sharadgoregore avatar Apr 19 '23 09:04 sharadgoregore