share checkin_url query parameter name between backend and android

This commit is contained in:
Leo Schweizer
2018-08-09 16:01:12 +02:00
parent 805f7bca3f
commit c069592631
5 changed files with 9 additions and 5 deletions
@@ -41,7 +41,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
setup()
Branch.getInstance().initSession(launchOptions: launchOptions) { (params, error) in
guard let data = params as? [String: AnyObject] else { return }
if let checkinUrl = data["checkinUrl"] as? String {
if let checkinUrl = data["checkin_url"] as? String {
Preferences.newCheckInURL = checkinUrl.removingPercentEncoding
}
}