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

Reconnect when coming out of doze #479

Open
SlayerOrnstein opened this issue Apr 30, 2018 · 15 comments
Open

Reconnect when coming out of doze #479

SlayerOrnstein opened this issue Apr 30, 2018 · 15 comments

Comments

@SlayerOrnstein
Copy link

A lot of times after my phone comes out of doze it doesn't detect any internet connection and I have to swipe the app from recent and reopen it

@Greznor
Copy link
Contributor

Greznor commented May 1, 2018

I have this issue occasionally too. I think it's something to do with the app getting moved out of memory and getting a full restart.

What kind of phone do you have?

@SlayerOrnstein
Copy link
Author

I have a Nexus 5 running the latest AOSPA

@Greznor
Copy link
Contributor

Greznor commented May 2, 2018

My backup phone, an HTC m8 with 2GBs ram, has the same problem. I have a good idea where the issue is. I'll include the fix in the next release.

@SlayerOrnstein
Copy link
Author

Nice really glad to see you back man even if it is for a bit

@Greznor
Copy link
Contributor

Greznor commented May 3, 2018

I've had plans to keep Chanu going as long as possible. I know there are a few minor bugs but if something major breaks like the API changes, I'll fix it.

I made some changes that might fix this network time out problem. I'm hoping it's like a permission problem that stops the app from knowing if its on a mobile network or on wifi.

Can you try out this build and let me know if you still experience the issue.
https://github.com/Greznor/chanu/releases/tag/v2.0.27.alpha

@SlayerOrnstein
Copy link
Author

Alright you want me to let the OS enter doze on its own or is it alright to force it?

@Greznor
Copy link
Contributor

Greznor commented May 3, 2018

It shouldn't matter either way. I think the problem is related to the app getting unloaded from memory and not being able to successfully started again.

@SlayerOrnstein
Copy link
Author

Just tested it still says network offline

@Greznor
Copy link
Contributor

Greznor commented May 4, 2018

Lame. I have another idea but it's going to take a lot of work.

@Greznor
Copy link
Contributor

Greznor commented Aug 9, 2018

Four months later... I haven't forgotten about this but life is always gets busy.

I'm rolling a few updates into one request pull.

@SlayerOrnstein
Copy link
Author

Been awhile I actually got a new-ish phone but if you need me to test on the same one I do still have the Nexus 5 here

@johnarleyburns
Copy link
Collaborator

johnarleyburns commented Aug 9, 2018 via email

@Greznor
Copy link
Contributor

Greznor commented Jan 19, 2019

Late but finally implemented for testing. I'll make a pull request if this fixes the network timeout problem.
https://github.com/Greznor/chanu/releases/tag/v2.0.27.alpha

@SlayerOrnstein
Copy link
Author

so far haven't seen the error pop up

@johnarleyburns
Copy link
Collaborator

johnarleyburns commented Jan 24, 2019 via email

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