File tree Expand file tree Collapse file tree 6 files changed +9
-19
lines changed Expand file tree Collapse file tree 6 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 1+ ## [ 1.0.3] - 03/05/2022
2+
3+ * Updated example app
4+ * Updated README.md
5+
16## [ 1.0.2] - 30/04/2022
27
38* Renamed auth_service to auth_controller
Original file line number Diff line number Diff line change 88* Supports OTP on web out of the box.
99
1010## Screenshots
11- <img src =" https://user-images.githubusercontent.com/56810766/115599399-341ffc80-a2f9-11eb-9410-ffd1a254caf6.jpeg " height =600/ >  ;  ; <img src =" https://user-images.githubusercontent.com/56810766/115599396-33876600-a2f9-11eb-9516-d0f189b88a53.jpeg " height =600/ >  ;  ; <img src =" https://user-images.githubusercontent.com/56810766/115599390-31bda280-a2f9-11eb-8990-d3df76d3aabc.jpg " height =600/ >  ;  ; <img src =" https://user-images.githubusercontent.com/56810766/115599398-33876600-a2f9-11eb-9a3a-61e073212c7b.jpeg " height =600/ >
11+ <img src =" https://user-images.githubusercontent.com/56810766/166433323-39875cc4-440a-4556-9550-1b5ab4e8f310.gif " height =600/ >  ;  ; <img src =" https://user-images.githubusercontent.com/56810766/115599396-33876600-a2f9-11eb-9516-d0f189b88a53.jpeg " height =600/ >  ;  ; <img src =" https://user-images.githubusercontent.com/56810766/115599390-31bda280-a2f9-11eb-8990-d3df76d3aabc.jpg " height =600/ >  ;  ; <img src =" https://user-images.githubusercontent.com/56810766/166431851-228693fe-7430-4c66-baa2-65acc2db9db4.jpg " height = 600/ > & nbsp ;& nbsp ; < img src = " https://user-images.githubusercontent.com/56810766/166431847-06aceb70-db87-4138-8146-e9c935a51cf2.jpg " height = 600/ > & nbsp ;& nbsp ; < img src = " https://user-images.githubusercontent.com/56810766/166431849-28a4563d-2c59-4da7-b21a-355dc0b72448.jpg " height = 600/ > & nbsp ;& nbsp ; < img src = " https://user-images.githubusercontent.com/56810766/166431854-f0f8ec50-a105-47ab-97a1-d12dbaf13ce8.jpg " height =600/ >
1212
1313## Getting Started
1414<b >Step 1</b >: Before you can add Firebase to your app, you need to create a Firebase project to connect to your application.
Original file line number Diff line number Diff line change @@ -18,21 +18,8 @@ class AuthenticationScreen extends StatefulWidget {
1818class _AuthenticationScreenState extends State <AuthenticationScreen > {
1919 String ? phoneNumber;
2020
21- late final TextEditingController _controller;
2221 final _formKey = GlobalKey <FormState >();
2322
24- @override
25- void initState () {
26- _controller = TextEditingController ();
27- super .initState ();
28- }
29-
30- @override
31- void dispose () {
32- _controller.dispose ();
33- super .dispose ();
34- }
35-
3623 @override
3724 Widget build (BuildContext context) {
3825 return SafeArea (
@@ -54,7 +41,6 @@ class _AuthenticationScreenState extends State<AuthenticationScreen> {
5441 child: Form (
5542 key: _formKey,
5643 child: IntlPhoneField (
57- controller: _controller,
5844 autofocus: true ,
5945 invalidNumberMessage: 'Invalid Phone Number!' ,
6046 textAlignVertical: TextAlignVertical .center,
@@ -79,7 +65,6 @@ class _AuthenticationScreenState extends State<AuthenticationScreen> {
7965 ! _formKey.currentState! .validate ()) {
8066 showSnackBar ('Please enter a valid phone number!' );
8167 } else {
82- _controller.clear ();
8368 Navigator .pushNamed (
8469 context,
8570 VerifyPhoneNumberScreen .id,
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class _PinInputFieldState extends State<PinInputField> {
7272 );
7373 }
7474
75- static const _focusScaleFactor = 1.2 ;
75+ static const _focusScaleFactor = 1.15 ;
7676
7777 @override
7878 Widget build (BuildContext context) {
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ packages:
105105 path: ".."
106106 relative: true
107107 source: path
108- version: "1.0.2 "
108+ version: "1.0.3 "
109109 flutter:
110110 dependency: "direct main"
111111 description: flutter
Original file line number Diff line number Diff line change 11name : firebase_phone_auth_handler
22description : 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.2
3+ version : 1.0.3
44homepage : https://github.com/rithik-dev/firebase_phone_auth_handler
55
66environment :
You can’t perform that action at this time.
0 commit comments