-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add Trio-Specific App Group for Isolated Data Storage #314
Conversation
Co-Authored-By: Marion Barker <[email protected]>
See testing done with xDrip4iOS at this comment:
I will test this PR after the inadvertent CGMBLEKit change is removed. |
Summary
Test DetailsxDrip4iOS ConfigurationxDrip4iOS version 5.3.1 was released today.
Trio Configuration
Update notes:
If you then return to dev without this PR, you need to repeat the steps under Update notes to restore the app group to Loop. |
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.
Sorry - I failed to notice the testflight.md change has an issue. This needs to be updated before this can be merged
This PR cannot be tested using the patch method. (I think this is a case where However, the dnzxy:trio-app-group branch is now fully update wrt dev, so I can switch to that branch and test that way. I will test the Build Action following along in the modified testflight.md and report back. |
Still many issues with testflight.md. Sent information to @dnzxy via PM. Tested the Browser Build and that works. It's just the direction that need to be updated. |
7086028
to
74ba595
Compare
Updated now again. |
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.
I wonder if we should add a comment to this section indicating it is required moving from before and after Trio App Group was merged to Trio. We can remove all beta-tester info a month or two after the release.
## Add App Group to Bundle Identifiers
> This step is required for first-time builders using GitHub Actions (Browser Build).
> If you previously built using a Mac with Xcode you can skip ahead to [Create Trio App in App Store Connect](#create-trio-app-in-app-store-connect).
I've addressed the other points and have added a hint around app group and beta testing
Let me know what you think. Admittedly, I'd rather not spend much more time on updating |
For whoever gives the final ✅ and merges this: I'd suggest to merge this with squash+merge; no need to bloat up commit history with merge commits of upstream |
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.
I approve this version of testflight.md (the instructions for building).
I previously tested the modifications that use the Trio App group instead of the Loop App group extensively. It works for Mac-Xcode build and for Browser Build and works with xDrip4iOS 5.3.1 release.
I just submitted an Issue report to xDrip4iOS after doing some testing for this PR. I'll poke at it some more tonight to hopefully figure out a solution that allows both Trio & Loop/iAPS to use xDrip4iOS as a heartbeat. |
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.
Not sure why heartbeat didn’t work for me before, but it’s working now, so all good.
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.
I have reviewed all comments and changes. Looks good.
This pull request addresses the issue of shared app group data conflicts (addresses and solves #313).
It introduced a Trio-specific app group:
group.org.nightscout.YOUR-TEAMID.trio.trio-app-group
.Changes:
APP_GROUP_ID
with valuegroup.$(BUNDLE_IDENTIFIER).trio-app-group
to Trio scheme.xcconfig
file to removeAPP_GROUP_ID
as its now set via build settings.testflight.md
to document the new Trio app group setup.Benefits:
Implications:
3. Create Certificate
and4. Build Trio
actions.Optional: Description Modification
intestflight.md
to rename the display name of the app group on Apple Developer for more clarity.Breaking Changes:
This PR will stay in draft mode for the time being until the maintainers of xDrip4iOS have had the chance to make small changes to accommodate the changed app group and give users the functionality to choose between apps (i.e. app groups) to share data with