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

fix: Reflect WiFi hotspot availability on Android 13 #573

Merged
merged 5 commits into from
Oct 4, 2022

Conversation

LilianaFaustinoDev
Copy link
Collaborator

@LilianaFaustinoDev LilianaFaustinoDev commented Sep 28, 2022

What kind of change does this PR introduce?

Fixes the hotspot state detection on Android 13.

What is the current behavior?

This is a temporary fix for #569 but a long-term solution is still needed.

What is the new behavior (if this is a feature change)?

On Android 13, we are looking to the gateway addresses request results to infer if hotspot is available.
In previous versions of Android, there is no behavior change.

@gnarea
Copy link
Member

gnarea commented Sep 29, 2022

Thank you so much @LilianaFaustinoBloco!

All looks good to me.

Q: Isn't "Observe the hotspot state only when the app is in foreground" already implemented in this version?

@LilianaFaustinoDev
Copy link
Collaborator Author

Not yet, we are polling regardless of app state (background or foreground). But I'm working on it!

@LilianaFaustinoDev
Copy link
Collaborator Author

@gnarea I think it's all!

@gnarea gnarea changed the title fix: Hotspot availability on android 13 fix: Reflect WiFi hotspot availability on Android 13 Oct 4, 2022
Copy link
Member

@gnarea gnarea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @LilianaFaustinoBloco! Thanks!

BTW, I just removed the Fixes #569 because we still want a long-term solution for that issue.

Speaking of which, can you please add a comment to #569 and briefly explain what's wrong with the current approach? That'd help me with the prioritisation process.

@gnarea gnarea added the automerge Allow kodiak to automerge commit when all checks pass label Oct 4, 2022
@kodiakhq kodiakhq bot merged commit 88a791d into master Oct 4, 2022
@kodiakhq kodiakhq bot deleted the hotspot-state-checker branch October 4, 2022 14:58
@github-actions
Copy link

github-actions bot commented Oct 5, 2022

🎉 This PR is included in version 1.4.35 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Allow kodiak to automerge commit when all checks pass released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants