Sunday, 18 August 2013

Sammyjs routes not working with Phonegap

Sammyjs routes not working with Phonegap

I have built an app with SammyJs. It currently works perfectly in the
browser. However, when I package it to Android using PhoneGap, the routes
does not work anymore.
I have found this SO question. However, the solution given does not work :
(function($) {
var app = $.sammy('[role=main]', function() {
this.disable_push_state = true;
...
});
}
Has anyone ever experienced the same issue?

No comments:

Post a Comment