Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Telerik Platform, unable to register: Everlive plugin error #127

Open
ghost opened this issue Jun 7, 2017 · 5 comments
Open

Telerik Platform, unable to register: Everlive plugin error #127

ghost opened this issue Jun 7, 2017 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Jun 7, 2017

I've done a running prototype several months ago that works fine with Telerik platform. Today I wanted to implement this functionality to a new app but always get an "EverliveError: A plugin error occurred".

Even my old, untouched prototype and the demo-app fires this error :(

"nativescript": { "id": "com.glanzbox.jut", "tns-android": { "version": "2.5.0" }, "tns-ios": { "version": "2.5.0" } }, "dependencies": { "everlive-sdk": "^1.9.1", "nativescript-push-notifications": "^0.1.0", "nativescript-theme-core": "^0.2.1", "tns-core-modules": "^2.5.2" }, "devDependencies": { "babel-traverse": "6.22.1", "babel-types": "6.22.0", "babylon": "6.15.0", "lazy": "1.0.11", "nativescript-dev-android-snapshot": "^0.*.*" } }

@AntonDobrev
Copy link
Contributor

@spacetasse

Can you specify:

  • Which version of the plugin you are using (which is installed in the project)
  • What happens if you remove and add the platform again
  • The platform you are running on (iOS, Android)
  • The whole call stack - it should contain the native error as well
  • Any other information you consider useful

@ghost
Copy link
Author

ghost commented Jun 11, 2017

I'm using 0.1.0 of the push-plugin and 1.9.1 of the everlive-sdk. Adding and removing platform doesn't change anything :( These are the latest versions for NS 2.5, aren't they? I've tested it with some others versions, but always got the same error.

This error occurs on iOS. I've not yet tested in on Android.

CONSOLE LOG file:///app/views/main.js:379:24: {"name":"EverliveError","message":"A plugin error occurred","stack":"EverliveError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2026:31\nDeviceRegistrationError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2054:21\nfromPluginError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2071:44\nfile:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:12177:103\n_deviceRegistrationFailed@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10733:37\n_failedRegistrationAPN@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10760:40\n[native code]\nfile:///app/tns_modules/nativescript-push-notifications/push-plugin.js:50:26\nonReceive@file:///app/tns_modules/tns-core-modules/application/application.js:59:32\nUIApplicationMain@[native code]\nstart@file:///app/tns_modules/tns-core-modules/application/application.js:251:26\nanonymous@file:///app/app.js:38:18\nevaluate@[native code]\nmoduleEvaluation@[native code]\n[native code]\npromiseReactionJob@[native code]"}

Exactly this code works some month ago :-( Even the demo-app fires this error.

@ghost
Copy link
Author

ghost commented Jun 11, 2017

I've updated to the current version and I've updated the certificates, but with no success.

@ghost
Copy link
Author

ghost commented Jun 11, 2017

Starting from the scratch and now it seems to work :-)

@jeddWebill
Copy link

We experiencing it as well, starting from scratch didn't help. I also tried run the sample-push-plugin app and got the same error see below:

{"name":"EverliveError","message":"A plugin error occurred","stack":"EverliveError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2026:31\nDeviceRegistrationError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2054:21\nfromPluginError@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:2071:44\nfile:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:13799:103\n_deviceRegistrationFailed@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10664:37\n_failedRegistrationAPN@file:///app/tns_modules/everlive-sdk/./dist/everlive.all.js:10691:40\n[native code]\nfile:///app/tns_modules/nativescript-push-notifications/push-plugin.js:50:26\nonReceive@file:///app/tns_modules/tns-core-modules/application/application.js:51:32\nUIApplicationMain@[native code]\nstart@file:///app/tns_modules/tns-core-modules/application/application.js:211:26\nanonymous@file:///app/app.js:3:18\nevaluate@[native code]\nmoduleEvaluation@[native code]\n[native code]\npromiseReactionJob@[native code]"}
tns version:3.1.2
Problem platform: IOS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants