Use the SKStoreReviewController
from iOS 10.3+ in your Ttanium application.
- Titanium Mobile SDK 6.0.0.GA or later
- iOS 10.3 or later
- Xcode 8.3 or later
Unpack the module and place it inside the modules/iphone/
folder of your project.
Edit the modules section of your tiapp.xml
file to include this module:
<modules>
<module platform="iphone">ti.reviewdialog</module>
</modules>
This module is also built in Hyperloop to demonstrate the native API access with JavaScript.
You can simple require the ti.reviewdialog.js
in your application and run it!
Request a new review dialog:
var Review = require('ti.reviewdialog');
if (Review.isSupported()) {
Review.requestReview();
}
-
isSupported
-
requestReview
Hans Knoechel (@hansemannnn / Web)
Apache 2.0
Code contributions are greatly appreciated, please submit a new pull request!