-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
The "Push.appCollection" is empty #24
Comments
I followed the instructions here How does a client get added to Push.appCollection? Thanks, |
I resolved this issue. Meteor/Xcode assigns a wildcard BundleID when you use meteor run ios-device. I replaced this with my explicit bundleID and the notifications worked. Just need to test it in my Modulus.io environment. Thanks raix. Love handling push entirely in Meteor. Very nice! |
Super, does the docs need update |
It would be good to do. But, I'm new to GitHub. How do I edit the page? I'd like to try. Don |
i think this requires explanation in the docs. |
+1 - @raix updating the docs and/or adding an explicit function to call to register a device would be incredibly useful. This seems to be a common problem and is one I'm running in to - I currently can not get any push notifications because I apparently have no clients yet I have no idea how to add a client. |
+1 please add this in doc |
@doubletaketech If you are up to it I'd take pr's - Currently the main README.md is used + @lukemadera I'm not sure if we need a manual way of adding clients - I would be much nicer if it just works. I've added an issue for tracking documentation improvements at #44 :) |
Thanks @raix - it started working for us so everything is good for us now; not sure what changed / why it wasn't working before. |
@lukemadera - super - it's often something with certificates/firewalls/setting the |
You can set the bundle ID for xCode like so: |
Hello, I am also receiving this error when testing with android device (emulator and real device). What can be the problem?
|
So how do you add a client? |
|
So , ive read every post around on the web concerning this problem but i cannot seem to figure it out. Ive tried everything i could find. Added
to the server and then added
to the client ( but never shows for some reason ). ran locally with config.push.json is located in the root dir of the app. can someone point out what im missing here? Im struggeling with this problem for a few days now and im getting desperate here |
Did you manage to resolve your issue @timmakken ? I'm also struggling with this :( |
@chrise86 yes , turns out that you are missing the cordova packages itself. Go checkout the example app and check the cordova packages file. You will need those in order to fix it. |
Thanks @timmakken I found another issue that pointed this out, so added the following which fixed for me:
|
This did not work for me. |
@ethanteague |
Ty, @sahanDissanayake - I found another solution that got this working for me. I installed meteorhacks, and then node-apn. After doing so, push for ios worked. @raix, seems like a lot of people have been having a tough time getting push notifications to work (especially for ios), and the solutions they are finding don't seem to have one particular fix. I'm guessing there is a dependency missing somewhere in the fray that is getting added via an additional package while users are trying various solutions to fix. It would probably be worthwhile to investigate this further. |
yeah man. well done you got it somehow.. I had to play around for atleast 14 hours all up.. But super happy that its working now |
Theres a |
@raix, I'm having the same trouble (no errors, but when I try a test push I only see When trying to use
|
In the deprecate json config branch theres updated readme about config |
Thanks so much for the response! We were able to get
to To anyone else experiencing this, after getting this version to build, I was finally seeing the server attempting to send messages, e.g.
My (new) problem turned out to be the provisioning profile. The extremely helpful micro walkthrough, states:
And has a small screenshot of a relevant profile being selected, but doesn't actually talk about generating that profile specifically for your app. I was using an existing wildcard profile. After I created a new profile just for this app, selected it in Xcode, and rebuilt the app, I was able to send myself notifications per the walkthrough. |
@beepy What is the SENDER_ID in your example? |
We used a dummy value, just as indicated, since we are not yet attempting Android notifications. |
Ahh, I misread it. I thought you meant using that is what fixed not pushing notifications to iOS, which I'm currently struggling with. |
@sahanDissanayake your solution worked for me, thank you! I had been struggling for a few days, then put it away for a couple weeks .... glad to have come back to this thread and found and working solution suggested!! |
@raix How will I register a client If I'm using Native IOS/Android, I'm not able to get notification from meteor server. Do I need to add some method to pass the token from my native client app to server to register the device? |
trying for couple of hours to get this up and running. For IOS, tried all most all the settings here. But still get the same 0 ios apps error. Finally seeing some people got success adding the |
Updating to the latest meteor Build 1.4.2.3 takes this error away. however, I am yet to find any solution to this. Will update this as I go along. |
I ran into this issue as well. When I ran on my iPhone using FYI I followed these instructions to get things working for iOS. |
Been looking for this thread to say that I solved it just the next day after posting it. The package still works. But issue lies in first-time-mistakes of pem file generations . Yes @carpmike I looked at the same medium post to get it sorted |
@carpmike do we need to update the guides we have in this repo? or link to the article at medium |
@raix Well, there are some info that can be a bit more detailed. For example, it is said in the guide that raix push notification doesn't work in development and one has to deploy it somewhere first. While this is not the case at all, it works well in dev environment. There are other issues but I guess I will have to write up a whole new article to elaborate on all of them. Also, they newest cordova can be added by upgrading to the newest beta release of meteor by |
@raix the medium article was helpful. It would probably be valuable to link to it, but it is only for iOS. I do think you should update the iOS instructions to include turning push notifications on in Xcode before building the app. |
@carpmike thanks - I've added some notes in the documentation and created a link to the medium article. |
Greetings @raix can you tell me why my build process is failing? Errors prevented bundling: |
What does this mean?
The text was updated successfully, but these errors were encountered: