Skip to content

Commit

Permalink
Merge pull request #622 from hello/jimmy/settings
Browse files Browse the repository at this point in the history
device settings now show pill dfu availability
  • Loading branch information
jimmymlu authored Jul 13, 2016
2 parents ff20035 + 2824b89 commit 9aea684
Show file tree
Hide file tree
Showing 21 changed files with 393 additions and 87 deletions.
6 changes: 3 additions & 3 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PODS:
- CocoaLumberjack/Core
- CocoaLumberjack/Extensions (2.0.3):
- CocoaLumberjack/Default
- EVReflection (2.38.2)
- EVReflection (2.38.3)
- FBSDKCoreKit (4.11.0):
- Bolts (~> 1.7)
- FBSDKLoginKit (4.11.0):
Expand Down Expand Up @@ -152,7 +152,7 @@ CHECKOUT OPTIONS:
:commit: 0451b5e67dec46b8bc48fcad63d9f844cae1bf19
:git: git@github.com:hello/NAPickerView.git
SenseKit:
:commit: 2abc6afec11ce476920dd33c5ce4d0c61abe5557
:commit: a48ba92abbc822eae504f1a0ed9e75b6466ff3e6
:git: git@github.com:hello/SenseKit.git
SHSProtoBuf:
:commit: 86b2e176097f76d130c858164eca42e15b779073
Expand All @@ -176,7 +176,7 @@ SPEC CHECKSUMS:
Bugsnag: 4c3f744efa9d76d9b17fddbc940e881436464cee
CGFloatType: fa1da294540051a76750092a427b95296bbdc006
CocoaLumberjack: f58d8a19629f4d8379ae14bb3534def24161430e
EVReflection: 513bdc21d6b2c3e37668500f8098789cbe0d7eb9
EVReflection: c2160230031af745751e62b91870d25fe5b4e187
FBSDKCoreKit: 686ac982723a14ec9ddb85e2f81235d7706c891b
FBSDKLoginKit: bade9fc78277764149ccc5bfaadbf13c83175c6a
FXKeychain: 2fe54573946ffef634f4e2a2851e6c8f4ea15e76
Expand Down
29 changes: 25 additions & 4 deletions Pods/EVReflection/EVReflection/pod/EVReflection.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Pods/SenseKit/Pod/Classes/BLE/SENSleepPillManager.m

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Pods/Target Support Files/EVReflection/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Sense.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@
BFD4012C1BDED8E600F6C419 /* HEMSimpleModalTransitionDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = BFD4012B1BDED8E600F6C419 /* HEMSimpleModalTransitionDelegate.m */; };
BFD5643D19A3F31B002E461E /* HEMSensePairViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BFD5643C19A3F31B002E461E /* HEMSensePairViewController.m */; };
BFD9D2001BF27E2900948CB7 /* HEMSegmentProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = BFD9D1FF1BF27E2900948CB7 /* HEMSegmentProvider.m */; };
BFD9F1A81D36C43300BB4E3A /* HEMPillCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BFD9F1A71D36C43300BB4E3A /* HEMPillCollectionViewCell.m */; };
BFDCC7BE19DA078F007A922B /* HEMAnimationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = BFDCC7BD19DA078F007A922B /* HEMAnimationUtils.m */; };
BFDFCE9F1B72884B000DA303 /* HEMSensorValueFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = BFDFCE9E1B72884B000DA303 /* HEMSensorValueFormatter.m */; };
BFDFCEA21B729FEC000DA303 /* HEMSensorValueFormatterSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = BFDFCEA11B729FEC000DA303 /* HEMSensorValueFormatterSpec.m */; };
Expand Down Expand Up @@ -1100,6 +1101,8 @@
BFD9D1FE1BF27E2900948CB7 /* HEMSegmentProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HEMSegmentProvider.h; sourceTree = "<group>"; };
BFD9D1FF1BF27E2900948CB7 /* HEMSegmentProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HEMSegmentProvider.m; sourceTree = "<group>"; };
BFD9F1A51D35C30C00BB4E3A /* HEMSleepPillDFUDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HEMSleepPillDFUDelegate.h; sourceTree = "<group>"; };
BFD9F1A61D36C43300BB4E3A /* HEMPillCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HEMPillCollectionViewCell.h; sourceTree = "<group>"; };
BFD9F1A71D36C43300BB4E3A /* HEMPillCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HEMPillCollectionViewCell.m; sourceTree = "<group>"; };
BFDCA64A1BD6C0D200E9C33F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Onboarding.strings; sourceTree = "<group>"; };
BFDCC7BC19DA078F007A922B /* HEMAnimationUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HEMAnimationUtils.h; sourceTree = "<group>"; };
BFDCC7BD19DA078F007A922B /* HEMAnimationUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HEMAnimationUtils.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2746,6 +2749,8 @@
BFF3B4491A5DB5DD00B11643 /* HEMNoDeviceCollectionViewCell.m */,
BFF3B45A1A5F03AD00B11643 /* HEMWarningCollectionViewCell.h */,
BFF3B45B1A5F03AD00B11643 /* HEMWarningCollectionViewCell.m */,
BFD9F1A61D36C43300BB4E3A /* HEMPillCollectionViewCell.h */,
BFD9F1A71D36C43300BB4E3A /* HEMPillCollectionViewCell.m */,
);
name = Views;
sourceTree = "<group>";
Expand Down Expand Up @@ -3756,6 +3761,7 @@
BF0E37971C3C5BF000FEA097 /* UICollectionViewCell+HEMCard.m in Sources */,
8B1DB6DE1C18B35D006C8AFF /* HEMSelectHostPresenter.m in Sources */,
8A7D80491A421B7300B0BFD7 /* HEMAlarmListCell.m in Sources */,
BFD9F1A81D36C43300BB4E3A /* HEMPillCollectionViewCell.m in Sources */,
BF6D9B721C6966BD00774322 /* HEMTrendsCalendarMonthView.m in Sources */,
BFDCC7BE19DA078F007A922B /* HEMAnimationUtils.m in Sources */,
8AB82DE11B2BFB7B002D769D /* HEMTimelineMessageContainerView.m in Sources */,
Expand Down
5 changes: 3 additions & 2 deletions SleepModel/Base.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@

// actions
"actions.update-now" = "Update now";
"actions.update" = "Update";
"actions.retry" = "Retry";
"actions.cancel" = "Cancel";
"actions.close" = "Close";
Expand Down Expand Up @@ -851,7 +852,7 @@
"dfu.pill.error.title.update-failed" = "Update failed";
"dfu.pill.error.update-failed" = "There was a problem updating your Sleep Pill. Please try again.";
"dfu.pill.connected" = "Sleep Pill connected";
"dfu.pill.error.title.phone-battery" = "Phone battery low";
"dfu.pill.error.insufficient-phone-battery" = "Connect your phone to a power source before you continue with this update.";
"dfu.pill.error.title.phone-battery" = "Device battery too low";
"dfu.pill.error.insufficient-phone-battery" = "To continue this update, your mobile device needs to be charged at least 20% or be connected to its charger.";
"dfu.pill.error.title.pill-not-found" = "Sleep Pill not detected";
"dfu.pill.error.pill-not-found" = "Make sure to shake your Sleep Pill quickly for three seconds while holding it close to your mobile device.";
Loading

0 comments on commit 9aea684

Please sign in to comment.