react-native-firebase icon indicating copy to clipboard operation
react-native-firebase copied to clipboard

macos support for firebase auth

Open andytriboletti opened this issue 5 months ago • 3 comments

What feature would you like to see?

Is there a missing a feature that is supported on an underlying SDK? Or is there a feature that you think would be useful to have in React Native Firebase?

I would like to make a mac version of my firebase auth and hosting, storage react project. I found it was not supported. How much work do you think it would be?

Spent some time making react native versions of a react project. I found out, as far as I know firebase auth only works on ios and android. If you want macos support to sign in youre out of luck unless you build it yourself, which seems pretty hard actually. So theres Facebook involved with React, Microsoft in making React Native mac library, Apple for the macos app, and Google with Google sign in. React native seems like such a mess that I spent a significant amount of time on.

andytriboletti avatar Jun 15 '25 19:06 andytriboletti

AI created this for me:

Summary

Request for official React Native macOS support for Firebase modules

Motivation

  • React Native macOS is gaining adoption for desktop apps
  • Firebase natively supports macOS through their iOS SDK
  • Current workarounds are complex and unmaintainable
  • Would enable cross-platform Firebase apps (iOS, Android, macOS)

Technical Feasibility

  • Firebase iOS SDK already supports macOS
  • React Native macOS follows similar patterns to iOS
  • Main work would be adapting existing iOS modules

Proposed Implementation

  1. Start with core modules: app, auth, firestore
  2. Leverage existing iOS codebase where possible
  3. Add macOS-specific build configurations
  4. Create macOS example app

Contribution Offer

I'm willing to contribute to this effort and can dedicate time to implementation.

andytriboletti avatar Jun 15 '25 20:06 andytriboletti

Someone suggested Supabase instead of Firebase. I may switch the project to Supabase cause it looks like that supports macos.

andytriboletti avatar Jun 15 '25 22:06 andytriboletti

Currently MacOS only has partial support of auth https://firebase.google.com/docs/ios/learn-more in the native SDK. In order for us to completely support it here it will depend on the native sdk implementing it. I think its worth making a ticket here about it: https://github.com/firebase/firebase-ios-sdk

MichaelVerdon avatar Jun 16 '25 11:06 MichaelVerdon

Thank you for the response, I created a new ticket for firebase-ios-sdk: https://github.com/firebase/firebase-ios-sdk/issues/14990 For now, I think I will try switching to supabase.

andytriboletti avatar Jun 16 '25 22:06 andytriboletti

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Jul 14 '25 22:07 github-actions[bot]

Possibly worth noting that in a macos context, auth is just about fully supported (even with TOTP working now...) via the "other" platform (which wraps firebase-js-sdk).

You can run our e2e test app, open the "manual tests" menu and check the auth demonstrator via our e2e app in its manual config via a yarn tests:macos:manual to see it.

mikehardy avatar Sep 07 '25 14:09 mikehardy