HomeiOS Developmentswift - iOS Firebase seems to hold resulting from StoreKit (which is...

swift – iOS Firebase seems to hold resulting from StoreKit (which is not getting used)


Up to now few weeks one thing apparently has modified with xcode/Apple which is inflicting our iOS regression assessments to hold on authentication utilizing Firebase.

Googling the interleaved log error Error enumerating all transactions: Error Area=ASDErrorDomain Code=509 "No lively account" UserInfo={NSLocalizedDescription=No lively account} appears to be associated to “Retailer Package”.

The authentication technique works completely advantageous when operating the app – this solely happens in our regression assessments.

Error enumerating unfinished transactions: Error Area=ASDErrorDomain Code=509 "No lively account" UserInfo={NSLocalizedDescription=No lively account}
[OlyPro.AuthController][logout()]
Error enumerating all transactions: Error Area=ASDErrorDomain Code=509 "No lively account" UserInfo={NSLocalizedDescription=No lively account}
[OlyPro.AuthController][email_login(vc:email:password:)]
$$$ + ready for login to finish + $$$
$$$ + ready for login to finish + $$$
func email_login(vc: UIViewController?, e mail: String, password: String) {
    
    os_log("[%s][%s]", log: .default, kind: .debug, String(describing: self), #operate)
    
    Auth.auth().signIn(withEmail: e mail, password: password) {(authResult, error) in
        os_log("[%s][%s] signIn", log: .default, kind: .debug, String(describing: self), #operate)
        if let consumer = authResult?.consumer {
            NotificationCenter.default.submit(identify: .loginComplete, object: nil, userInfo: nil)
            os_log("[%s][%s] * signIn success %@ *", log: .default, kind: .debug, String(describing: self), #operate, consumer)
            if vc != nil {
                vc!.performSegue(withIdentifier: "email_login_segue", sender: self)
            }
        } else {
            NotificationCenter.default.submit(identify: .loginFailed, object: nil, userInfo: nil)
            os_log("[%s][%s] * signIn fail :: %@", log: .default, kind: .error, String(describing: self), #operate, String(describing: error))
            if vc != nil {
                let dialogMessage = UIAlertController(title: "Consideration", message:  error?.localizedDescription, preferredStyle: .alert)
                let okay = UIAlertAction(title: "OK", model: .default, handler: { (motion) -> Void in
                    os_log("[%s][%s] Okay button tapped", log: .default, kind: .debug, String(describing: self), #operate)
                })
                dialogMessage.addAction(okay)
                vc!.current(dialogMessage, animated: true, completion: nil)
            }
        }
    }

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments