Hello, I'm implementing the wallet extension for a financial app. Right now I'm having a problem, I want to redirect to the main app when the user hasn't logged in. Is it possible?
This is my code in the WalletUI. It just doesn't work.
let urlString = "bank://login"
guard let url = URL(string: urlString) else { return }
self.extensionContext?.open(url, completionHandler: { success in
if !success {
print("Success")
} else {
self.completionHandler?(.canceled)
}
})
}