Skip to content
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

DIGI-17598 Ongoing Postbox support #202

Merged
merged 3 commits into from
Mar 5, 2021

Conversation

michaeleustace
Copy link
Contributor

Adds support for Ongoing Postboxes with updated examples and documentation.

Other changes:

  • Fixes some flow errors
  • Now builds URL for interaction with digi.me app correctly
  • All SDK functions now complete on main thread

* Fix some flow errors

* WIP

* Split common ongoing OAuth flow into separate class: DMEOAuthService

* Move some more functions to OAuthService

* Ensure that all pull and push client callbacks occur on main thread.

* OAuthToken and OngoingPostbox now conform to NSSecureCoding.

* Split action for opening digi.me app into host and path where necessary.

* Bump cyclic endpoints to v1.4

* Add workspace checks

* Update new SDK functions to complete on main thread

* Return an SDK error if try to use ongoing postbox with one-off contract

* Update Swift demo to include ongoing postbox example

* Update tests

* Oops. Wasn't actually pushing data using oauth token!!
…201)

* Add example contracts for private sharing

* Add example contracts and p12s

* Fix error when decoding ongoing postbox

* Store ongoing postboxes in example.

* Add instruction for user to try relaunching app after first ongoing postbox push

* Update ongoing private sharing contract.

Added info about each contract in the code.

* Fix broken CA pull examples.
* Add Ongoing Postbox documentation

* Add migration tips for breaking code

* Update Postbox docs with breaking changes and reference ongoing gpostbox

* Fix scope documentation to refer to DMESessionOptions

* Fix spelling

* Fix broken link in getting started

* Remove unnecessary docsets

* Ignore docsets in future and any intermediary files for documentation generation

* Split sources & scripts for documentation generation into seperate folder

* Add documentation for Swift files

* Update readmes
@hamiltonalex hamiltonalex merged commit 646c7f6 into master Mar 5, 2021
@hamiltonalex hamiltonalex deleted the epic/DIGI-17598_cyclic_postbox branch March 5, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants