mirror of
https://github.com/netbirdio/android-client.git
synced 2026-09-23 09:30:52 -07:00
Uploading the debug bundle hands the user a key and nothing else. Users who want to see what the bundle contains before sharing it, or who will not upload from a beta build, have no way to get at it. Add a second action to the Troubleshoot screen that opens the system file picker and writes the bundle where the user chooses. The engine generates the zip into the app cache through the new DebugBundleFile bridge call; the fragment copies it into the picked document and removes the temporary file. On failure the picked document is deleted so no empty file is left behind. Both bundle buttons are disabled while either runs, since they share one generator. The anonymization switch applies to the saved bundle exactly as it does to the uploaded one. Bump the netbird submodule to the commit that adds DebugBundleFile and the stale bundle cleanup. Until that change lands on netbird main the pointer references the branch commit; it has to move to the merged commit before this is merged.