Wish Allow Users to Provide Ratings From Within Your App (iOS 10.3 beta)

tufanv

Expert
Licensed User
Longtime User
Should be simple to call with NativeObject:
B4X:
If App.OSVersion > 10.3 Then
Dim no As NativeObject
no.Initialize("SKStoreReviewController").RunMethod("requestReview", Null)
End If

Will test it once the version is released...
I tested this and it is working well but for 10.3 for the above code we must change the
If App.OSVersion > 10.3Then to >=10.3
 

Nicolás Cieri

Active Member
Licensed User
Hello everyone, I have tried this code, it works in debug, but when it is uploaded to the store, it does not fire the event, nothing happens.

Any ideas?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
This is what Apple says about this method:

Although you normally call this method when it makes sense in the user experience flow of your app, App Store policy governs the actual display of a rating and review request view. Because this method may not present an alert, it isn’t appropriate to call requestReview or requestReviewInScene: in response to a button tap or other user action.

During development it always show the dialog.
 
Top