Skip to content

Commit

Permalink
Compatibility with Meteor 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
paulincai committed Jun 30, 2021
1 parent d9f1535 commit f14306b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/* globals Package, Npm, Cordova */
Package.describe({
name: 'activitree:push',
version: '2.0.8',
version: '2.0.9',
summary: 'Push Notifications for Cordova and Web/PWA with Firebase (FCM).',
git: 'https://github.com/activitree/meteor-push.git'
})

Npm.depends({
'firebase-admin': '8.13.0',
firebase: '7.17.2',
events: '3.2.0'
events: '3.3.0'
})

Cordova.depends({
Expand All @@ -18,9 +18,7 @@ Cordova.depends({
})

Package.onUse(api => {
api.versionsFrom('1.8')
api.use(['ecmascript'])

api.versionsFrom(['1.8', '2.3'])
api.use(['tracker'], ['web.browser', 'web.cordova'])
api.use(['accounts-base'], ['web.browser', 'web.cordova', 'server'], { weak: true })

Expand All @@ -32,8 +30,6 @@ Package.onUse(api => {
'random'
], ['client', 'server'])

api.use('mongo', 'server')

// API's
api.addFiles('lib/server/pushToDevice.js', 'server')
api.addFiles('lib/server/internalMethods.js', 'server')
Expand Down

0 comments on commit f14306b

Please sign in to comment.