Not working with Ionic 3
See original GitHub issueI followed this tutorial: http://ionicframework.com/docs/native/app-rate/
I’m using the second approach but I get this error:
Uncaught (in promise): TypeError: Cannot read property 'split' of undefined
TypeError: Cannot read property 'split' of undefined
at Function.Locales.getLocale (http://192.168.1.2:8100/plugins/cordova-plugin-apprate/www/locales.js:53:74)
at showDialog (http://192.168.1.2:8100/plugins/cordova-plugin-apprate/www/AppRate.js:91:29)
at Function.AppRate.promptForRating (http://192.168.1.2:8100/plugins/cordova-plugin-apprate/www/AppRate.js:203:7)
at callCordovaPlugin (http://192.168.1.2:8100/build/vendor.js:77234:43)
at http://192.168.1.2:8100/build/vendor.js:77260:28
at http://192.168.1.2:8100/build/vendor.js:58635:17
at new t (http://192.168.1.2:8100/build/polyfills.js:3:20886)
at tryNativePromise (http://192.168.1.2:8100/build/vendor.js:58634:20)
at getPromise (http://192.168.1.2:8100/build/vendor.js:58642:12)
at wrapPromise (http://192.168.1.2:8100/build/vendor.js:77243:78)
If I remove this line I don’t trigger the rating but nothing else fails:
this.appRate.promptForRating(true);
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top Results From Across the Web
Simple Ionic 3 App Not Working on Android Device
Simple Ionic 3 App Not Working on Android Device · Remove the cordova-plugin-ionic-webview that you are using. · Install version 1.2. · Remove...
Read more >Building not working ionic 3 - webpack error - Stack Overflow
I was trying to add webpack, karma and jasmine to an ionic 3 app and after all the configurations the console gave me...
Read more >The 9 Most Common Mistakes That Ionic Developers Make
However, over time, the best practices and tooling for Ionic have not progressed in the same way. As a result, the number of...
Read more >executeScript not working in ionic 3 · Issue #421 - GitHub
I am using this plugin in ionic 3. ... loadstop event is working fine, but executeScript doesn't work. sage. The text was updated...
Read more >How I migrated from Ionic 3 — Lessons learned and my ...
Migration from Ionic 3 to Ionic 4 isn't hard if you will use Angular 6 and you know this already. The main question...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, working with this tutorial: https://ionicacademy.com/rate-my-app-ionic/
This issue happens when customLocale not provided. Be careful assigning AppRate.preferences = {…}. It’s overwriting default preferences. It’s better to extend object…