DefReview - native Ratings and Reviews window for iOS

#1

Small native extension for iOS Ratings and Reviews native window.

if (defreview and defreview.isSupported()) then
  defreview.requestReview()
else
  --do something else
end

Thank’s @dapetcu21 for workaround of issue with old ios SDK

https://www.defold.com/community/projects/131578/
https://defold.com/assets/defreview/

16 Likes

Poll for a next Lib/NE
#2

Thank you sir, this is amazing!!!

1 Like

#3

What’s the typical procedure for this on Android? Ask via in-game popup (Yes, No, Later), and if user answers Yes, navigate to Play Store listing? And perhaps remember the answer to not nag the user if the user has already declined. Maybe this could be added as well?

0 Likes

Poll for a next Lib/NE
#4

I am not sure what is typical behavior on android in this case.
We use own popup in game.

I can add if somebody know how it should be (maybe some link to android guideline?)

1 Like

#5

True, there’s no real guidelines. Might be better to leave it out. It was a bad idea.

2 Likes

#6

Thanks for the extension @AGulev

I’m trying to test it in a debug version on my device but whenever I triggered asking for review nothing happens.

Is it because the app is in debug mode or that the app is not published yet?

Hope you can help me.

Cheers!

0 Likes

#7

What iOS version are you on? According to the documentation and the code, it’s only supported on iOS 10.3+.

defreview.isSupported()
Is feature supprorted (It’s avaliable only on iOS 10.3+)

1 Like

#8

I don’t remember exactly, but maybe you need to upload your game to Testflight.

1 Like

#9

I tried in Testflight with an app in debug and release mode without success. hopefully it works once the app gets published.

Thanks @AGulev

0 Likes

#10

I used Defreview in my game (published ), it works.

3 Likes

#11

Thanks for letting me know @Dragosha

0 Likes

#12

@Dragosha Were you able to test it before publishing? My integration works in Appcenter but, for some reason, not on Testflight. When it fails nothing happens when calling defreview.requestReview().

Edit: This is, apparently, expected behaviour:


https://developer.apple.com/documentation/storekit/skstorereviewcontroller/2851536-requestreview

4 Likes