triggerScan

Starts a scan for the most recently installed activity and returns the shared state flow.

This is useful for consumer-side triggers such as long press, shake, or debug menu actions. Returns an empty flow when no scanner is installed.

Throws

in non-debug builds or if called before install.