-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for createTrip without starting tracking immediately (#411)
* Allow for createTrip without starting tracking immediately * tripOptions.scheduled --> tripOptions.startTracking (defaults to YES) * Fix deps * more deps fixing * Fix class impl * add back declaration * fix typo * Fix conditional * Add example app testing * null out startTrackingAfter and stopTrackingAfter to prevent indadvertent starts and stops of tracking * Fixes * version bump --------- Co-authored-by: KennyHuRadar <139801512+KennyHuRadar@users.noreply.github.com> Co-authored-by: Kenny Hu <kenny.hu@radar.com>
- Loading branch information
1 parent
8abf09d
commit fe1f485
Showing
12 changed files
with
132 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// RadarRouteMode.m | ||
#import "RadarRouteMode.h" | ||
|
||
@implementation RadarRouteModeUtils | ||
|
||
+ (NSString *)stringForMode:(RadarRouteMode)mode { | ||
switch (mode) { | ||
case RadarRouteModeFoot: | ||
return @"foot"; | ||
case RadarRouteModeBike: | ||
return @"bike"; | ||
case RadarRouteModeCar: | ||
return @"car"; | ||
case RadarRouteModeTruck: | ||
return @"truck"; | ||
case RadarRouteModeMotorbike: | ||
return @"motorbike"; | ||
default: | ||
return @"unknown"; | ||
} | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.