Skip to main content

2 posts tagged with "cordova"

View All Tags

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer

Recently we ran into an issue with SVG rendering in an Cordova-based Sencha Touch application. When switching back and forth between views in a TabPanel SVG images got messed up. The problem only appeared on "older" Android devices (<= 4.1.2) and only when the images were embedded via an <img> tag. The solution was simple: Replace every <img> tag with an <div> container and include the SVG image via the CSS property background-image.

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer

Since it is not really documented how to build a release .apk package with SenchaCmd and Cordova I`d like to share the current workflow I use. First of all we build the native package via SenchaCmd. This results in a production build of the Sencha Touch application wrapped in a debug build of Cordova: