Threaded View
-
20 Nov 2012 7:14 AM #1
Am I able to use an external Js resource in Sencha Native app?
Am I able to use an external Js resource in Sencha Native app?
REQUIRED INFORMATION
Architect Build tested:- Build: 676
- Touch 2.1
- I've created a very simple native app using Sencha Architect/Sencha Touch 2.1. I added a JS Resource. The JS file only declares a global variable. I find that I can access the variable in the JS resource if I bring up the app in a browser. If I create a native app and try to bring up the variable value (through a message box or something similar), I find that the variable is inaccessible. Is it possible to access an external JS resource code in a native app?
- Create a simple application with a JS Resource that contains a global variable with a string value.
- Use something like a message box to display the variable value.
- Create a native app and try the application in the iOS simulator (or on your iPad or iPhone).
- I expect to be able to use a JS resource.
- Unable to use the JS resource
- Mac OSX
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote