You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Important Note:** Upon creating an Android project within your [Firebase Console](https://firebase.google.com),
24
+
ensure to transfer the `google-service.json` file to the same location as your `main.py` file.
25
+
#### Python(Buildozer) installation
26
+
```shell
27
+
# pip
28
+
pip install sjfirebase
29
+
30
+
# buildozer.spec
31
+
requirements = sjfirebase
32
+
```
33
+
### Python API
34
+
#### ActionCodeSettings
35
+
```python
36
+
class sjfirebase.jclass.action.ActionCodeSettings
37
+
```
38
+
Structure that contains the required continue/state URL with optional Android and iOS bundle identifiers.
39
+
The stateUrl used to initialize this class is the link/deep link/fallback url used while constructing the
40
+
Firebase dynamic link.
41
+
42
+
**methods**
43
+
-`newBuilder`
44
+
##### Visit [ActionCodeSettings Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/auth/ActionCodeSettings) for more API
45
+
46
+
#### SJFirebaseAuthEmai
47
+
```python
48
+
class sjfirebase.jclass.auth.SJFirebaseAuthEmai
49
+
```
50
+
The entry point of the Firebase Authentication SDK.
51
+
First, obtain an instance of this class by calling `get_instance`
52
+
53
+
**methods**
54
+
- check_user_signed_in
55
+
- get_instance
56
+
##### Visit [FirebaseAuth Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseAuth) for more API
57
+
58
+
#### SJFirebaseDatabase
59
+
```python
60
+
class sjfirebase.jclass.database.SJFirebaseDatabase
61
+
```
62
+
The entry point for accessing a Firebase Database.
63
+
You can get an instance by calling getInstance.
64
+
To access a location in the database and read or write data, use `get_ref`
65
+
66
+
**methods**
67
+
- get_db
68
+
- get_ref
69
+
##### Visit [FirebaseDatabase Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/database/FirebaseDatabase) for more API
70
+
71
+
#### SJFirebaseFirestore
72
+
```python
73
+
class sjfirebase.jclass.firestore.SJFirebaseFirestore
74
+
```
75
+
76
+
**methods**
77
+
- get_db
78
+
##### Visit [FirebaseFirestore Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/FirebaseFirestore) for more API
79
+
80
+
#### SJFirebaseUser
81
+
```python
82
+
class sjfirebase.jclass.user.SJFirebaseUser
83
+
```
84
+
Represents a user's profile information in your Firebase project's user database.
85
+
It also contains helper methods to change or retrieve profile information,
86
+
as well as to manage that user's authentication state.
87
+
88
+
**methods**
89
+
- get_current_user
90
+
- profile_change_request_builder
91
+
##### Visit [FirebaseUser Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser) for more API
92
+
93
+
#### OnCompleteListener
94
+
```python
95
+
class sjfirebase.jinterface.oncomplete.OnCompleteListener
96
+
```
97
+
Listener called when a Task completes.
98
+
99
+
**methods**
100
+
- onComplete
101
+
##### Visit [OnCompleteListener Documentation](https://developers.google.com/android/reference/com/google/android/gms/tasks/OnCompleteListener) for more API
0 commit comments