Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.6.1 to Main Trigger Beta #1786

Merged
merged 10 commits into from
Feb 2, 2023
13 changes: 1 addition & 12 deletions Kickstarter-iOS/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AppboyUI
import AppboyKit
import AppCenter
import AppCenterDistribute
import FBSDKCoreKit
Expand Down Expand Up @@ -301,17 +301,6 @@ internal final class AppDelegate: UIResponder, UIApplicationDelegate {
self?.viewModel.inputs.perimeterXCaptchaTriggeredWithUserInfo(note.userInfo)
}

NotificationCenter.default
.addObserver(
forName: Notification.Name.ksr_appboyCreated,
object: nil,
queue: nil
) { [weak self] _ in
guard let strongSelf = self else { return }

Appboy.sharedInstance()?.inAppMessageController.delegate = strongSelf
}

self.window?.tintColor = .ksr_create_700

self.viewModel.inputs.applicationDidFinishLaunching(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,15 @@ public final class LoginToutViewController: UIViewController, MFMailComposeViewC

AppEnvironment.login(accessTokenEnv)

guard featureFacebookLoginDeprecationEnabled(),
let needsPassword = accessTokenEnv.user.needsPassword,
needsPassword else {
strongSelf.pushSetYourPasswordViewController()

return
}
/** FIXME: Not releasing this yet - re-test functionality as it failed regression testing on release-5.6.1 (see confluence regression testing document)
guard featureFacebookLoginDeprecationEnabled(),
let needsPassword = accessTokenEnv.user.needsPassword,
needsPassword else {
strongSelf.pushSetYourPasswordViewController()

return
}
*/

strongSelf.viewModel.inputs.environmentLoggedIn()
}
Expand Down