Cap-go / capacitor-inappbrowser

Capacitor plugin in app browser with urlChangeEvent
MIT License
58 stars 38 forks source link

add option to prevents deep links from opening directly in one app when multiple duplicate apps are installed on the device #33

Closed JeetuChoudhary closed 1 year ago

JeetuChoudhary commented 1 year ago

This pull request adds new functionality to the @capgo/in-app-browser plugin that prevents deep links from opening directly in one app when multiple duplicate apps are installed on the device. For instance, if both WhatsApp and WhatsApp Business are installed, the user will now be prompted to choose which app to open the link in.

This new feature helps to provide a better user experience by allowing users to easily choose which app to use for specific links, without being redirected to a default app.

I have tested this implementation and it works as expected. I believe this feature will be a valuable addition to the @capgo/in-app-browser plugin and I look forward to your feedback.