forked from e-mission/e-mission-data-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish the full cycle for the location permissions
- create a new category for the TripDiaryDelegate in the ForegroundDelegate - since the trip diary state manager is singleton, its delegate is also a singleton - expose the singleton delegate - register the foreground delegate as a callback to the TripDiaryDelegate from foreground calls - if the callback is for a foreground call, return the appropriate response from the plugin - if not, check the settings and generate a notification Includes fixes to the boolean checks (using @(NO) in a boolean check always returns TRUE) Includes copying over the `promptForPermissions` and `openAppStatus` methods. Related design decisions: - e-mission/e-mission-docs#680 (comment) - e-mission/e-mission-docs#680 (comment) - e-mission/e-mission-docs#680 (comment) - e-mission/e-mission-docs#680 (comment)
- Loading branch information
Showing
7 changed files
with
147 additions
and
58 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