Skip to content

Commit e13d61b

Browse files
committed
* Fixed files formatting
* Updated example app * Updated version
1 parent 373b133 commit e13d61b

7 files changed

Lines changed: 15 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [1.0.5+1] - 11/07/2022
2+
3+
* Fixed files formatting
4+
* Updated example app
5+
16
## [1.0.5] - 10/07/2022
27

38
* BREAKING: Renamed flag timeOutDuration to autoRetrievalTimeOutDuration

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class _VerifyPhoneNumberScreenState extends State<VerifyPhoneNumberScreen>
290290
child: FirebasePhoneAuthHandler(
291291
phoneNumber: widget.phoneNumber,
292292
signOutOnSuccessfulVerification: false,
293-
autoRetrievalTimeOutDuration: const Duration(seconds: 30),
293+
autoRetrievalTimeOutDuration: const Duration(seconds: 60),
294294
otpExpirationDuration: const Duration(seconds: 60),
295295
onCodeSent: () {
296296
log(VerifyPhoneNumberScreen.id, msg: 'OTP sent!');

example/lib/screens/verify_phone_number_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class _VerifyPhoneNumberScreenState extends State<VerifyPhoneNumberScreen>
6767
child: FirebasePhoneAuthHandler(
6868
phoneNumber: widget.phoneNumber,
6969
signOutOnSuccessfulVerification: false,
70-
autoRetrievalTimeOutDuration: const Duration(seconds: 30),
70+
autoRetrievalTimeOutDuration: const Duration(seconds: 60),
7171
otpExpirationDuration: const Duration(seconds: 60),
7272
onCodeSent: () {
7373
log(VerifyPhoneNumberScreen.id, msg: 'OTP sent!');

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ packages:
105105
path: ".."
106106
relative: true
107107
source: path
108-
version: "1.0.5"
108+
version: "1.0.5+1"
109109
flutter:
110110
dependency: "direct main"
111111
description: flutter

lib/firebase_phone_auth_handler.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
library firebase_phone_auth_handler;
22

3+
export 'package:firebase_auth/firebase_auth.dart';
4+
35
export 'src/auth_handler.dart';
46
export 'src/auth_provider.dart';
5-
export 'package:firebase_auth/firebase_auth.dart';

lib/src/auth_handler.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ class FirebasePhoneAuthHandler extends StatefulWidget {
1818
this.onLoginSuccess,
1919
this.onCodeSent,
2020
this.signOutOnSuccessfulVerification = false,
21-
this.autoRetrievalTimeOutDuration = FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
22-
this.otpExpirationDuration = FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
21+
this.autoRetrievalTimeOutDuration =
22+
FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
23+
this.otpExpirationDuration =
24+
FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
2325
this.recaptchaVerifierForWebProvider,
2426
}) : super(key: key);
2527

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: firebase_phone_auth_handler
22
description: An easy-to-use firebase phone authentication package to easily send and verify OTP's with auto-fetch OTP support via SMS. Supports web out of the box.
3-
version: 1.0.5
3+
version: 1.0.5+1
44
homepage: https://github.com/rithik-dev/firebase_phone_auth_handler
55

66
environment:

0 commit comments

Comments
 (0)