Skip to content

Conversation

@charvoa
Copy link

@charvoa charvoa commented Sep 4, 2018

  • We added a Delegate in DialogManager in order to know when the "dismiss" button is called.
  • We added a Delegate in LaunchGate in order to know if the app needs update or no.
  • We added a StringHandler, which is a struct that contains the strings displayed in the popup. Why ? Because, at the moment, we are handling Localization on the client side, and not on the back-end side. So we need to be able to provide strings to display in order to display them instead of the text that's in the JSON.

}
- Returns: A `LaunchGate` instance or `nil`
*/
public init?(configURI: String, appStoreURI: String, stringHandler: StringHandler? = nil, dialogDelegate: DialogManagerDelegate? = nil) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line Length Violation: Line should be 120 characters or less: currently 141 characters (line_length)

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.

3 participants