{"id":23055466,"url":"https://github.com/simplejnius/sj-firebase-java","last_synced_at":"2025-08-15T05:32:11.435Z","repository":{"id":211341258,"uuid":"727200865","full_name":"SimpleJnius/sj-firebase-java","owner":"SimpleJnius","description":"Port Firebase to Pyjnius","archived":false,"fork":false,"pushed_at":"2024-08-04T13:03:57.000Z","size":240,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-05T14:57:15.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimpleJnius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-04T11:47:06.000Z","updated_at":"2024-08-04T12:50:53.000Z","dependencies_parsed_at":"2023-12-19T05:18:14.827Z","dependency_job_id":"5d17fb00-7872-4227-ab2e-2351ef65dad3","html_url":"https://github.com/SimpleJnius/sj-firebase-java","commit_stats":null,"previous_names":["simplejnius/sj-firebase-java"],"tags_count":13,"template":false,"template_full_name":"cortinico/kotlin-android-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleJnius%2Fsj-firebase-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleJnius%2Fsj-firebase-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleJnius%2Fsj-firebase-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleJnius%2Fsj-firebase-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimpleJnius","download_url":"https://codeload.github.com/SimpleJnius/sj-firebase-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229893941,"owners_count":18140620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T01:12:19.927Z","updated_at":"2024-12-16T01:12:20.504Z","avatar_url":"https://github.com/SimpleJnius.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sj-firebase-java\n\n![Build](https://github.com/SimpleJnius/sj-firebase-java/workflows/Pre%20Merge%20Checks/badge.svg)\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.simplejnius/sjfirebase.svg)](https://central.sonatype.com/artifact/io.github.simplejnius/sjfirebase)\n[![MIT](https://img.shields.io/badge/license-MIT-green)](https://mit-license.org/)\n[![Publish Release](https://github.com/SimpleJnius/sj-firebase-java/actions/workflows/publish-release.yaml/badge.svg)](https://github.com/SimpleJnius/sj-firebase-java/actions/workflows/publish-release.yaml)\n[![Publish Snapshot](https://github.com/SimpleJnius/sj-firebase-java/actions/workflows/publish-snapshot.yaml/badge.svg)](https://github.com/SimpleJnius/sj-firebase-java/actions/workflows/publish-snapshot.yaml)\n\nPort Firebase Java SDK to Python\n\n## Usage\n### Android gradle project\n```groovy\nimplementation 'io.github.simplejnius:sjfirebase:1.2.0'\nimplementation 'com.google.firebase:firebase-auth'\nimplementation 'com.google.firebase:firebase-database'\nimplementation 'com.google.firebase:firebase-firestore'\nimplementation 'com.google.firebase:firebase-storage'\nimplementation 'com.google.firebase:firebase-analytics'\n```\n### Buildozer Android project\n```properties\nandroid.gradle_dependencies = io.github.simplejnius:sjfirebase:1.2.0,\n    com.google.firebase:firebase-auth,com.google.firebase:firebase-database,\n    com.google.firebase:firebase-firestore,com.google.firebase:firebase-storage,\n    com.google.firebase:firebase-analytics\n```\n#### Python(Buildozer) installation\n```shell\n# pip\npip install sjfirebase\n\n# buildozer.spec\nrequirements = sjfirebase\n```\n### Java API\n#### SJFirebaseAuthEmail\n```java\npublic class com.simplejnius.sjfirebase.SJFirebaseAuthEmail\n```\nThe entry point of the Firebase Authentication SDK.\nFirst, obtain an instance of this class by calling `get_instance`\n(**NOTE** ignore `getInstance` on firebase documentation).\n\n**methods**\n- check_user_signed_in\n- get_instance\n##### Visit [FirebaseAuth Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseAuth) for more API\n\n#### SJFirebaseDatabase\n```java\npublic class com.simplejnius.sjfirebase.SJFirebaseDatabase\n```\nThe entry point for accessing a Firebase Database. \nYou can get an instance by calling getInstance. \nTo access a location in the database and read or write data, use `get_ref`\n(**NOTE** ignore `getReference` on firebase documentation).\n\n**methods**\n- get_db\n- get_ref\n##### Visit [FirebaseDatabase Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/database/FirebaseDatabase) for more API\n\n#### SJFirebaseFirestore\n```java\npublic class com.simplejnius.sjfirebase.SJFirebaseFirestore\n```\n\n**methods**\n- get_db\n##### Visit [FirebaseFirestore Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/FirebaseFirestore) for more API\n\n#### SJFirebaseUser\n```java\npublic class com.simplejnius.sjfirebase.SJFirebaseUser\n```\nRepresents a user's profile information in your Firebase project's user database. \nIt also contains helper methods to change or retrieve profile information, \nas well as to manage that user's authentication state.\n(**NOTE** ignore `getCurrentUser` on firebase documentation and use `get_current_user`).\n\n**methods**\n- get_current_user\n- profile_change_request_builder\n##### Visit [FirebaseUser Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser) for more API\n\n#### SJFirebaseStorage\n```java\npublic class com.simplejnius.sjfirebase.SJFirebaseStorage\n```\nFirebaseStorage is a service that supports uploading and downloading large objects to Google Cloud \nStorage. Pass a custom instance of [FirebaseApp]\n(https://firebase.google.com/docs/reference/android/com/google/firebase/FirebaseApp?authuser=0) \nto get_instance which will initialize it with a \nstorage location (bucket) specified via [setStorageBucket]\n(https://firebase.google.com/docs/reference/android/com/google/firebase/FirebaseOptions.Builder?authuser=0#setStorageBucket(java.lang.String)).\n\nOtherwise, if you call getReference without a FirebaseApp, the FirebaseStorage instance will \ninitialize with the default FirebaseApp obtainable from getInstance. \nThe storage location in this case will come the JSON configuration file downloaded from the web.\n(**NOTE** ignore `getInstance` on firebase documentation and use `get_instance`).\n\n**methods**\n- get_instance\n##### Visit [FirebaseStorage Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/storage/FirebaseStorage?authuser=0) for more API","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplejnius%2Fsj-firebase-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplejnius%2Fsj-firebase-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplejnius%2Fsj-firebase-java/lists"}