Skip to content

Commit 0618c50

Browse files
authored
Update README.md
Signed-off-by: Kenechukwu Akubue <kengoon19@gmail.com>
1 parent bb9245d commit 0618c50

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ implementation 'com.google.firebase:firebase-storage'
1919
implementation 'com.google.firebase:firebase-analytics'
2020
```
2121
### Buildozer Android project
22+
The current version of [python-for-android](https://github.com/kivy/python-for-android) lacks support for incorporating bom dependencies, modifying the classpath, and copying the `google-service.json`. To address this limitation, a fork of python-for-android has been developed to include these functionalities. To implement these changes in your `buildozer.spec` file, make adjustments to the specified section using the provided values below:
2223
```properties
2324
android.gradle_dependencies = io.github.simplejnius:sjfirebase:1.0.0,
2425
com.google.firebase:firebase-auth,com.google.firebase:firebase-database,
2526
com.google.firebase:firebase-firestore,com.google.firebase:firebase-storage,
2627
com.google.firebase:firebase-analytics
28+
p4a.fork = SimpleJnius
29+
p4a.branch = firebase
2730
```
31+
**Important Note:** Upon creating an Android project within your [Firebase Console](https://firebase.google.com), ensure to transfer the `google-service.json` file to the same location as your `main.py` file.
2832
#### Python(Buildozer) installation
2933
```shell
3034
# pip
@@ -79,4 +83,4 @@ as well as to manage that user's authentication state.
7983
**methods**
8084
- get_current_user
8185
- profile_change_request_builder
82-
##### Visit [FirebaseUser Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser) for more API
86+
##### Visit [FirebaseUser Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser) for more API

0 commit comments

Comments
 (0)