Meteor-Community-Packages / Meteor-Community-Packages/raix-push
mobile-config.js and push.config.json
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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