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

Plugin is not defined

Open
#227 0 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!

I'm trying to update to 3.0.3 to get the Push.configuration method, but I'm getting the following error while stating my app.

ReferenceError: Plugin is not defined
at Package (plugin/push.configuration.js:185:1)
at /Users/Kike/Workspace/meteor/enjobit/.meteor/local/build/programs/server/packages/raix_push.js:1245:4
at /Users/Kike/Workspace/meteor/enjobit/.meteor/local/build/programs/server/packages/raix_push.js:1259:3
at /Users/Kike/Workspace/meteor/enjobit/.meteor/local/build/programs/server/boot.js:242:10
at Array.forEach (native)

I've added both cordova plugins "cordova-plugin-device" and "phonegap-plugin-push"

Any idea on which is my error?

Thank you!

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 inspecting plugin/push.configuration.js around line 185 and the generated raix_push.js stack locations shown in the report. Reproduce the app startup with cordova-plugin-device and phonegap-plugin-push installed, then determine why Plugin is unavailable; done means startup completes without the ReferenceError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.