File tree 3 files changed +23
-0
lines changed
src/platform_browser/strategies
3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @firebase/auth " : patch
3
+ ---
4
+
5
+ Export Phone sign in functionality in React Native entrypoint (except for RecaptchaVerifier)
Original file line number Diff line number Diff line change @@ -35,6 +35,21 @@ import { getReactNativePersistence } from './src/platform_react_native/persisten
35
35
// Core functionality shared by all clients
36
36
export * from './index.shared' ;
37
37
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
+
38
53
/**
39
54
* An implementation of {@link Persistence} of type 'LOCAL' for use in React
40
55
* Native environments.
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ class ConfirmationResultImpl implements ConfirmationResult {
78
78
*
79
79
* For abuse prevention, this method also requires a {@link ApplicationVerifier}.
80
80
* This SDK includes a reCAPTCHA-based implementation, {@link RecaptchaVerifier}.
81
+ * This function can work on other platforms that do not support the
82
+ * {@link RecaptchaVerifier} (like React Native), but you need to use a
83
+ * third-party {@link ApplicationVerifier} implementation.
81
84
*
82
85
* @example
83
86
* ```javascript
You can’t perform that action at this time.
0 commit comments