File path should not being with leading /
Something like <img src="/images/foo.png"> would work on a website but wont work on phonegap. Because while a browser looks for the image from the root of the website, phonegap looks for the file from the root of the filesystem. Also applies to url() in css files.
SVG requires fixed height and width
Give fixed height and width to SVG images or they might stop rendering.
Changing the application icon
While the docs says to put <icon src=...> in the config.xml to change the app icon, I couldn't make it to work. So for android, I just pasted the icon image at platforms/android/res/drawable which worked.
Unsigned APK files wont be installed on phones
Before distrubuting an APK file, it must be signed using jarsigner. Steps to generate and sign apk file here.
File path should not being with leading /
Something like
<img src="/images/foo.png">would work on a website but wont work on phonegap. Because while a browser looks for the image from the root of the website, phonegap looks for the file from the root of the filesystem. Also applies to url() in css files.SVG requires fixed height and width
Give fixed height and width to SVG images or they might stop rendering.
Changing the application icon
While the docs says to put
<icon src=...>in the config.xml to change the app icon, I couldn't make it to work. So for android, I just pasted the icon image atplatforms/android/res/drawablewhich worked.Unsigned APK files wont be installed on phones
Before distrubuting an APK file, it must be signed using
jarsigner. Steps to generate and sign apk file here.