Couchapp not working in Android Browser

63 views
Skip to first unread message

spisst

unread,
May 9, 2012, 5:01:25 AM5/9/12
to couc...@googlegroups.com
Hello,

i implemented a CouchApp with evently, it works fine in Firefox and Chrome.
But when i open it with the Android browser only the static content is shown.

So all the div's bound with evently (like: $("#account").evently("account", app);) stay empty.
It works on my Android 2.3 tablet when i use Opera in desktop mode.

Is this a known problem or a mistake in my code?


Thanks,

Thomas 

spisst

unread,
May 10, 2012, 3:05:42 AM5/10/12
to couc...@googlegroups.com
Hello again,


i was able to solve the problem. I found the following solution on Stackoverflow.com :


Actually, that is because IrisCouch is using your User-Agent to provide Mobile Futon, since it thinks that's the only code you'll ever need.

The IrisCouch team have been advised of this ill decision and are working on a solution. The real workaround is either -
copy those files locally (like you did), but then you'd waste your own diskspace and loose any auto-updates they are doing
the suggested solution from CouchDB is to actually go into your Configuration page and change the httpd/mobile_futon property to FALSE

Hope this helps, please mark as Answered once you try it (works for me ;-)




Now my app is running fine.




regards

Thomas

Dale Harvey

unread,
May 10, 2012, 3:26:12 PM5/10/12
to couc...@googlegroups.com
Your app should be using your own version of jquery.couch.js, having couchdb upgrades change your applications code is a bug, not a feature (and disk size for 2 files that are a few KB is not important)

--
You received this message because you are subscribed to the Google Groups "CouchApp" group.
To view this discussion on the web visit https://groups.google.com/d/msg/couchapp/-/voAuMxhqCj8J.

To post to this group, send email to couc...@googlegroups.com.
To unsubscribe from this group, send email to couchapp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/couchapp?hl=en.

Reply all
Reply to author
Forward
0 new messages