Hey y'all, what's the recommended way to use a LaunchAction to launch an activity that isn't in your module ?
My scenario is that I have an app module which has my main activity (on wear), and then I have a tile module for my tile. I'd like to open the main app via the tile on a button click
04/20/2023, 5:59 PM
Use TaskStackBuilder invoked from a LoadAction, and skip LaunchAction. launchAction doesn't support deeplinks or proper navigation state such as recents. Deeplinks should work well if you want to avoid sharing the activity class.
This might be a stupid question, but will the hard coded strings resolve correctly regardless of obfuscation? I assume yes since they're part of compose navigation routes. It's just been a while for me
04/20/2023, 8:39 PM
Why would the strings be obfuscated?
They need to match entries in the manifest, and are publicly visible
04/20/2023, 8:43 PM
Yeup stupid question 😅 I was still in the mindset of using LaunchAction and using a similar mechanism to class.java.getName()