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

How to Maintain Connectivity with a Matter Device After Android App Data is Cleared or Reinstalled? #37206

Open
bhavin-android opened this issue Jan 27, 2025 · 0 comments
Labels

Comments

@bhavin-android
Copy link

I successfully commissioned and paired a Matter device using CHIPTool.apk from the Matter GitHub repository. Here is the issue I encountered and my question:

  1. Commissioning and pairing worked successfully.
  2. I was able to send commands (e.g., on/off) using the app.
  3. I noted down the fabric ID and device ID (node ID).
  4. After clearing the app data for CHIPTool.apk, the app could no longer send commands to the device using the same fabric ID and device ID.

Question:
What information is required to send commands to the same Matter device after the app's data is cleared, without needing to re-commission the device? Specifically:

  • Is it possible to avoid re-commissioning the device and still send commands after clearing app data?
  • What data do other Matter-supported apps persist to maintain connectivity even after app data is cleared?
  • Where should this data be stored for long-term usability, and how does it tie into the Matter protocol's security requirements?

Observations:
I’ve noticed other Matter-compatible apps seem to continue working even after clearing app data, so I believe re-commissioning isn’t necessary in such cases. Could you please clarify:

  • What specific keys, certificates, or other details must be retained for this to work?
  • Are there any best practices or recommended storage mechanisms (e.g., using the Android Keystore or encrypted storage) for this data?

Any guidance or references to documentation would be greatly appreciated. Thank you!

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

No branches or pull requests

2 participants