0

I am developing react native where I have used the WalletConnect third party library which prompting the various supported app while connecting with other app.

When I connect my app with other app first time it show all app but when user select set as default then user can't be able to see all three options next time.

Please check screen shot :- enter image description here

However we can clear the default settings from settings. But is there any way to restrict android OS to not let set my app link in other app's default.

Pankaj Sonava
  • 519
  • 4
  • 20

1 Answers1

0

Try with this

getPackageManager().clearPackagePreferredActivities(getPackageName());

Sachin Harne
  • 175
  • 2
  • 14