Skip to content

Commit

Permalink
feat: native login (#937)
Browse files Browse the repository at this point in the history
* feat: native login

* feat: add passwordless input field

* feat: button icons

* fix: remove divider at top

* fix: stacked generator

* feat: add email validation

* fix: center align social login text

* feat: native social login

* fix: route butotns to login view

* fix: linting issues

* feat: native passwordless login

* feat: handle incorrect OTP

* feat: update auth service to use native login

* fix: logout in drawer

* feat: succesful login route back to before logiv view

* fix: overflowing view

* fix: make view scrollable when keyboard is open

---------

Co-authored-by: Niraj Nandish <[email protected]>
  • Loading branch information
Sembauke and Nirajn2311 authored May 5, 2023
1 parent bbbb889 commit 0b84758
Show file tree
Hide file tree
Showing 18 changed files with 571 additions and 112 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"app.*.dart": [],
"app.*": [],
"*": "flutter analyze"
}
Binary file added mobile-app/assets/images/apple-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mobile-app/assets/images/github-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mobile-app/assets/images/google-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion mobile-app/lib/app/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import 'package:freecodecamp/service/firebase/analytics_service.dart';
import 'package:freecodecamp/ui/views/code_radio/code_radio_view.dart';
import 'package:freecodecamp/ui/views/home/home_view.dart';
import 'package:freecodecamp/ui/views/learn/superblock/superblock_view.dart';
import 'package:freecodecamp/ui/views/login/native_login_view.dart';
import 'package:freecodecamp/ui/views/news/news-author/news_author_view.dart';
import 'package:freecodecamp/ui/views/podcast/podcast-list/podcast_list_view.dart';
import 'package:freecodecamp/ui/views/podcast/episode/episode_view.dart';
Expand Down Expand Up @@ -44,7 +45,8 @@ import 'package:sqflite_migration_service/sqflite_migration_service.dart';
MaterialRoute(page: ChallengeView),
MaterialRoute(page: ProfileView),
MaterialRoute(page: LearnLandingView),
MaterialRoute(page: SuperBlockView),
MaterialRoute(page: NativeLoginView),
MaterialRoute(page: SuperBlockView)
],
dependencies: [
LazySingleton(classType: NavigationService),
Expand Down
8 changes: 5 additions & 3 deletions mobile-app/lib/app/app.locator.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 2 additions & 18 deletions mobile-app/lib/app/app.logger.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0b84758

Please sign in to comment.