solana-mobile/mobile-wallet-adapter

ActivityResultSender doesnt release lock if intent fails

ankur2136 opened this issue · 1 comments

onActivityComplete is never called if there is no activity installed which can handle the intent.
This causes the lock to remain held and another intent cannot be launched till the app is killed.

cc @sdlaver @Funkatronics

I think we need to add an explict check in MobileWalletAdapter.kt:51 before sender.startActivityForResult to check if the intent can be handled by any installed activity or not.