Git Product home page Git Product logo

Comments (11)

aurimasmi avatar aurimasmi commented on July 18, 2024

Are you using react native or renative?

from create.

saimirg avatar saimirg commented on July 18, 2024

from create.

saimirg avatar saimirg commented on July 18, 2024

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

image

from create.

pauliusguzas avatar pauliusguzas commented on July 18, 2024

@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

from create.

saimirg avatar saimirg commented on July 18, 2024

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.

from create.

pauliusguzas avatar pauliusguzas commented on July 18, 2024

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

from create.

saimirg avatar saimirg commented on July 18, 2024

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

from create.

aurimasmi avatar aurimasmi commented on July 18, 2024

@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

from create.

saimirg avatar saimirg commented on July 18, 2024

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

from create.

pauliusguzas avatar pauliusguzas commented on July 18, 2024

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

from create.

saimirg avatar saimirg commented on July 18, 2024

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 ?

from create.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.