openfoodfacts / openfoodfacts-ios

Native (Swift) version of Open Food Facts for iOS. Coders & Decoders welcome 🤳🥫 😊
https://ios.openfoodfacts.org
Apache License 2.0
361 stars 160 forks source link

Ask logged-in users to rate the app. #535

Open teolemon opened 4 years ago

teolemon commented 4 years ago

image

philippeauriach commented 4 years ago

Having a bit of experience with this kind of features, I suggest the following :

teolemon commented 4 years ago

Thanks for the input @philippeauriach I was thinking we could use the fact that the user is logged in as a proxy for happiness and engagement.

anubhavpulkit commented 4 years ago

@teolemon According to apple guideline we use only recommended API for rating iOS apps?

anubhavpulkit commented 4 years ago

@teolemon Can I do with Storekit framework?

teolemon commented 4 years ago

Yes, very much following the Apple Guidelines. That sound like the kind of feature where there are some ready made implementations available ?

philippeauriach commented 4 years ago

Yes the Storekit is pretty easy to use. I made a gist whih shows how to ask storekit only after the user compeltes a few events : https://gist.github.com/philippeauriach/311feff934205cff2f767b5e47653862 (as the storekit implementation by Apple restricts the number of time it can be shown, we prefer to ensure that the user is actively using the app before asking him to rate it)