In app review integration for kivy on android.
APACHE-2.0 License
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:
src
folder and the kivyreview.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 the src
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 the
ReviewHandler.java
file unless you know what you are doing. You will need to adapt the java code in this case.
buildozer.spec
file : Some modifications needs to be done in the buildozer.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
request_review
where yo need it : You can now import the request_review
function from the kivyreview
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.