-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Feature description
Some apps and websites declare explicit intents to open tracks in another app. The explicit intent is forwarded to Google Play if the app isn't found, completely missing Redomi.
Why do you want it?
Google's search page uses an intent to launch Spotify when you search for a song.
It gives you a list of music services where the track is available, but for some reason it uses an intent for Spotify and Spotify only while relying on a simple URL based approach.
Additional context
Example
Shown on this page: https://www.google.com/search?q=googoo+dolls+iris&oq=googoo+dolls+iris&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCDQ1NTRqMGo0qAIBsAIB&client=ms-android-google&sourceid=chrome-mobile&ie=UTF-8
Intent: intent://track/6Qyc6fS4DsZjB2mRW9DsQs#Intent;scheme=spotify;package=com.spotify.music;S.android.intent.extra.REFERRER_NAME=https%3A%2F%2Fwww.google.com;end
Sending the explicit intent gets intercepted by Google Play, and if the explicitly declared package name is not present, Google play takes me to the app store page for the app.
You can see that for the same song on the same page, Google uses web URLs for Amazon Music, Apple Music and YouTube Music.