Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Ionic 4. #291

Open
sevkonline opened this issue Oct 30, 2020 · 2 comments
Open

Doesn't work with Ionic 4. #291

sevkonline opened this issue Oct 30, 2020 · 2 comments

Comments

@sevkonline
Copy link

Hello, I can't run the plugin with ionic 4. Can you please help?

@sevkonline
Copy link
Author

TypeError: Cannot read property 'setPreferences' of undefined

@Jay031
Copy link

Jay031 commented Jun 1, 2021

TypeError: Cannot read property 'setPreferences' of undefined

You have to update the @ionic-native/app-rate to let the Typings know that the setPreferences function exists.
Try this in your package.json and run npm install

"@ionic-native/app-rate": "^5.33.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants