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

Usage with a webapp #240

Open
s7dhansh opened this issue Sep 6, 2016 · 7 comments
Open

Usage with a webapp #240

s7dhansh opened this issue Sep 6, 2016 · 7 comments
Milestone

Comments

@s7dhansh
Copy link

s7dhansh commented Sep 6, 2016

Whenever I try to send a notification, I get this message:
GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet...

How do I register for the notifications? Can not see any api/function to do that. The demo app also seems to be for a cordova app.

Probably it is too simple but I am a complete novice on webapp notifications. Any help would be appreciated.

@seifip
Copy link

seifip commented Sep 20, 2016

I'm having the same problem... is there a sample webapp or tutorial?

@raix
Copy link
Collaborator

raix commented Sep 20, 2016

It's likely that it's an issue with certificates (there are guides in /docs - please feedback if things are missing in docs or for some reason not working)
also note that 3.0.3-rc.7 the latest version and will be 3.0.3 within a weeks time

@cunneen
Copy link

cunneen commented Sep 21, 2016

@raix 3.0.3-rc.7 works for me on iOS10, iOS9 and android (with my pull request added; I haven't tried it without) on Meteor 1.4.1.1

@seifip try using my config package and follow the instructions there very carefully: appworkshop:raix-push-config

CC: @sschuchlenz #214

@cunneen
Copy link

cunneen commented Sep 21, 2016

Also @s7dhansh and @seifip : If you still get the error:

The "Push.appCollection" is empty - No clients have registred on the server yet

Then check your xcode logs carefully; I've seen this one before:

Push.Error: Error:  - no valid 'aps-environment' entitlement string found for application

In my case I had to go to the 'capabilities' tab in XCode to enable push notifications
image

@seifip
Copy link

seifip commented Sep 21, 2016

We both have the problem with push notifications for browser web apps, not mobile apps.

@cunneen
Copy link

cunneen commented Sep 23, 2016

@seifip thanks for the clarification; I'm not sure if this package supports notifications in the browser. They're listed as 'Partially Implemented' right at the very top on the project home page.

@raix raix added this to the v3.2.0 milestone Oct 3, 2016
@jamauro
Copy link

jamauro commented Nov 4, 2018

Is support for browser notifications still in the works or is there another way to enable them?

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

5 participants