Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change AndroidTv Name, Logo, Launcher Logo #172

Open
saimirg opened this issue Sep 20, 2023 · 11 comments
Open

How to change AndroidTv Name, Logo, Launcher Logo #172

saimirg opened this issue Sep 20, 2023 · 11 comments

Comments

@saimirg
Copy link

saimirg commented Sep 20, 2023

Hi, where do change/assign application name, logo, launcher, etc for AndroidTv and FireTv APPs ?

@aurimasmi
Copy link
Contributor

Are you using react native or renative?

@saimirg
Copy link
Author

saimirg commented Sep 21, 2023 via email

@saimirg
Copy link
Author

saimirg commented Sep 22, 2023

Im following below folder structure but images under /appConfigs/helloworld/asstes are not being transferred to apps under platformBuilds folders.

image

@pauliusguzas
Copy link
Collaborator

pauliusguzas commented Sep 22, 2023

@saimirg things you described are editable in appConfigs/[APP_ID], under renative.json you can change app name, app id, used engines and so on. App icons are also under appConfigs, from example of create-template-starter https://github.com/flexn-io/create/tree/main/packages/template-starter/appConfigs/base/assets/runtime I see that icons are under runtime folder. Can read a bit more about project configuration here if that helps https://renative.org/docs/guides/advanced-configuration

@saimirg
Copy link
Author

saimirg commented Sep 25, 2023

hi @pauliusguzas i've bee doing several tests but the two files ic_log and ic_launcher get overwritten everytime.
I;ve also tried adding new files on respective folders as documentation says, but again they don't get copied into platformBuilds folder.

@pauliusguzas
Copy link
Collaborator

@saimirg what versions of rnv and create are you using? And node

@saimirg
Copy link
Author

saimirg commented Sep 27, 2023

Hi, these are the details. I need to understand where in the folder structure i need to place ic_logo and ic_launcher, or even other image names, so that that they are copied to /platformBuilds/... respective app.

image

@aurimasmi
Copy link
Contributor

@saimirg it's default folder structure where you should place your assets. As you can see there are multiple drawable folders difference is resolution. Do you see these folders in your file structure?
CleanShot2023-10-02at09 53 48

@saimirg
Copy link
Author

saimirg commented Oct 2, 2023

No, i dont see those folders, i only have base->assets. Shall i create those ?

@pauliusguzas
Copy link
Collaborator

The issue is that create template uses imported assets. Go to appConfigs/app/renative.json and add "assetSources": null under common to not import assets and then you should be able to use your custom assets

@saimirg
Copy link
Author

saimirg commented Oct 6, 2023

Hi @pauliusguzas, i'm still having a difficult time figuring out. The configuration you proposed is not transferring default logo and launcher anymore. I replaced the only to files, ic_logo and ic_launcher, however i still see the default logo when i add the app on homepage of an android tv. Everywhere else i see my logo.
image

Also, how do I latter make this dynamic, where do i have to place ic_logo and ic_launcher so they can get copied to respective destinations on runtime ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants