Hybrid Mobile Apps Installation

Heap should work with Cordova on iOS. For iOS, you need to use a cookie manager. Ionic on iOS is not supported at this time.

Heap should work with Cordova on Android with some slight modifications. Add this line within /android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java:


To work, setAcceptFileSchemeCookies(true) has to be run before CookieManager is instantiated. For example:

public SystemCookieManager(WebView webview) {
            webView = webview;
            cookieManager = CookieManager.getInstance();

            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
                cookieManager.setAcceptThirdPartyCookies(webView, true);

If you use Crosswalk, Cordova and Ionic will work on Android if you add this line within platforms/android/src/org/crosswalk/engine/XWalkCordovaCookieManager.java:

public XWalkCordovaCookieManager() {
            cookieManager = new XWalkCookieManager();      ///forces file cookies