TypeError: Object(...) is not a function
at LocalNotifications.schedule (index.js:49)
at new SchedulePage (schedule.ts:39)
at createClass (core.js:12491)
at createDirectiveInstance (core.js:12326)
at createViewNodes (core.js:13784)
at createRootView (core.js:13673)
at callWithDebugContext (core.js:15098)
at Object.debugCreateRootView [as createRootView] (core.js:14381)
at ComponentFactory_.create (core.js:11278)
at ComponentFactoryBoundToModule.create (core.js:4030)
https://ionicframework.com/do...
always mistakenly reported that he could not find it at first. Then he added"/ ngx"
import {LocalNotifications} from"@ ionic-native/local-notifications/ngx";
to the official website after import. I thought it would work. When I use the result below, I report an error directly
, but I can find this function
friends who are in trouble help me