We are currently working with a multi-app kiosk provider to replace our tablet's home screen. Our goal is to use icons to call specific activities via intents, such as geotabdrive://dvir, to bring portions of the Geotab Drive experience directly to the home screen.
It appears that because Geotab Drive uses the singleTask launch mode, the following issue occurs when the app is already running:
1. The kiosk provider fires geotabdrive://dvir as an intent.
2. Android brings the main activity to the foreground and clears the stack.
3. While the deep link path should be handled in onNewIntent, the internal web view router seems to reset to /main instead of navigating to the target.
Is there a recommended way to ensure deep links work correctly in this scenario?