Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛] Auth providers are missing from top-level modular types #8368

Open
1 of 10 tasks
henribru opened this issue Feb 24, 2025 · 1 comment
Open
1 of 10 tasks

[🐛] Auth providers are missing from top-level modular types #8368

henribru opened this issue Feb 24, 2025 · 1 comment
Labels
Needs Attention plugin: authentication Firebase Authentication type: bug New bug report

Comments

@henribru
Copy link

henribru commented Feb 24, 2025

Issue

At runtime, the modular API exports all the various auth providers at the top-level: https://github.com/invertase/react-native-firebase/blob/main/packages/auth/lib/index.js#L51-L62

In https://github.com/invertase/react-native-firebase/blob/main/packages/auth/lib/index.d.ts, these are only exported as part of the Statics interface: https://github.com/invertase/react-native-firebase/blob/main/packages/auth/lib/index.d.ts#L281C20-L281C28, not at the top-level

Project Files

Javascript

Click To Expand

package.json:

# N/A

firebase.json for react-native-firebase v6:

# N/A

iOS

Click To Expand

ios/Podfile:

  • I'm not using Pods
  • I'm using Pods and my Podfile looks like:
# N/A

AppDelegate.m:

// N/A


Android

Click To Expand

Have you converted to AndroidX?

  • my application is an AndroidX application?
  • I am using android/gradle.settings jetifier=true for Android compatibility?
  • I am using the NPM package jetifier for react-native compatibility?

android/build.gradle:

// N/A

android/app/build.gradle:

// N/A

android/settings.gradle:

// N/A

MainApplication.java:

// N/A

AndroidManifest.xml:

<!-- N/A -->


Environment

Click To Expand

react-native info output:

 OUTPUT GOES HERE
  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • react-native-firebase version you're using that has this issue:
    • e.g. 5.4.3
  • Firebase module(s) you're using that has the issue:
    • e.g. Instance ID
  • Are you using TypeScript?
    • Y/N & VERSION


@MichaelVerdon MichaelVerdon added the plugin: authentication Firebase Authentication label Feb 25, 2025
@MichaelVerdon
Copy link
Collaborator

Hi there, if I am understanding you correctly, I believe I have a PR out here that addresses this handling provider exports on the Modular API as we are refining the Modular API implementations across all packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention plugin: authentication Firebase Authentication type: bug New bug report
Projects
None yet
Development

No branches or pull requests

2 participants