Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android issue #26

Open
sharadgoregore opened this issue Mar 20, 2023 · 11 comments
Open

android issue #26

sharadgoregore opened this issue Mar 20, 2023 · 11 comments

Comments

@sharadgoregore
Copy link

not working for android

@Aruljebaraj
Copy link

Same here it doesn't work for Android

@rodion-m
Copy link
Owner

@sharadgoregore @Aruljebaraj Could you please provide error details?

@sharadgoregore
Copy link
Author

sharadgoregore commented Mar 20, 2023

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

@rodion-m
Copy link
Owner

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

@sharadgoregore
Copy link
Author

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

@rodion-m
Copy link
Owner

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

@sharadgoregore
Copy link
Author

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
Copy link
Author

is there any way to solve this issue?

@rodion-m
Copy link
Owner

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?

@sharadgoregore
Copy link
Author

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
Copy link
Author

hi @rodion-m any update??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants