Meteor-Community-Packages / Meteor-Community-Packages/raix-push

Meteor JS 1.8 Does it work?

Open
#357 30 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
505
Forks
191
PR merge metrics
No merged PRs in 30d

Description

I've been having a nightmare getting this going so far. Just wondering if it works on either Meteor 1.7 or 1.8 I've had no luck with basically an out of the box Meteor install

if(Meteor.isClient){
	Push.debug = true;
	Push.Configure({
	   android: {
	     senderID: xxxxx,
	     alert: true,
	     badge: true,
	     sound: true,
	     vibrate: true,
	     clearNotifications: true
	     // icon: '',
	     // iconColor: ''
	  },
	  ios: {
	  alert: true,
	  badge: true,
	  sound: true
	  }
	});
}

if(Meteor.isServer){
	Push.Configure({
		apn: {
			certData: Assets.getText('meteorApp-cert-dev.pem'),
			keyData: Assets.getText('meteorApp-key-dev.pem'),
			passphrase: '',
			production: true,
			sound: true,
			badge: true,
			alert: true,
			vibrate: true,
			// 'sendInterval': 15000,
			// gateway: 'gateway.push.apple.com',
			// production: Meteor.isProduction,
		},
    gcm: {
    projectNumber: xxx,
    apiKey: xxxx
    }
});

	Push.allow({
		send: (userId, notification) => {
			console.log('anything', userId, notification)
			// allow all users to send notifications
			return true;
		}
	})
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported setup with Meteor 1.7 and 1.8, using the client and server Push.Configure examples in the issue. Check whether the Android and iOS notification configuration works on either version; done means documenting verified compatibility or identifying the failing setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.