EddyVerbruggen / nativescript-local-notifications

:mailbox: NativeScript plugin to easily schedule local notifications
MIT License
162 stars 57 forks source link

Cannot get working with Vue - Cannot read property 'LocalNotificationsPlugin' of undefined #88

Closed 7ammer closed 6 years ago

7ammer commented 6 years ago

I can't seem to get this plugin working with vue on playground: https://play.nativescript.org/?template=play-vue&id=1i7BTX

[Nexus 5X]: 'Error in LocalNotifications.addOnMessageReceivedCallback: TypeError: Cannot read property \'LocalNotificationsPlugin\' of undefined'
[Nexus 5X]: 'NativeScript-Vue has "Vue.config.silent" set to true, to see output logs set it to false.'
[Nexus 5X]: 'Error in LocalNotifications.schedule: TypeError: Cannot read property \'NotificationClickedActivity\' of undefined'
[Nexus 5X]: 'ERROR' [TypeError: Cannot read property 'NotificationClickedActivity' of undefined]
EddyVerbruggen commented 6 years ago

Yeah that's not possible with Playground; this plugin requires an external jarfile which you can't upload.

7ammer commented 6 years ago

fair enough :)