-
Notifications
You must be signed in to change notification settings - Fork 989
Closed
Description
Operating System
Mac OS 13.3
Browser Version
Chrome 118.0.5993.70
Firebase SDK Version
10.4.0
Firebase SDK Product:
Auth
Describe your project's tooling
React Native app, metro
Describe the problem
When attempting to configure our app to work with the TOTP authentication flow, we discovered that TotpMultiFactorGenerator was not exported in the React Native bundle. We had previously used this in our web app with the same version of the SDK.
We've found a work around by taking the code we needed from the bundle used on the web and adding it as a patch to @firebase/auth/dist/rn/index-1dd41d18.js using patch-package though obviously this isn't ideal as I imagine this would break upon updating the package.
Steps and code to reproduce issue
Install Firebase SDK in a React Native app and attempt to import TotpMultiFactorGenerator.