{"id":24358669,"url":"https://github.com/dayitv89/react-native-quick-firebase","last_synced_at":"2025-07-16T21:08:29.630Z","repository":{"id":44781944,"uuid":"136119458","full_name":"dayitv89/react-native-quick-firebase","owner":"dayitv89","description":"Firebase simple integration with phone auth and analytics only.","archived":false,"fork":false,"pushed_at":"2024-11-19T04:46:40.000Z","size":285,"stargazers_count":1,"open_issues_count":2,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-12T11:03:19.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-quick-firebase","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/dayitv89.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":"2018-06-05T04:24:05.000Z","updated_at":"2022-01-06T14:14:49.000Z","dependencies_parsed_at":"2025-04-10T05:45:43.092Z","dependency_job_id":"c5826f9a-26df-4b3a-a928-aec2cd5a8fbf","html_url":"https://github.com/dayitv89/react-native-quick-firebase","commit_stats":{"total_commits":49,"total_committers":8,"mean_commits":6.125,"dds":0.653061224489796,"last_synced_commit":"a2c92b529ce388152d39ea2f51dd1b7a55135ad4"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/dayitv89/react-native-quick-firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Freact-native-quick-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Freact-native-quick-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Freact-native-quick-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Freact-native-quick-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dayitv89","download_url":"https://codeload.github.com/dayitv89/react-native-quick-firebase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Freact-native-quick-firebase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265540598,"owners_count":23784940,"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":"2025-01-18T20:21:04.083Z","updated_at":"2025-07-16T21:08:29.596Z","avatar_url":"https://github.com/dayitv89.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-quick-firebase\n\n![](https://img.shields.io/badge/Stable-v1.1.4-green.svg?style=flat)\n![](https://img.shields.io/badge/RN-v0.65.x+-orange.svg?style=flat)\n\nFirebase simple integration with phone auth and analytics only.\n\nImplementation in React Native project\n\nPlease add this entries as follow -\n\n- _iOS_ ( In Podfile)\n\n```\npod 'RNQuickFirebase', :path =\u003e PROJECT_PATH + 'react-native-quick-firebase/ios'\npod 'Firebase/Auth'\npod 'FirebaseAnalytics'\n```\n\n- _Android_\n\nandroid/settings.gradle\n\n```\ninclude ':react-native-quick-firebase'\nproject(':react-native-quick-firebase').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-quick-firebase/android')\n```\n\nandroid/app/build.gradle\n\n```\ndependencies {\n    ...\n    implementation project(':react-native-quick-firebase')\n}\n```\n\nMainApplication.java\n\n```\npublic class MainApplication extends Application implements ReactApplication {\n\n    private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {\n        @Override\n        protected List\u003cReactPackage\u003e getPackages() {\n            return Arrays.\u003cReactPackage\u003easList(\n                    ...\n                    new QuickFirebasePackage()\n            );\n        }\n    };\n}\n```\n\n### Sample code\n\n```javascript\n//\n// Copyright © 2017-Present, Gaurav D. Sharma\n// All rights reserved.\n//\n'use strict'\n\nimport React, { Component } from 'react'\nimport { AppRegistry, Text, TouchableOpacity, View } from 'react-native'\nimport RNQuickFirebase from 'react-native-quick-firebase'\n\nclass App extends Component {\n  componentDidMount() {\n    RNQuickFirebase.setAnalyticsEnabled(true)\n  }\n\n  onSendOTP = async () =\u003e {\n    RNQuickFirebase.logEvent('otp_button_click', null)\n    let params = null\n    try {\n      const phoneNumber = '+919876543210'\n      await RNQuickFirebase.sendOTP(phoneNumber)\n      console.warn('otp sent to: ' + phoneNumber)\n      const sessionToken = await RNQuickFirebase.validateOTP('123456')\n      console.warn('OTP validated successfully with sessionToken: ' + sessionToken)\n      params = { otp_validate_event: 'otp_success' }\n      RNQuickFirebase.logEvent('otp_send_validate', params)\n      /// send this token to server to cross validate\n      RNQuickFirebase.signOut()\n      console.warn('User Logout from the Firebase')\n    } catch (e) {\n      console.warn(e)\n      params = { ['otp_send_event']: 'otp_failed' }\n      RNQuickFirebase.logEvent('otp_send_validate', null)\n    }\n  }\n\n  render() {\n    return (\n      \u003cView style={{ flex: 1, backgroundColor: 'white', justifyContent: 'center', alignItems: 'center' }}\u003e\n        \u003cTouchableOpacity onPress={this.onSendOTP}\u003e\n          \u003cText\u003eCheck RNQuickFirebase App\u003c/Text\u003e\n        \u003c/TouchableOpacity\u003e\n      \u003c/View\u003e\n    )\n  }\n}\n\nAppRegistry.registerComponent('firebaseDemo', () =\u003e App)\n```\n\nVoila! Happy Coding! 😍\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayitv89%2Freact-native-quick-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdayitv89%2Freact-native-quick-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayitv89%2Freact-native-quick-firebase/lists"}