question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package broken in Meteor 1.5.1

See original GitHub issue

Since I updated my app from Meteor 1.2 to 1.5.1, the push notifications package isn’t working anymore. Safari is showing this error message on the console:

[Log] Error in Error callbackId: PushNotification599774518 : ReferenceError: Can't find variable: device (console-via-logger.js, line 173)
[Log] Uncaught Error: ReferenceError: Can't find variable: device:314:http://localhost:12328/cordova.js (console-via-logger.js, line 173)
[Error] ReferenceError: Can't find variable: device
	callbackFromNative (cordova.js:314)
	(anonyme Funktion) (ios-wkwebview-exec.js:132)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
derwaldgeistcommented, Jul 18, 2017

Don’t think npm is capable of separating mobile and web code yet, a major drawback compared to Atmosphere packages. Since one would only need this package in the mobile app, there would be no way to exclude it from a web app. So I would still prefer this to be an Atmosphere package.

0reactions
derwaldgeistcommented, Jul 25, 2017

Oooops. Forgot to enable Push notifications in Xcode. Seems to work now. Will now try to run it on a real server.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating from Meteor 1.5.1 to 1.5.4.1 Broke app - help - Meteor forums
I did a fresh install of meteor and ported my code to it. I added my meteor packages back in one at a...
Read more >
App broken after meteor update, can't determine what ...
I was already using Meteor 1.5, and that was NOT upgraded by the meteor update. Here's what I DON'T know: What package update...
Read more >
Meteor 1.6.0.1 upgrade to 1.6.1 downgrades to broken ...
TL;DR: This issue is caused by outdated 3rd party packages. Those packages need to be updated to work with Meteor 1.6.1 (upstream or...
Read more >
Meteor Blog - Medium - RSSing.com
In tandem with Meteor 1.5, we've released a package called ... To update an existing app to Meteor 1.5.1, simply run meteor update...
Read more >
Urigo/angular-meteor - Gitter
Anyone can explain the solution to me: I have own package and ... We had this working with Meteor 1.3-1.5, but it's broken...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found