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

mobile-config.js and push.config.json

Open
#17 10 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

Hi Morten,

what do you think about moving push.config.json into mobille-config.js within App.configurePlugin function?

This is example from [meteor docs](http://docs.meteor.com/#/full/mobileconfigjs)

``` javascript
// Pass preferences for a particular PhoneGap/Cordova plugin
App.configurePlugin('com.phonegap.plugins.facebookconnect', {
APP_ID: '1234567890',
API_KEY: 'supersecretapikey'
});
```

So I guess something like:

``` javascript
App.configurePlugin('com.phonegap.plugins.push', {
"apn": {...},
"gcm": {
"apiKey": "myApiKey",
"projectNumber": "myProjectNumber"
}
});
```

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

Review mobile-config.js, push.config.json, and the Meteor App.configurePlugin documentation referenced in the issue. Determine how the push settings are currently loaded, then confirm that placing them in App.configurePlugin preserves the APN and GCM configuration and existing push behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.