Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the method so that developers can control their own jump market #126

Open
lufuqiang opened this issue Mar 30, 2017 · 1 comment
Open

Comments

@lufuqiang
Copy link

Hi,As you know,China can't access google market,we have many app market,so,can you add a method so that developers can control their own jump market?

@AlexanderLS
Copy link

@lufuqiang In https://github.com/Vorlonsoft/AndroidRate (Release 1.1.6+) you can do it:

Appstores

You can use different app stores.

Chinese app stores

The first Chinese app store found on the user device will be used. The Library doesn't check the availability of your application on the app store.

AppRate.with(this).setStoreType(StoreType.CHINESESTORES); // 19 chinese app stores: 腾讯应用宝, 360手机助手,
// 小米应用商店, 华为应用商店, 百度手机助手, OPPO应用商店, 中兴应用商店, VIVO应用商店, 豌豆荚, PP手机助手, 安智应用商店,
// 91手机助手, 应用汇, QQ手机管家, 机锋应用市场, GO市场, 宇龙Coolpad应用商店, 联想应用商店, cool市场

Other store

AppRate.with(this).setStoreType(String); // Any other store,
                                         // String - an RFC 2396-compliant URI to your app
                                         // e. g. "https://otherstore.com/app?id=com.yourapp"
                                         // or "otherstore://apps/com.yourapp"

Сustom Intents

You can set custom action to the Rate button. For example, you want to open your custom RateActivity when the Rate button clicked.

AppRate.with(this).setStoreType(Intent[]); // Any custom intents, Intent[] - array of intents,
                                           // first will be executed (startActivity(intents[0])),
                                           // if first fails, second will be executed (startActivity(intents[1])), etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants