spacemeshos / cosmic

🌱🌌 Seed for a universal (native iOS, native Android, web, desktop) app based on react native web, redux and Typescript
MIT License
32 stars 10 forks source link

Define pattern for static assets useage #16

Open avive opened 5 years ago

avive commented 5 years ago

Is your feature request related to a problem? Please describe. We need a clear pattern for using static assets in a cross-platform manner. e.g. images. For example - an extension of this method might work well for us: https://github.com/vovkasm/react-native-web-image

Describe the solution you'd like The solution should provide a clear pattern and a code example which implements the pattern. It is ok to assume that a cosmic app is always online - offline support is not a priority for the project. The solution needs to work well for all supported platforms. e.g. web, ios, android and desktop/electron.

Describe alternatives you've considered n/a

Additional context Add any other context or screenshots about the feature request here.