AppRater Library

AppRater Library for Android

License

License

GroupId

GroupId

com.github.codechimp-org.apprater
ArtifactId

ArtifactId

library
Last Version

Last Version

1.0.35
Release Date

Release Date

Type

Type

aar
Description

Description

AppRater Library
AppRater Library for Android
Project URL

Project URL

https://github.com/codechimp-org/AppRater
Source Code Management

Source Code Management

https://github.com/codechimp-org/AppRater

Download library

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.codechimp-org.apprater/library/ -->
<dependency>
    <groupId>com.github.codechimp-org.apprater</groupId>
    <artifactId>library</artifactId>
    <version>1.0.35</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.codechimp-org.apprater/library/
implementation 'com.github.codechimp-org.apprater:library:1.0.35'
// https://jarcasting.com/artifacts/com.github.codechimp-org.apprater/library/
implementation ("com.github.codechimp-org.apprater:library:1.0.35")
'com.github.codechimp-org.apprater:library:aar:1.0.35'
<dependency org="com.github.codechimp-org.apprater" name="library" rev="1.0.35">
  <artifact name="library" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.codechimp-org.apprater', module='library', version='1.0.35')
)
libraryDependencies += "com.github.codechimp-org.apprater" % "library" % "1.0.35"
[com.github.codechimp-org.apprater/library "1.0.35"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

AppRater

Due to lack of available time to thoroughly regression test improvements, other than translations no pull requests will be merged into this project.

AppRater is a library for Android designed to facilitate easy prompting of users to rate your app within the Google Play store or Amazon App Store. It won't prompt until at least 3 days or 7 uses of the app has passed and if the user chooses to rate later the count will start again.

AppRater inherits your themeing so can be used with light or dark variants as seen here;

Example Image Dark Example Image Light

To use simply add the library to your app and make one call within your onCreate method as follows;

AppRater.app_launched(this);

There are several options you can also use to change the default behavior.

You can use the overriden method to specify your own day and launch count parameters. setVersionCodeCheckEnabled or setVersionNameCheckEnabled enable version checking, which will re-enable the prompt count if a new version is installed. isNoButtonVisible will disable the No Thanks button, forcing the user to either rate or prompt later. setDarkTheme and setLightTheme enable manual control over the theme the dialog uses, overriding your application default.

By default this will link to the Google Play store. You can optionally set an alternate market by using;

AppRater.setMarket(new GoogleMarket());

AppRater.setMarket(new AmazonMarket());

You can implement your own market, implementing the Market interface and parse your URI.

If you want to have a "Rate Now" menu option to go straight to your play store listing call AppRater.rateNow(this); within your menu code.

Try out the demo within this repository.

Gradle

AppRater is now pushed to Maven Central as an AAR, so you just need to add the following dependency to your build.gradle.

dependencies {
    compile 'com.github.codechimp-org.apprater:library:1.0.+'
}

Translations

If you would like to help localise this library please fork the project, create and verify your language files, then create a pull request to the translations branch.

Contributing Code

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Developed By

Andrew Jackson [email protected]

Google+ profile: https://plus.google.com/+AndrewJacksonUK

Adapted from a snippet originally posted here

License

Copyright 2013-2017 Andrew Jackson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
com.github.codechimp-org.apprater

CodeChimp.org

Versions

Version
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.29
1.0.28
1.0.27
1.0.26
1.0.25
1.0.23
1.0.22
1.0.21
1.0.20
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1