General issues when using dojo app in cordova
NickName:Steven Ask DateTime:2015-08-29T19:43:01

General issues when using dojo app in cordova

i have a normal rich internet application which is running well in each browser, using dojo toolkit and some javascript charting library.

I want to put to make it a hybrid app on an ipad for "offline presentation issues".

So i started using cordova, created my app, added the plugins

org.apache.cordova.device org.apache.cordova.console

And i placed my html5/css/js/images in the "www"-folder of the cordova project.

cordova emulate ios --target=iPad-2

nothing happends...

when i do a plain index.html with "hello app" it works fine. but i dont see any errors? is there kind of debug console? seems also that links all must be relative and cannot be

/root/images

they must be

root/images.

are there also some linking issues?

can you give me a hint for a good start of cordova? did i forget something?

Copyright Notice:Content Author:「Steven」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/32285673/general-issues-when-using-dojo-app-in-cordova

More about “General issues when using dojo app in cordova” related questions

General issues when using dojo app in cordova

i have a normal rich internet application which is running well in each browser, using dojo toolkit and some javascript charting library. I want to put to make it a hybrid app on an ipad for "offl...

Show Detail

PhoneGap / Cordova 1.6 and dojo 1.7.2 AMD works from web, not from local?

I have recently upgraded my PhoneGap/dojo1.6 app to cordova 1.6 and everything works just fine. Then I upgraded to dojo 1.7.2 using hosted dojo: [script src="http://ajax.googleapis.com/ajax/libs/d...

Show Detail

Cordova build not including dojo _base folder in APK

I am updating the dojo libraries in a Cordova mobile app. Everything works correctly when running the updated application in the browser (using Cordova-simulate). When running my application in an

Show Detail

Using TypeScript with Dojo - import/export issues

In the company I work for we are using Dojo framework and lately I have started pushing to use it with TypeScript. I took a look around and found this great article on how this topic, you can find it

Show Detail

Cordova firebase plugin onTokenRefresh when app is closed

I made a simple Ionic app with Firebase Cloud Messaging and Cordova firebase plugin. When the app is fired i get the device token and save it to database. The problem appears when the user clears t...

Show Detail

Accordion/Carousel Dojo can't load Android (Cordova)

I'm using Dojo 1.10 and i try to solve all the problemas with undescore files (_blabla). related here: https://code.google.com/p/android/issues/detail?id=5343 building/minimizing dojo for specific ...

Show Detail

Single layer build file for a dojo/cordova project

I am using dojo 1.10 in a cordova v5 project. I created the project and the build is successful. It uses "android" platform and all files/folders are in the assets/www. In there, I added "dojo", "d...

Show Detail

Cordova app, using remote website - How to handle connection issues?

My problem I'm working on a project where Cordova is being used to display a remote website within the app. Cordova.js is being run from the remote server, etc., and this works pretty well. I do ...

Show Detail

How to use custom build from dojo under file:/// protocol (Cordova/Phonegap)

I develop a web app using the dojo framework. This app must be loaded by a browser using the file:/// protocol (It will become a Cordova/Phonegap application for Android/iPad). The index.html file ...

Show Detail

Secure cookies are lost when the Cordova iOS App is closed

I am using Cordova (PhoneGap) and cordova-plugin-ionic-webview to use the fine tuned Ionic Engine (that uses WKWebview). I am able to use secure and httponly Auth Cookies in order to Log In and

Show Detail