Open saimirg opened 9 months ago
Are you using react native or renative?
Im using renative.
On Thu, 21 Sep 2023 at 9:10 AM, Aurimas Mickys @.***> wrote:
Are you using react native or renative?
— Reply to this email directly, view it on GitHub https://github.com/flexn-io/create/issues/172#issuecomment-1728981630, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYOZ5RIH5ZJ7P5X4WRYZ7LX3PR7ZANCNFSM6AAAAAA5AHV3EY . You are receiving this because you authored the thread.Message ID: @.***>
Im following below folder structure but images under /appConfigs/helloworld/asstes are not being transferred to apps under platformBuilds folders.
@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
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.
@saimirg what versions of rnv and create are you using? And node
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.
@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?
No, i dont see those folders, i only have base->assets. Shall i create those ?
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
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.
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 ?
Hi, where do change/assign application name, logo, launcher, etc for AndroidTv and FireTv APPs ?