Sjef Moling
Posts: 0
Joined: Thu Jan 23, 2014 10:00 am

Push on angular: class not found

Hi All,

when trying to implement push notifications in an angular app I ran into an error. When trying to register the device the console shows "Error: class not found" when I test the app using the appery tester app.

I imported the plugin as described, added the services to my start screen and called the function to register the device from init()

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push on angular: class not found

Hello -

Could you please clarify are you running the app in the browser?

Sjef Moling
Posts: 0
Joined: Thu Jan 23, 2014 10:00 am

Push on angular: class not found

no, in the appery tester app.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push on angular: class not found

Push notifications will work only on a device as an installed app.

You can find this note in Introduction section here: https://devcenter.appery.io/documenta...

Sjef Moling
Posts: 0
Joined: Thu Jan 23, 2014 10:00 am

Push on angular: class not found

then please update your tutorial, as it states that push can be tested using your tester app:
https://devcenter.appery.io/tutorials...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push on angular: class not found

Thank you for noticing this, we will update our tutorial.

Return to “Issues”