1. What is the problem? Be very detailed.
When I create a QR code to share my Collect settings I don't want to share my own sensitive data (i.e. my Google Account ID - I'm assuming that this wouldn't actually give access to my account as the password is not stored, it's been authenticated via Google?)
For example, if my 'source' device for the QR code has server settings for Central/ Aggregate and Google Sheets, does that mean that the 'receiving' devices will then have the Google account included even if ODK is set to use Aggregate/Central? If I don't want to share my Google ID, is there a [simple] way of removing that key?
2. What app or server are you using and on what device and operating system? Include version numbers.
Collect 1.28.2
3. What you have you tried to fix the problem?
I think that all the keys shown at https://docs.getodk.org/collect-import-export/#making-your-own-qr-code are included / populated?
Based on that web page I think it is: "selected_google_account": String,
It might be beyond this forum to provide a tutorial how to do this, but reverse 'engineering' what the docs page says, I think I might need to...
Decompress the text from the QR code using zlib (nice simple statement, hiding a multitude of sins!)
Edit the JSON object (remove the String from the above key)
Compress the edited JSON using zlib (more hidden sins in that one!)
Create a new QR code (Oh, I know how to do that!)
So, I got as far as creating a [compressed?] text string of the QR code using my standard QR scanner. How do I decompress that string using Windows 10 and turn it into a JSON object?
What interface / libraries do I need and can I access them without furkling down the back of my hard drive or CPU?
4. What steps can we take to reproduce the problem?
Create a QR code and see if it includes the google account id (but you'd need to be able to interpret the compressed text!) Currently I'm stuck at [de]Compress it using zlib.
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
If this were a feature request, I would add that it would be nice to be able to select which account settings to include in the QR code, to save needing to edit the QR code externally.