-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems to rely on settings.json when run in Cordova #129
Comments
Hey, thanks for the detailed report! I've never tested in Cordova, I'll be interested to know how it works. Sounds like it should be ok if you use a
The port is usually 3002 or 2 ports after your Meteor port (more details in the README). Let me know and I'll add this to the README if it works :) |
Apologies. I'm only getting to try this now. With the HOT_PORT specified as above I don't get any errors, but I also don't get any
|
Also, if I don't put the HOT_PORT in myself (just the original
So
So, it appears the HOT_PORT setting is not getting through. Also, |
More stangeness. If I When it does start I now get a new error.
Here's that code: // If find() was called before we load //
var queries = Autoupdate._ClientVersions._collection.queries; // 39
for (var key in queries) { // 40
queries[key].changed = augmentChanged(queries[key].changed); // 41
} // 42 |
I can confirm this, happens here as well. |
I'm going to add |
Offtopic: @damonmaria can you please explain how you build the cordova app. I'm trying to solve the problem of |
@alvelig When I run it locally I use: Where {
"public": {
"workaround": "meteor-hmr bug in cordova"
}
} So there is no longer the missing To build my APK I also use the same workaround: |
@damonmaria Thank you very much! Yes it's necessary... With |
Strange. |
Description of Problem
When run in Cordova
gadicc_modules-runtime-hot.js
dies trying to accessMeteor.settings.public
.If I include the following (empty) settings.json using
--settings
on the command line then the problem does not occur:Please copy and paste the full error from the console, if one occcured.
This is the offending line in
gadicc_modules-runtime-hot.js
:Environment
Supporting files
.meteor/packages
[email protected] # Packages every Meteor app needs to have
[email protected] # Packages for a great mobile UX
[email protected] # The database Meteor supports right now
[email protected] # Meteor's client-side reactive programming library
[email protected] # CSS minifier run for production mode
[email protected] # JS minifier run for production mode
[email protected] # ECMAScript 5 compatibility for older browsers.
[email protected] # Account management based on passwords (other services can be added)
meteorhacks:unblock # Allow parallel (per-client) processing of subscriptions
[email protected] # Needed to include html/css after removing blaze
xolvio:backdoor # Run arbitrary code on server in acceptance tests
dburles:factory # Document factory for tests
aldeed:collection2 # Document schema checking
alanning:roles
reywood:publish-composite
gadicc:[email protected]
meteorhacks:aggregate
mizzao:timesync
[email protected]
[email protected]
.meteor/versions
packages.json
.babelrc
(if you modified it)The text was updated successfully, but these errors were encountered: