Comments (6)
try callback(3) instead.
from cordova-plugin-apprate.
Hi @rhafiko , @selcuk-sahin , @pushandplay
The callbacks 'onRateDialogShow' and related callback(1) invokes 'onButtonClicked' on invoking AppRate.promptForRating(), however, they are not triggered based on the user selections in native prompt. Do we have any option to get the user button selections/actions
TIA
Krishna
from cordova-plugin-apprate.
A workaround:
I ended up creating my own soft prompt & trigger the app rate immediately.
I'm using ionic-native wrapper here.
Also using Swal2 for the soft alerts, but you can do it any way you like.
for example:
// show & handle alert
const initialFeedBack = await Swal.fire("Would you like to rate the app?");
if(initialFeedBack.isConfirmed) {
// prompt appRate immediately
this.appRate.promptForRating(true);
}
from cordova-plugin-apprate.
I have such controlled invoke of AppRate plugin, My issue is while invoking. I have to hold on to custom logics in below areas, however, these are not being triggered based on user selections in rate prompt. The 'onRateDialogShow' gets invoked right after popup gets launched along with 'onButtonClicked' function. Do we have any way to understand whether user given a rating or selected not now/cancel etc ?
AppRate.setPreferences({
callbacks: {
handleNegativeFeedback: () => {
//TODO- custom logic
},
onRateDialogShow: (callback) => {
callback(3);
//TODO- custom logic
},
onButtonClicked: (buttonIndex, currentBtn, type) => {
//TODO- custom logic
},
done: () => {
//TODO- custom logic
}
}
});
from cordova-plugin-apprate.
Do we have any way to understand whether user given a rating or selected not now/cancel etc ?
I don't believe we can, due to privacy reasons & device limitations.
Users share their opinion & rating with their app store & not with us, directly.
from cordova-plugin-apprate.
Do we have any way to understand whether user given a rating or selected not now/cancel etc ?
I don't believe we can, due to privacy reasons & device limitations. Users share their opinion & rating with their app store & not with us, directly.
Even I too reached the same understandings. Still was checking one more round. Thanks for your time :)
from cordova-plugin-apprate.
Related Issues (20)
- [Android] Asking users whether they like the app before prompting
- Opening file:///android_asset/www/null
- NegativeFeedback iOS MailTo doesnt work HOT 1
- Is it possible to get rid of Would you mind rating xxx App? Dialog HOT 1
- App fails to open app store HOT 3
- Detect if app is already rated HOT 1
- Package Not Working
- Error in reviewType HOT 1
- Preferences always null HOT 2
- Change buttons position HOT 1
- iOS- InAppReview popup for rating is taking device language.
- Android Rating alert is showing some asci value
- usesUntilPrompt not showing each 3rd time in AppRate Plugin
- Line 3195 - Msg: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'confirm') if InAppReview or showPromptForInAppReview is true
- Erro no reviewType
- App Gallery HOT 1
- iOS displays blank rating form
- IOS 17.0.1 - Error "Call must be made on main thread" HOT 7
- BSF Cordova Ecosystem Crowdfunding Plan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-apprate.