Last active
October 8, 2015 18:50
-
-
Save rmosolgo/064f2e7c352fd6136b70 to your computer and use it in GitHub Desktop.
Passbook flow
This file contains hidden or 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
| _____ ___ __ __ ____ _____ _____ __ __ | |
| ||_// ||=|| (( (( ||=) (( )) (( )) ||<< | |
| || || || \_)) \_)) ||_)) \\_// \\_// || \\ | |
| _____ _____ | |
| |- == | .-,( ),-. |-----| | |
| |Web | .-( )-. | iOS | | |
| | App| ( Apple Server ) | | | |
| | | '-( ).-' |-----| | |
| '-----' '-.( ).-' `--°--' | |
| __ ____ _____ __ ___ __ __ __ | |
| / /`_ | |_ | | / /\ | |_) / /\ ( (` ( (` | |
| \_\_/ |_|__ |_| /_/--\ |_| /_/--\ _)_) _)_) | |
| Generate signed | |
| .zip file | |
| | | |
| `-----------(✉ email)-------> Add to | |
| Wallet | |
| | | |
| Register <------------/ | |
| with Apple | |
| | | |
| ,---------------/ | |
| V | |
| Save the | |
| Apple device ID | |
| ... ◴ ◵ ◶ ◷ ... | |
| ___ _ __ _ _ ___ ___ __ _____ ____ __ | |
| | |_) | | | ( (` | |_| | | | | |_) | | \ / /\ | | | |_ ( (` | |
| |_| \_\_/ _)_) |_| | \_\_/ |_| |_|_/ /_/--\ |_| |_|__ _)_) | |
| Info is updated | |
| | | |
| `--(HTTP POST ✍)---. | |
| V | |
| Enqueue Push | |
| | | |
| `--------------> Buzz! | |
| ... ◴ ◵ ◶ ◷ ... | |
| _ _ __ _ ___ __ __ ___ _ ___ ____ | |
| | | | | |\ | ( (` | | | | |_) ( (` / /` | |_) | | | |_) | |_ | |
| \_\_/ |_| \| _)_) \_\_/ |_|_) _)_) \_\_, |_| \ |_| |_|_) |_|__ | |
| ✗ No thanks | |
| | | |
| ,-----------------/ | |
| V | |
| Register the | |
| removal | |
| | | |
| ,--(HTTP DELETE ✍)---/ | |
| V | |
| Remove the | |
| registration | |
| from the DB | |
| - stop sending pushes | |
| - might be registered | |
| on multiple devices | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment