freshworks / mobihelp-android

MIT License
15 stars 13 forks source link

Amazon Appstore #5

Closed fenlandersoftware closed 9 years ago

fenlandersoftware commented 9 years ago

My apps are sold on Google Play and Amazon App store - is it possible to get the review code to detect this and act appropriately ??

tryprasannan commented 9 years ago

We just published version 1.3 of the SDK which has support for initiating review in other app stores. We allow you to override the url used for launching the app store for review. For e.g. for Amazon AppStore, you can configure it as follows during initialization.

    MobihelpConfig config = new MobihelpConfig("https://yourfreshdeskdomain.freshdesk.com", "your-app-id-here", "your-app-secret-here");
    config.setAppStoreReviewUrl("http://www.amazon.com/gp/mas/dl/android?p=your_app_package_name_here");
    Mobihelp.init(this, config);