Results 1 to 3 of 3

Thread: Sencha app in Cordova - Development process

  1. #1
    Sencha User
    Join Date
    Jul 2015
    Posts
    4

    Default Sencha app in Cordova - Development process

    Hey Guys,

    So I have just been handed a Sencha app that is to run in side a Cordova container for Android/iOS.

    I need to setup my environment and implement some changes to the application.

    Initially, I though I could just host the application out of a local Apache installation. For the most part the app works but it seems there is a db.json file located in a data directory, this does not get loaded when I fire up the app in my browser.

    Is this approach fundamentally wrong and the reason that some things don't work - or is it a case that my app is misconfigured?

    Any ideas?

    Do I need to set up command line tools etc as part of the workflow?

    Thanks

  2. #2
    Sencha User Trozdol's Avatar
    Join Date
    Jan 2009
    Location
    Nashville
    Posts
    64
    Answers
    2

    Default

    I would recommend installing Sencha CMD. You could then use `sencha app refresh` to fix any weird issues. Then `sencha app watch` Where is this data folder and where is the app referencing it? Or if you can't answer where. What is the purpose. I'm assuming it's either test data or some static data used in the app. Probably need some more details to provide a better answer.
    Shayne Trosdahl
    @Trozdol
    CodePen

  3. #3
    Sencha User
    Join Date
    Jul 2015
    Posts
    4

    Default

    Hi There, the data was actually loading. There was a problem elsewhere, silly me.Thanks for your reply.

Similar Threads

  1. Sencha-cordova build missing cordova.js & does not run in debug
    By tt88 in forum Sencha Touch 2.x: Discussion
    Replies: 3
    Last Post: 8 Jan 2015, 6:18 AM
  2. Sencha, Architect 3, Cordova and Cordova Plugins Help
    By displaced in forum Sencha Architect 3.x: Q&A
    Replies: 3
    Last Post: 24 Jun 2014, 8:19 AM
  3. Replies: 1
    Last Post: 16 Apr 2014, 4:25 AM
  4. Sencha, Architect 3, Cordova and Cordova Plugins Help
    By displaced in forum Sencha Touch 2.x: Q&A
    Replies: 0
    Last Post: 23 Jan 2014, 3:56 AM
  5. What Is Your Development Process?
    By opticyclic in forum Ext: Q&A
    Replies: 1
    Last Post: 3 Dec 2012, 10:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •