Hi Framework7 Community,
I am building the cordova application using React and I am using IndexedDB to store local information on the device.
Why is the images in the src assets folder not appearing in the cordova/www/assets folder upon building cordova for android?
Thank you and any help would be appreciated,
iDev
December 27, 2023, 3:49pm
2
I suggest you link the src assets" folder to cordova/www/assets folder using symbolic links.
Symlinks on Linux
Symlinks on Windows
Alternatively, you can use an assets bundler like webpack to copy the images to the cordova/www/assets folder.
Thank you for replying back. I actually ended up solving it by simply moving the images into the public folder and changing the path to match the path found on Android Studio.