Page 1 of 1

Push on angular: class not found

Posted: Tue Mar 29, 2016 8:15 am
by Sjef Moling

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()


Push on angular: class not found

Posted: Tue Mar 29, 2016 3:24 pm
by Illya Stepanov

Hello -

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


Push on angular: class not found

Posted: Tue Mar 29, 2016 5:49 pm
by Sjef Moling

no, in the appery tester app.


Push on angular: class not found

Posted: Tue Mar 29, 2016 6:25 pm
by Illya Stepanov

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...


Push on angular: class not found

Posted: Tue Mar 29, 2016 6:31 pm
by Sjef Moling

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


Push on angular: class not found

Posted: Tue Mar 29, 2016 9:45 pm
by Illya Stepanov

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