All Questions
79
questions
0
votes
1
answer
105
views
getting error to access file of azure app service by requirejs with text plugin
I have files under platforms/browser/www in cordova browser platform and I have uploaded that file on azure kudu wwwroot folder. The App running perfectly on local machine but getting error while ...
0
votes
1
answer
183
views
How to deploy Cordova platform\browser\www content to Azure app service?
I have created an App in Cordova and I just want to run it in browser instead of Android or iOS. My application is running perfectly in local machine by running the command "cordova serve" ...
1
vote
1
answer
917
views
Uncaught TypeError: Cannot read property 'arc' of undefined
I am new to D3 and badly stuck in this error Uncaught TypeError: Cannot read property 'arc' of undefined as I am not able to figure out why this error is coming, It doesn't come every time and I have ...
0
votes
1
answer
160
views
Using Aurelia UX in a Cordova application (fails to build for iOS)
I've build a web-app using Aurelia CLI (v0.32, Typescript, Require.JS) + Aurelia UX (v0.6.0). Using Brett Nelson tip, I'm building this web-app for Cordova (v8.0.0). Everything works fine when running ...
-1
votes
1
answer
722
views
cordova app crashes on startup in ios 11 beta
I have a cordova app which works fine in xcode 8.3.3. I am trying to test it in iOS 11 using xcode 9.0 beta and it crashes on startup in some assembly code whose last lines are:
0x110d9179b <+91&...
0
votes
1
answer
588
views
How to get page load time for a single page application(SPA) using backbone,jquery, require js?
I am building a mobile application using backbone, jquery and require js. I am trying to get the time difference between page init and onShow and but it is not giving proper load time as I am doing ...
0
votes
0
answers
17
views
Phonegap generating socket io scripts?
I am working on a PhoneGap App and I tried implementing Typescript and requiredjs but for some reason. I am getting this error:
I dont understand why Phonegap is generating or somehow using socket.io
...
0
votes
1
answer
60
views
RequireJS text plugin empty in Cordova
I am trying to use the requireJS text plugin to load a text resource in a Cordova project:
var template = require( "text!app/assets/templates/stuff.html" );
However, I am only getting an empty ...
4
votes
2
answers
2k
views
Make Cordova wait for async hook to finish
In my Cordova project, I have a hook which does RequireJS optimization (r.js) on after_prepare. That optimization is inherently asynchronous, so my hook code returns before all optimization is fully ...
1
vote
1
answer
309
views
Socket.io variable not defined in Phonegap mobile application
I'm trying to develop a mobile application using Phonegap with RequireJs, Backbone, jQuery and I'm running into a problem each time I try to include the requirejs script tag:
<script data-main="js/...
0
votes
1
answer
104
views
Using i18n with RequireJS in Visual Studio 2015 Cordova App project
I got a weird thing happening when I try to run the Windows application produced by the Cordova project in Visual Studio 2015.
The application uses the third-party libs i18n along with RequireJS to ...
0
votes
1
answer
2k
views
How to use npm country codes
Hin I am new in node.js. I already created my project in cordova cross platform Mobile Application. Now I want to install npm country-codes package "https://www.npmjs.com/package/country-codes". I ...
3
votes
1
answer
249
views
VS + Cordova + WP8 = requirejs load timeout for modules
I am building a windows phone mobile game using Visual Studio 2015 + Cordova.
When trying to debug on device I get this error:
Unhandled exception at line 8, column 137 in
ms-appx-web://net....
0
votes
2
answers
1k
views
App works fine in browser but not with cordova
I'm using Cordova 6 and Requirejs for my application. When i launch my app into the iPhone emulator the cordova deviceready event gets fired but my code that is loaded via require js never gets called ...
0
votes
0
answers
226
views
Unable to call method in module from same module, in a callback function
I have a RequireJS module I am writing, that I am using to wrap the ASYNC methods used by LG's webOS SCAP library (this is a Cordova based library that allows easy interaction with webOS, on the "...