j3k0 / cordova-plugin-openwith

Get your Cordova App in the O.S. "Share" menu on iOS and Android
MIT License
138 stars 114 forks source link

Ensure task root #108

Closed franc5 closed 4 years ago

franc5 commented 4 years ago

This is a workaround to ensure the activity to behave as a singleTask.

We first check if the activity is the task root, and if not, we start a new activity from the same intent and finish the non-task-root one.