| Package | com.myflashlab.air.extensions.rateme |
| Class | public class RateMe |
| Inheritance | RateMe Object |
RateMe ANE lets you ask your users to rate your app in the most efficient way. i.e you can make sure you are asking for users feedback only when you are sure that they have found your app interesting and are using it frequently. RateMe ANE will let you set the number of days before the rating dialog should be promoted and also lets you set the number of app launches plus many more configurations that will help you promote the rating dialog to only those who might leave a positive feedback.
This ANE has been built based on the following two Libraries:
Make sure to take care of the permissions manually if you are targeting AIR SDK 24+: https://github.com/myflashlab/RateMe-ANE/#permissions
| Property | Defined By | ||
|---|---|---|---|
| api : RateMeApi [static] [read-only]
Access to the RateMe API
| RateMe | ||
| Method | Defined By | ||
|---|---|---|---|
[static]
Call this method to initialize the RateMe ANE. | RateMe | ||
| Constant | Defined By | ||
|---|---|---|---|
| AMAZON : int = 2 [static] set RateMe.api.storeType to AMAZON so the ANE knows which store it should open | RateMe | ||
| APPLE : int = 0 [static] You don't have to set the RateMe.api.storeType for the iOS side because iOS has only one store anyway. | RateMe | ||
| EXTENSION_ID : String = com.myflashlab.air.extensions.rateMe [static] | RateMe | ||
| GOOGLEPLAY : int = 1 [static] set RateMe.api.storeType to GOOGLEPLAY so the ANE knows which store it should open | RateMe | ||
| VERSION : String = 1.2.31 [static] | RateMe | ||
| api | property |
api:RateMeApi [read-only] Access to the RateMe API
public static function get api():RateMeApi| init | () | method |
public static function init($debugMode:Boolean = false, $appId:String = null):RateMeCall this method to initialize the RateMe ANE.
Parameters
$debugMode:Boolean (default = false) — set it to true and the rating dialog will always be shown. This is useful for debugging reasons.
| |
$appId:String (default = null) — Leave it as null and the extension will automatically find your package ID. Setting this parameter
is useful when you are debugging your app and it's not yet uploaded to the stores! This way, you can point it to another app just
for debugging reasons.
|
RateMe |
| AMAZON | Constant |
public static const AMAZON:int = 2 set RateMe.api.storeType to AMAZON so the ANE knows which store it should open
| APPLE | Constant |
public static const APPLE:int = 0 You don't have to set the RateMe.api.storeType for the iOS side because iOS has only one store anyway.
| EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.rateMe| GOOGLEPLAY | Constant |
public static const GOOGLEPLAY:int = 1 set RateMe.api.storeType to GOOGLEPLAY so the ANE knows which store it should open
| VERSION | Constant |
public static const VERSION:String = 1.2.31