Add troubleshooting menu to settings, with Thread credentials sync #3614
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Implements a troubleshooting/developer settings menu in the app settings to implement #3583
The troubleshooting menu contains options you'd find in Android's developer settings menu, and should not be in the main app settings list. Viewing logs and enabling WebView debugging is moved to this menu.
Thread credentials sync will trigger the normal sync cycle and show the outcome to help users with troubleshooting Thread/Matter commissioning issues.
Screenshots
New item in the main app settings:
The troubleshooting menu contains the previously mentioned three items:
Syncing Thread credentials has multiple possible outcomes, a few examples:
(edit: messages have been updated to be less technical, view
strings.xml
)Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#950
Any other notes
Thread specific testing note: the debug app cannot manage HA credentials added by the production app so you may need to reset Play Services storage to get different results