This repository contains the information to integrate in app review using the Google Play Store API for Android applications developed with Kivy.
This module is licensed under the Apache License version 2.0.
⚠️ Warning:
This module has only been tested for android API versions between 28 and 34. This might not work for older versions.
To integrate this module in your application you have to follow a few steps:
- Copy the code inside your folders : You have to copy the
src
folder and thekivyreview.py
file inside your own code arborescence. If you copy them at the root of your project, you can use directly the following instructions, if you prefer to rename thesrc
folder or move the files somewhere else, do not forget to adapt the paths in the instructions to match the ones you used.
⚠️ Warning:
Do not rename theReviewHandler.java
file unless you know what you are doing. You will need to adapt the java code in this case.
- Update your
buildozer.spec
file : Some modifications needs to be done in thebuildozer.spec
file:
Search the line allowing to include gradle dependencies during compilation.
# android.gradle_dependencies =
It needs to be replaced by:
ndroid.gradle_dependencies = com.google.android.play:core:1.10.0
📝 Note:
If you already have other dependencies, just add a comma between them.
Search the line allowing to include additional java code in your application.
# android.add_src =
It needs to be replaced by:
android.add_src = src
- Call the
request_review
where yo need it : You can now import therequest_review
function from thekivyreview
module in your code and call it where you need it.
If you encounter a problem or a bug during this procedure, please do not hesitate to raise an issue on this github repository.