I have install this library in nativescript using angular flavour and I am facing below error only on IOS.
Fatal JavaScript exception - application has been terminated.
NativeScript encountered a fatal error: Uncaught TypeError: Class constructor Observable cannot be invoked without 'new'
at
SharedNotificationDelegateCommon(file: node_modules/nativescript-shared-notification-delegate/shared-notification-delegate.common.js:7:0)
at SharedNotificationDelegateImpl(file: node_modules/nativescript-shared-notification-delegate/shared-notification-delegate.ios.js:23:0)
at ../node_modules/nativescript-shared-notification-delegate/shared-notification-delegate.js(file: node_modules/nativescript-shared-notification-delegate/shared-notification-delegate.ios.js:181:0)
at webpack_require(file: src/webpack/bootstrap:816:0)
at fn(file: src/webpack/bootstrap:120:0)
at ../node_modules/nativescript-local-notifications/local-notifications.js(file: node_modules/nativescript-local-notifications/local-notifications.ios.js:3:50)
at webpack_require(file: src/webpack/bootstrap:816:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./app/core/services/pushnotification.service.ts(file: src/app/core/services/pushnotification.service.ts:1:0)
at webpack_require(file: src/webpack/bootstrap:816:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./app/app.component.ts(file: src/app/app.component.ts:1:0)
at webpack_require(file: src/webpack/bootstrap:816:0)
at fn(file: src/webpack/bootstrap:120:0)
at .<…>`
I have install this library in nativescript using angular flavour and I am facing below error only on IOS.