Open ludovers opened 7 years ago
Post the contents of the files you are importing.
In Client/main.js it just imports all files from imports/startup/client/index.js (which imports my complete client-side root), and Server/main.js it imports files from imports/startup/server/index.js, which imports my complete server-side root... Should I paste my entire root.. xD?
@ludovers do you have any push.config.json files laying around? - the error happens if push is configured more than once, it's expected behaviour as a safeguard
@raix Thank you sir! That solved the problem!
I dont really understand the configuration of how to send a notification. I want to test the notifications on Android first.
So in my
/client/main.js
I've pasted the following:In the root folder of my Meteor project I've created a
mobile-config.js
with the following code:And in my
/server/main.js
I've got the following code:But I get the error: Error: Push.Configure should not be called more than once!
What am I doing wrong?