Skip to content

Commit

Permalink
Added app integration flow drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
mproqueueit authored Sep 18, 2019
1 parent a5fe9b9 commit dd9befa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,10 @@ The implementation of the example controller looks like follows:
// Callback for engine.queueUserExitedDelegate
NSLog(@"User has left the queue");
}
```
```
As the App developer your must manage the state (whether user was previously queued up or not) inside the apps storage.
After you have received the "On Queue Passed callback", the app must remember this, possibly with a date / time expiration.
When the user goes to the next page - you check this state, and only call QueueITEngine.run in the case where the user did not previously queue up.
When the user clicks back, the same check needs to be done.

![App Integration Flow](https://github.com/queueit/ios-webui-sdk/blob/master/App%20integration%20flow.PNG "App Integration Flow")

0 comments on commit dd9befa

Please sign in to comment.