Add FCast app launcher - #846
Open
AlexCherrypi wants to merge 1 commit into
Open
AlexCherrypi wants to merge 1 commit into
AlexCherrypi wants to merge 1 commit into
Conversation
FCast is an open source casting protocol and receiver by FUTO, used as the cast target by Grayjay among others. The receiver runs on Android TV and Google TV devices, so a launcher button is useful on the same remotes Firemote already supports. Package names come from the receiver's build.gradle: the base applicationId is com.futo.fcast.receiver, and the Play Store product flavor appends the suffix .playstore. Devices that install from the Play Store therefore use com.futo.fcast.receiver.playstore, while a sideloaded build keeps the base id. The launcher activity is .MainActivity in both cases, since applicationIdSuffix does not rename the class. The logo is the receiver's own mark, taken from the FCast app, in white on the brand blue #0a62f5 - the same arrangement the app icon uses.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FCast is an open source casting protocol and receiver by FUTO. It is what Grayjay casts to, and the receiver runs on Android TV and Google TV, so it fits the remotes Firemote already covers.
Package names
Taken from the receiver's
build.gradle:So there are two ids, and the entry uses each where it applies:
com.futo.fcast.receiver.playstorecom.futo.fcast.receiverThe launcher activity is
.MainActivityin both cases —applicationIdSuffixchanges the application id, not the class name — so the ADB command for the Play Store flavor spells the class out in full:Confirmed against
AndroidManifest.xml, where.MainActivitycarries bothLAUNCHERandLEANBACK_LAUNCHER.Logo
The receiver's own mark, white on the brand blue
#0a62f5— the arrangement the app icon itself uses. Samebuttonandbutton-roundartwork, as several other square logos in the catalogue do.Checks
node --checkpasses on the modified filelauncherData["fcast"]returns the expected object, catalogue count goes from 385 to 386fanduel-sports-networkandfioptics-plus, CSS likewise before.fiopticsPlusButtonApologies if an app shortcut request issue was the preferred route — the entry was straightforward enough that a PR seemed more useful than a request.