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

Add Wifi Aware as a section in the health tool #130

Merged
merged 8 commits into from
Nov 4, 2024

Conversation

rajramsaroop
Copy link
Contributor

@rajramsaroop rajramsaroop commented Oct 31, 2024

Fixes https://github.com/orgs/getditto/projects/32/views/1?pane=issue&itemId=74940891&issue=getditto%7CDittoAndroidTools%7C112

Adds Wifi Aware checking capability to the Health tool. The tool returns one of 3 statuses:

SUPPORTED - Wifi Aware is available for the device
UNSUPPORTED - Wifi Aware is not available for the device
UNSUPPORTED_ANDROID_VERSION - Using a version of Android older than 8.0/sdk 26 which is when Wifi Aware support was added

I have also updated the device details display the Android version and SDK version more clearly.

As for changes to the Health tool in general I have updated the HealthScreen() with an optional parameter to determine which tools are displayed (and the order is preserved). By default it displays all health items (Permissions and Wifi Aware capability).

Finally I found an issue with the dependency constraints for the Ditto SDK and those are fixed in this PR.

Below are some screenshots of the different states on different form factors (phone vs. tablet):

@rajramsaroop rajramsaroop marked this pull request as draft October 31, 2024 13:57
@rajramsaroop rajramsaroop marked this pull request as ready for review November 1, 2024 16:25
@rajramsaroop rajramsaroop merged commit ff13382 into main Nov 4, 2024
@rajramsaroop rajramsaroop deleted the rr/add-wifiaware-to-health-tool branch November 4, 2024 15:18
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

Successfully merging this pull request may close these issues.

3 participants