Skip to content

LupaDevStudio/kivy-in-app-review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kivy In-App-Review

This repository contains the information to integrate in app review using the Google Play Store API for Android applications developed with Kivy.

License

This module is licensed under the Apache License version 2.0.

Integration

⚠️ 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:

  1. Copy the code inside your folders : You have to copy the 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.

  1. Update your 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
  1. Call the 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.

Bugs and issues

If you encounter a problem or a bug during this procedure, please do not hesitate to raise an issue on this github repository.