To some extent, I made a rough path, and the following process followed:
- Todos example
- Create a todos package with
meteor bundle ../todos.tgz - Extract Package Open the extracted package in the editor.
- Open the .js file in the static_cacheable / folder, and format it, and replace the ajax call from the "file: //" request with the actual host request.
- I did this on line 1766, which creates an ajax handler using
u.protoype._start = function(a, d, e, f){ d = d.replace("file://localhost","http://localhost:3000"); ... }
After that, open the app.html file in a browser and make sure that the server is already running. Thus, you will work with most applications.
However, this is not the way you would like to use it in your real application, but with a lot of changes, you can use the client side in Phonegap with a server running somewhere else.
Edit
Meteor has a connect method to connect to another meteorite application that can resolve the above request for a replacement URL, although I have not tried what else.
dhaval Apr 29 '12 at 9:20 2012-04-29 09:20
source share