Please Help me run application with Arcgis API JS on Cordova Android

Hi @yenph,

I was going to offer you a consultation of 60 Euro for 30 minutes, but because this forum is for OPEN SOURCE and friendly support, I will do it for free indeed.

I downloaded the library and followed the code and my assumption is that you are in the same context as in this other thread: Using Google maps js api with Cordova - #23 by perumalkuk

new Map() is from the ES6 standard and it looks like your Cordova still runs on ES5 (legacy browser).
(ES6 Map - javatpoint)

I think you will find some solutions in the thread mentioned above. In short, you either have to compile your external library with Meteor or run your Cordova as a modern browser.

Screenshot 2024-06-19 at 1.55.17 PM

2 Likes