[
https://issues.apache.org/jira/browse/RIPPLE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672236#comment-13672236
]
Chris Schaub commented on RIPPLE-19:
------------------------------------
Ok, I think I found the issue. In my app, the codes this ...
$.mobile.changePage('index.html#' + page_id);
This works fine in the ios and android emulator. But in Ripple (cordova-cli
ripple android, or just using the ripple browser plugin 9.16), I get a white
screen. Then if I reload the frame, it works. Changing to ...
$.mobile.changePage('#' + page_id);
Fixes the issues for Ripple, but the Android emulator won't work. This line of
code, fwiw, is from the Drupalgap project which interfaces Drupal with
Cordova/Jquerymobile.
I hope this helps clarify my original issue.
> White screen on first try
> -------------------------
>
> Key: RIPPLE-19
> URL: https://issues.apache.org/jira/browse/RIPPLE-19
> Project: Apache Ripple
> Issue Type: Bug
> Environment: osx, chrome, safari, cordova 2.6.2, cordova-cli, jquery
> mobile, ripple 9.16
> Reporter: Chris Schaub
>
> When I visit a page, the ripple editor shows a white screen on the first try,
> but the console shows the code is there. If I choose reload frame, then I get
> then interface drawn correctly. I've tried using other versions of cordova,
> but nothing helps. I get the "Wait" red screen, failure to emulate. I did
> notice that it seems to be waiting on this, sometimes:
> Line 25631 in ripple.js
> document.getElementById("viewport-container").appendChild(frame);
> and sometimes I see an error:
> Uncaught SyntaxError: Unexpected token u
> But the reload fixes it, very strange. I'm invoking the emulator ...
> % cordova ripple ios
> But it also seems to happen when I visit the page directly, not via cordova's
> invocation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira