Important: uninstall ripple Chrome-Addon first!!
Solution 1: 'patch it!'
To test your phonegap3 applications in ripple you have to use the latest version (0.9.19) from the apache git repository and patch it with the ripple_phonegap3.patch
located at this git-repo. Follow the instructions in the README.md file located in the same repository.
The new version of ripple is not longer a chrome extension. It's now a nodejs/expressjs webserver to support other browsers as well.
Solution 2: 'step-by-step' (only when you use phonegap3 exclusively)
Add lines
var PG3_SCRIPTTAG_OLD= /<script type="text\/javascript" src="phonegap.js"><\/script>/;
var PG3_SCRIPTTAG_NEW= '<script type="text/javascript" src="cordova.js"></script>';
doc = doc.replace(PG3_SCRIPTTAG_OLD, PG3_SCRIPTTAG_NEW);
in function localInjection()
between
var doc = data.replace(HEAD_TAG,
'<head>' +
'<script>' +
BOOTSTRAP_FROM_IFRAME +
'</script>');
and
res.send(doc);
- run
./configure
- run
jake
- use
bin/riddle
lg
fastrde