With the new append shortcuts there is the possibility that your shortcut fails and if that happens the content you sent to the shortcut will be lost. There isn't a lot we can do to prevent that unfortunately, but we can attempt to save the content locally and then restore it on the next launch. So in this PR I have added a content recovery mechanism incase a shortcut fails. That way the user doesn't have to restore the written content if a shortcut fails.
Test
Build and run simplenote ios
Open up the shortcuts app and create an append to note or a create note with content shortcut
Disable the internet connections
run the shortcut
launch simplenote.
[ ] Confirm that a new note is created with the content from your shortcut
Review
(Required) Add instructions for reviewers. For example:
Only one developer is required to review these changes, but anyone can perform the review.
Fix
With the new append shortcuts there is the possibility that your shortcut fails and if that happens the content you sent to the shortcut will be lost. There isn't a lot we can do to prevent that unfortunately, but we can attempt to save the content locally and then restore it on the next launch. So in this PR I have added a content recovery mechanism incase a shortcut fails. That way the user doesn't have to restore the written content if a shortcut fails.
Test
launch simplenote.
Review
(Required) Add instructions for reviewers. For example:
Release