<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf" -->

---
title: Firebase now works with React Native! | daily.dev
description: Firebase now integrates with React Native, letting developers build native iOS apps with JavaScript while using Firebase's realtime database. The post explains...
canonical: https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Firebase now works with React Native! | daily.dev
og:description: Firebase now integrates with React Native, letting developers build native iOS apps with JavaScript while using Firebase's realtime database. The post explains...
og:url: https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf
og:image: https://api.daily.dev/og/posts/bb3UF3BQf.png
og:image:alt: Firebase now works with React Native!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Firebase now works with React Native!

**[Firebase](https://daily.dev/sources/firebase-blog)** · 3 min read · 0 upvotes · 0 comments

## Summary

Firebase now integrates with React Native, letting developers build native iOS apps with JavaScript while using Firebase's realtime database. The post explains what React and React Native are, shows a sample React Native component, and gives quick setup steps: install React Native via the official tutorial, then run npm install firebase --save and require the Firebase JavaScript SDK in your app. It also credits a community contributor for merging WebSocket support into React Native, which enabled the integration.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://firebase.blog/posts/2015/05/firebase-now-works-with-react-native_40>

## Questions this post answers

### How do I use Firebase with React Native?

Install the Firebase JavaScript SDK via npm with 'npm install firebase --save' inside a React Native project, then require it in your code with 'var Firebase = require("firebase");'. This works because WebSocket support was merged into React Native, enabling Firebase's realtime database connection to function on the platform.

_daily.dev surfaces integration guides like this for developers wiring realtime data into mobile apps._

### Why couldn't Firebase be used with React Native before WebSocket support was added?

Firebase relies on realtime, persistent connections to sync data, which requires WebSockets. React Native lacked WebSocket support until community developer Harrison Harnisch got it merged via a pull request, which unblocked libraries like Firebase's JavaScript SDK from working inside React Native apps.

_developers tracking framework capability gaps can follow ecosystem shifts like this on daily.dev._

## Similar posts on daily.dev

- [What Firebase’s Docs Don’t Tell You About Remote Config in React Native \(2026\)](https://daily.dev/posts/what-firebase-s-docs-don-t-tell-you-about-remote-config-in-react-native-2026--063rjk39t) · Medium · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#react](https://daily.dev/tags/react), [#mobile](https://daily.dev/tags/mobile), [#react-native](https://daily.dev/tags/react-native), [#firebase](https://daily.dev/tags/firebase)

[View this post on daily.dev](https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Firebase now works with React Native!","url":"https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf"},"datePublished":"2026-08-23T12:20:24.401Z","dateModified":"2026-08-23T12:34:04.574Z","description":"Firebase now integrates with React Native, letting developers build native iOS apps with JavaScript while using Firebase's realtime database. The post explains...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Firebase","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Firebase","logo":"https://media.daily.dev/image/upload/s--i395oqZH--/f_auto,q_auto/v1787487448/logos/firebase-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/firebase-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,react,mobile,react-native,firebase","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Firebase","item":"https://daily.dev/sources/firebase-blog"},{"@type":"ListItem","position":3,"name":"Firebase now works with React Native!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/firebase-now-works-with-react-native--bb3uf3bqf#faq","mainEntity":[{"@type":"Question","name":"How do I use Firebase with React Native?","acceptedAnswer":{"@type":"Answer","text":"Install the Firebase JavaScript SDK via npm with 'npm install firebase --save' inside a React Native project, then require it in your code with 'var Firebase = require(\"firebase\");'. This works because WebSocket support was merged into React Native, enabling Firebase's realtime database connection to function on the platform. daily.dev surfaces integration guides like this for developers wiring realtime data into mobile apps."}},{"@type":"Question","name":"Why couldn't Firebase be used with React Native before WebSocket support was added?","acceptedAnswer":{"@type":"Answer","text":"Firebase relies on realtime, persistent connections to sync data, which requires WebSockets. React Native lacked WebSocket support until community developer Harrison Harnisch got it merged via a pull request, which unblocked libraries like Firebase's JavaScript SDK from working inside React Native apps. developers tracking framework capability gaps can follow ecosystem shifts like this on daily.dev."}}]}
```

