Skip to content

Commit b8a6561

Browse files
committed
Add phone symbols to react native export
1 parent 317394d commit b8a6561

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/auth/index.rn.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,21 @@ import { getReactNativePersistence } from './src/platform_react_native/persisten
3535
// Core functionality shared by all clients
3636
export * from './index.shared';
3737

38+
// Export some Phone symbols
39+
// providers
40+
export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
41+
42+
// strategies
43+
export {
44+
signInWithPhoneNumber,
45+
linkWithPhoneNumber,
46+
reauthenticateWithPhoneNumber,
47+
updatePhoneNumber
48+
} from './src/platform_browser/strategies/phone';
49+
50+
// MFA
51+
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
52+
3853
/**
3954
* An implementation of {@link Persistence} of type 'LOCAL' for use in React
4055
* Native environments.

0 commit comments

Comments
 (0)