Skip to content
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

Meteor.settings on the client #73

Closed
mordka opened this issue Mar 14, 2017 · 4 comments
Closed

Meteor.settings on the client #73

mordka opened this issue Mar 14, 2017 · 4 comments

Comments

@mordka
Copy link

mordka commented Mar 14, 2017

This is undefined by default, which causes some client-based packages to break.
How do you guys send Meteor.settings to client?

@fernandoarevalo
Copy link

Hi, Currently Ionic2-Meteor combo does not send "settings" out of the box, in this case for the ionic 2 client.

If you need to send parameters for facebook login mobile, this post #92 would probably help you, because presented the same problem.

Regards

@darkbasic
Copy link
Collaborator

See also Urigo/meteor-client-bundler#23

@darkbasic
Copy link
Collaborator

Closing due to inactivity and cleanup after tons of new updates.
Feel free to open a new issue if you are still affected.

@bo01ean
Copy link

bo01ean commented Dec 19, 2017

It would be awesome to have bundler have this functionality.

Right now we are just adding the public portion to the end of the bundle:

(function () {
  Meteor.settings = {};
  Meteor.settings.public = {
   // stuff 
}
})()

Would be very dope to have the bundler do this :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants