Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Uncaught ReferenceError: Promise is not defined on Android 4.4 #9

Closed
bomshteyn opened this issue Mar 30, 2016 · 3 comments
Closed

Uncaught ReferenceError: Promise is not defined on Android 4.4 #9

bomshteyn opened this issue Mar 30, 2016 · 3 comments

Comments

@bomshteyn
Copy link

When using this with older version of android (android 4.4) Promise doesn't exist

Here is what i get in Console output :

Uncaught ReferenceError: Promise is not defined

Type of product:

non-consumable

Version of cordova

6.1.0

Version of iOS/Android

Android 4.4

@fenta23
Copy link

fenta23 commented Mar 30, 2016

Promises are not supported on 4.4: http://caniuse.com/#search=promise
you have to implement a polifill for this.
Have a look at https://github.com/stefanpenner/es6-promise or similar.

@dougflip
Copy link

Also, just in case you haven't used it before you may want to look into Crosswalk as an alternative WebView. It will provide numerous features for Android 4.4 (at the cost of a larger APK).

@ketabi
Copy link

ketabi commented Jan 11, 2018

look at this:

https://stackoverflow.com/a/48203092/6200607

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants