Can't specify inex file in config.xml?

  • 1
  • Question
  • Updated 9 years ago
Hi.

I'm looking to build jQueryMobile apps using your cloud Build service.

As in JqueryMobile, every page needs the additional hash tag (ie #page1). I was wondering if there would be a way to specify a complete url as Phonegap starting point?

For instance :
#index.html
index.html

Or maybe there is another workaround? At this point my screen will go blank when hitting the back button to go back to index.html, only my Phonegap builds.

Thanks in advance.
Photo of Serge Tanguay

Serge Tanguay

  • 18 Posts
  • 1 Reply Like
  • sad

Posted 9 years ago

  • 1
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
Currently there is no way to provide an entry point besides index.html, however this approach should suffice as a work around and example. : ]

https://github.com/mwbrooks/phonegap-...

Hardeep Shoker
Photo of crazydog115

crazydog115

  • 39 Posts
  • 0 Reply Likes
I'm using jQueryMobile too and I am not having this issue.

How are you defining your pages? I have many div's in my index.html, each with the following type of signature:

<div id="section_name" data-role="page">

...
</div>


The first div in my body with the data role of page shows up as the default page when using phonegap, or any browser.

Additionally, the scenario you presented, linking to another html page, then hitting the back button, still works perfectly for me, both with the physical back button and the one jQueryMobile provides.