You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried this way and response:
ERROR TypeError: Cannot read property 'getPreferences' of undefined
at AppComponent.rateMe (app.component.ts:47)
at AppComponent_Template_ion_item_click_15_listener (template.html:31)
at executeListenerWithErrorHandling (core.js:14316)
at wrapListenerIn_markDirtyAndPreventDefault (core.js:14351)
at HTMLElement. (platform-browser.js:582)
at ZoneDelegate.invokeTask (zone-evergreen.js:399)
at Object.onInvokeTask (core.js:27425)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Zone.runTask (zone-evergreen.js:167)
at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:480)
The text was updated successfully, but these errors were encountered:
lucasramosdev
changed the title
RROR TypeError: Cannot read property 'getPreferences' of undefined
ERROR TypeError: Cannot read property 'getPreferences' of undefined
Mar 2, 2021
i confirm the plugin works fine and its
@ionic-native/app-rate
issueuse the AppRate object from window and it should work as expected
possible reference #291
Originally posted by @wnabil in #295 (comment)
I tried this way and response:
ERROR TypeError: Cannot read property 'getPreferences' of undefined
at AppComponent.rateMe (app.component.ts:47)
at AppComponent_Template_ion_item_click_15_listener (template.html:31)
at executeListenerWithErrorHandling (core.js:14316)
at wrapListenerIn_markDirtyAndPreventDefault (core.js:14351)
at HTMLElement. (platform-browser.js:582)
at ZoneDelegate.invokeTask (zone-evergreen.js:399)
at Object.onInvokeTask (core.js:27425)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Zone.runTask (zone-evergreen.js:167)
at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:480)
Config:
"@ionic/angular": "5.5.2",
"@ionic-native/app-rate": "5.31.1",
"cordova-plugin-apprate": "^1.7.2",
The text was updated successfully, but these errors were encountered: