Open oa-s opened 2 years ago
Sounds useful. So request background time if there’s an active WalletConnect session? Want to try it out?
Actually without this, what happens if the app is suspended, an incoming request and the app is resumed? Is it queued?
But wait. Doesn’t the universal link for AlphaWallet get triggered and the apps switched to for signing requests?
Sounds useful. So request background time if there’s an active WalletConnect session? Want to try it out?
actually don't know for now, it needs to check.
But wait. Doesn’t the universal link for AlphaWallet get triggered and the apps switched to for signing requests?
it the app get triggered by universal link (and its in suspended state) it still should process the universal link, and open approproate screen.
so yes, we need to check if there is connection for socket with WalletConnect
But wait. Doesn’t the universal link for AlphaWallet get triggered and the apps switched to for signing requests?
it the app get triggered by universal link (and its in suspended state) it still should process the universal link, and open approproate screen.
Oh of course! The user wouldn't know to check their phone I guess, even if the app is triggered via Universal Link. Yes, good to explore this.
Close due to disconnection web socket on entering background:
@objc
private func appDidEnterBackground() {
wakuRelay.disconnect(closeCode: .goingAway)
}
@oa-s can we request for background time and delay calling disconnect()
until background session is expiring?
Do close if it's concluded after this.
It would be greate if to use local notification for wallet connect requests, in case if the app in backgroud. To notify user about incoming request