Esri / quickstart-map-phonegap

ArcGIS JavaScript samples for use with PhoneGap/Cordova
35 stars 37 forks source link

require callback never gets executed #29

Closed daveed80 closed 5 years ago

daveed80 commented 6 years ago

Hi Andy,

We met at the dev summit this past year in Palm Springs, so first and foremost, thanks for another great summit.

I've implemented the basicmap sample, and something appears to be bombing as the require callback doesn't seem to be executing (the esri modules never get loaded, "Require() loaded." isn't printed to the console, etc.). In addition, the screen actually just goes white.

function (Map, MapView) { console.log("Require() loaded.");

I'm currently building using PhoneGapBuild (cli-8.0.0), OS is Android 8.0.0, and I can provide any further info necessary to assist.

Thanks in advance!

andygup commented 6 years ago

Hi, I haven't used PhoneGapBuild so I'm not sure if there is any additional set up or configuration you need to take in order for the ArcGIS JS API to work.

If you do have the CSS wired correctly, and logcat shows no platform errors, then I recommend trying a Cordova install using the instructions in this repo's README. This last step will help rule out if you are seeing a PhoneGapBuild-specific problem.

daveed80 commented 5 years ago

Thanks Andy!