Commit 3c8393a
Add remote commands via APNS for Loop users (#434)
* Add remote commands via APNS for Loop users
* Use already available overrides from ProfileManager for Loop APNS
* sha1 is no longer needed
* Removed CommonCrypto since it is not used.
* Undo change
* Revert APNS-related changes in Config.xcconfig from commit d5ce515
* Fix for loopapns setup not updating and reverting to default value
* Fix rounding for bolus confirm button
* Centralize jwt-management
* Use the sama apnskey, keyid and team storage as trio
* Remove stray references to loopAPNS variables
* Avoid publishing changes from within view updates for Loop APNS setup
* Align buttons with TRC
* Fix for crashing camera
* cleanup
* Cleanup
* Add countdown for Loop TOTP code
* Mitigate app hang when scanning or adding totp url
* Simplified validation
* Remove manual device token refresh and move debug info to main settings
* Add current totp code to debug / info section
* Conditionally enable Nightscout remote type based on if the user is using Trio
* Fix for devicetoken and bundleid missing
* Removed dead code
* Removed dead code
* Swapped the incorrect error invalidURL to invalidConfiguration
* Refactor OverridePresetsView to use alerts for success/error feedback instead of inline messages
* Fix typo
* Separate error for jwt token
* Merge settings for Loop and Trio
* Move guardrails up
* Cleanup
* Text adjustment
* Loop remote setup wll fail if team id is missing
* Use entire screen for message when loop apns setup is missing
* XCode auto format
* Restore accidently removed code
* Fix: Preserve APNS production setting when absent from profile on sync
* Refactor(UI): Correct navigation structure in RemoteSettingsView to fix header
* Fix label in Remote Settings to 'Loop Remote Control' for naming consistency
* Add current active override to Loop override screen
* Add time picker for carbs timing and fix absorption time with default emojis
* Fix multiline TextEditor Done button to dismiss keyboard instead of inserting newline
* Extract aps error message
* Moved down TRC below LRC
* Fix for showing errors correctly
* Extract Loop apns error data
* Reset to remote control type to none if the looping system is incorrect
* Use Random carb entry seconds to avoid NS issues reflecting carbs
* Revert accidental change to project.pbxproj
* rearrange items on Remote Settings screen
* modify import to enable building with Xcode 26 beta 4
* Add extra decimal to insulin input for pumps with more granular dosing
* Add better warnings for bolus recommendations
---------
Co-authored-by: Jonas Björkert <jonas@bjorkert.se>
Co-authored-by: marionbarker <marionbarker@earthlink.net>1 parent 2442d1b commit 3c8393a
File tree
34 files changed
+2743
-575
lines changed- LoopFollow.xcodeproj
- LoopFollow
- Alarm
- BackgroundRefresh/BT
- Controllers
- Nightscout
- Extensions
- Helpers
- Views
- Nightscout
- Remote
- LoopAPNS
- Loop
- Settings
- TRC
- Settings
- Storage
- ViewControllers
34 files changed
+2743
-575
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
Large diffs are not rendered by default.
Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
1774 | 1831 | | |
| 1832 | + | |
| 1833 | + | |
1775 | 1834 | | |
1776 | | - | |
| 1835 | + | |
1777 | 1836 | | |
1778 | 1837 | | |
1779 | 1838 | | |
1780 | | - | |
| 1839 | + | |
1781 | 1840 | | |
1782 | 1841 | | |
1783 | 1842 | | |
1784 | 1843 | | |
1785 | 1844 | | |
1786 | 1845 | | |
1787 | | - | |
1788 | 1846 | | |
1789 | 1847 | | |
1790 | 1848 | | |
1791 | 1849 | | |
1792 | 1850 | | |
1793 | | - | |
1794 | 1851 | | |
1795 | 1852 | | |
1796 | 1853 | | |
1797 | 1854 | | |
1798 | 1855 | | |
1799 | 1856 | | |
1800 | 1857 | | |
1801 | | - | |
1802 | 1858 | | |
1803 | 1859 | | |
1804 | 1860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments