-
Notifications
You must be signed in to change notification settings - Fork 514
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
Scrub Stats Upload #150
Scrub Stats Upload #150
Conversation
Removes the upload of statistics to Nightscout
I discovered some weird stuff in the FreeAPS.xcodeproj/project.pbxproj file. I don't know, but suspect this is related to the statistics you want to scrub.
|
I don't know what that's for, but it doesn't seem to be connected to uploading statistics |
These are usage descriptions that are mandatory to enter as an Apple developer when requesting access to use sensitive data like Apple Health data. We should obviously write proper descriptions for this. I assume we will find nice templates for this in Loop. |
I believe you are incorrect @bjornoleh. Try this command in LoopWorkspace - you will get silence. The same command in our repo provides those same 6 lines I reported about.
|
Blame say jbm added this as part of a new build number (one more reason for atomic commits) in 3 Sep 2022. |
So Loop does not have this, but here is the documentation: And some discussion here: https://stackoverflow.com/questions/39596622/nshealthshareusagedescription-must-be-set-in-the-apps-info-plist-in-order-to-re Edit: Loop does seem to have those usage description strings in info.plist? I am not finding |
peace. Let's leave them alone. Sorry to highjack this PR comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great! 👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Built and tested briefly, nothing unusual to report. The Upload statistics toggle is removed from NS settings as expected.
Removes the upload of statistics to Nightscout. As far as I know, this data was only used to upload statistics to a website not associated with this project at all. Applying this code did not affect any of the in-app statistics in my testing.