Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deriv_auth): [UPM-547] added deriv_passkeys to deriv_auth #488

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
c1e0067
feat(deriv_auth): single entry
ahrar-deriv Jan 26, 2024
0e592c4
chore(deriv_auth): improve some imports
ahrar-deriv Jan 26, 2024
fc8b0bb
Merge branch 'master' of github.com:regentmarkets/flutter-deriv-packa…
ahrar-deriv Jan 26, 2024
6a16570
chore(deriv_auth): change deriv-api to dev branch
ahrar-deriv Jan 29, 2024
5ce30c3
feat(deriv_auth): adding login page to single entry
ahrar-deriv Feb 2, 2024
7ff5653
Update Crowdin configuration file
bassam-deriv Feb 6, 2024
573a4a7
feat(deriv_auth): single entry login and reset pass added
ahrar-deriv Feb 11, 2024
f38cc25
feat(deriv_auth): single entry signup page
ahrar-deriv Feb 11, 2024
11c8aca
chore: setting page fist attempt
ahrar-deriv Feb 13, 2024
dc29784
feat(deriv_auith): single entry setting page
ahrar-deriv Feb 14, 2024
86408c3
Merge branch 'master' of github.com:regentmarkets/flutter-deriv-packa…
ahrar-deriv Feb 14, 2024
f7930d6
feat(deriv_auth): single entry reset password and merge conflicts
ahrar-deriv Feb 14, 2024
5e62ee1
chore(deriv_auth): code review comments add docs and minor changes
ahrar-deriv Feb 19, 2024
fac8904
chore(deriv_auth): change residence to userResidence
ahrar-deriv Feb 22, 2024
59278c7
doc(deriv_auth): single entry doc and fix error handling
ahrar-deriv Feb 26, 2024
d4eb573
chore(deriv_auth): fixing the deriv reset pass layout test
ahrar-deriv Feb 26, 2024
e96c812
feat(deriv_auth): added deriv_passkeys to deriv_auth
bassam-deriv Feb 26, 2024
d966d9f
refactor(deriv_auth): updated passkeys dependencies.
bassam-deriv Feb 27, 2024
d61a2d3
Merge branch 'pr/420' into add_deriv_passkeys_to_deriv_auth
bassam-deriv Feb 27, 2024
8b8ad74
Merge branch 'master' into add_deriv_passkeys_to_deriv_auth
bassam-deriv Feb 27, 2024
ac5dd58
refactor(deriv_auth): fixing deriv_passkeys dependencies
bassam-deriv Feb 27, 2024
2ade47f
refactor(deriv_ui): update deriv_ui dependencies (#499)
sahani-deriv Feb 29, 2024
2a7e090
chore(version): bump version and update changelog (#500)
mobile-apps-deriv Feb 29, 2024
e594c05
feat(deriv_auth): single entry (#420)
ahrar-deriv Feb 29, 2024
1e5ba63
refactor(deriv_auth): linked onLoggedIn function in login_page
bassam-deriv Mar 4, 2024
c12a9ee
refactor(deriv_auth): updated `deriv_http_client`
bassam-deriv Mar 4, 2024
c3187ba
refactor(deriv_auth): updated flutter_deriv_api
bassam-deriv Mar 4, 2024
303139d
Merge branch 'master' into add_deriv_passkeys_to_deriv_auth
bassam-deriv Mar 4, 2024
6ea1dd7
Merge branch 'master' into add_deriv_passkeys_to_deriv_auth
bassam-deriv Mar 4, 2024
a3cce1f
fix(deriv_auth): fixed onPressed error.
bassam-deriv Mar 4, 2024
c93046a
refactor(deriv_auth): added context to onLoggedIn
bassam-deriv Mar 4, 2024
5c19f3a
fix(deriv_auth): calling onLoggedIn correctly
bassam-deriv Mar 4, 2024
ca6c943
Merge remote-tracking branch 'upstream/master'
bassam-deriv Mar 15, 2024
b74515f
Merge branch 'master' into add_deriv_passkeys_to_deriv_auth
bassam-deriv Mar 15, 2024
7333af2
feat(deriv_passkeys): connected passkeys functionality with deriv auth
bassam-deriv Mar 27, 2024
45cbbb6
refactor(deriv_auth): integrating deriv_passkeys.
bassam-deriv Mar 28, 2024
acc501f
Merge remote-tracking branch 'upstream/master' into add_deriv_passkey…
bassam-deriv Mar 28, 2024
607eca1
fix(deriv_auth): fixed deriv_passkeys dependency.
bassam-deriv Mar 28, 2024
7bb5f71
refactor(deriv_auth): new deriv_passkeys commit hash ref.
bassam-deriv Mar 28, 2024
14b85c2
refactor(deriv_auth): updated deriv_passkeys and deriv_localizations …
bassam-deriv Mar 29, 2024
02f390b
refactor(deriv_passkeys): removed context parameter from onLoggedIn c…
bassam-deriv Apr 1, 2024
d991133
Merge remote-tracking branch 'upstream/master' into add_deriv_passkey…
bassam-deriv Apr 1, 2024
572aa5f
refactor(deriv_auth): replaced deriv_localizations commit hash ref wi…
bassam-deriv Apr 2, 2024
6a2708e
refactor(deriv_auth): updated deriv_passkeys commit hash
bassam-deriv Apr 2, 2024
608dcf4
refactor(deriv_auth): updated deriv_passkeys commit hash
bassam-deriv Apr 2, 2024
87ff83b
refactor(deriv_auth): updated deriv_passkeys commit hash
bassam-deriv Apr 2, 2024
dcda848
refactor(deriv_auth): updated deriv_passkeys commit hash
bassam-deriv Apr 2, 2024
82de161
refactor(deriv_auth): updated deriv_passkeys commit hash
bassam-deriv Apr 15, 2024
ed0f005
refactor(deriv_auth): updated deriv_passkeys commit hash
bassam-deriv Apr 18, 2024
a3acdf1
refactor(deriv_auth): updated deriv_passkeys and deriv_localizations …
bassam-deriv Apr 22, 2024
4d43e25
refactor(deriv_auth): Updated deriv_localizations
bassam-deriv Apr 29, 2024
41fa9ed
refactor: update deriv_passkeys
bassam-deriv May 7, 2024
cd545c7
refactor: update deriv_passkeys
bassam-deriv May 7, 2024
d6eccdc
refactor(deriv_passkeys): updated deriv_passkeys and deriv_localizations
bassam-deriv May 13, 2024
b647404
Merge remote-tracking branch 'upstream/master' into add_deriv_passkey…
bassam-deriv May 13, 2024
230a954
Merge remote-tracking branch 'upstream/master' into add_deriv_passkey…
bassam-deriv May 20, 2024
294ca42
refactor(deriv_auth): updated deriv_ui
bassam-deriv May 20, 2024
ec1faf3
Merge remote-tracking branch 'upstream/master' into add_deriv_passkey…
bassam-deriv May 20, 2024
be3f061
chore: Remove unused Flutter SDK and fvm configuration files
bassam-deriv May 20, 2024
f462088
chore: Update deriv_auth dependency to deriv_passkeys-v0.0.1+1
bassam-deriv May 20, 2024
e110f22
chore: Update deriv_language_selector dependency to v0.0.2+2 and remo…
bassam-deriv May 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/deriv_auth/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
analyzer:
exclude:
- example/**
errors:
todo: ignore
missing_required_param: warning
Expand Down
6 changes: 3 additions & 3 deletions packages/deriv_auth/assets/icons/ic_apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions packages/deriv_auth/assets/icons/ic_facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions packages/deriv_auth/assets/icons/ic_google.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions packages/deriv_auth/docs/deriv_auth_layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
forgotPasswordButtonKey: Key('forgot password button key'),
loginButtonKey: Key('login button key'),
welcomeLabel: 'Welcome back!',
greetingLabel:
'Log in to your Deriv account to start trading and investing.',
onResetPassTapped: () {
// Navigate to reset password page
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion packages/deriv_auth/example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
47 changes: 33 additions & 14 deletions packages/deriv_auth/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,44 @@ PODS:
- connectivity_plus (0.0.1):
- Flutter
- ReachabilitySwift
- deriv_passkeys (0.0.1):
- Flutter
- device_info_plus (0.0.1):
- Flutter
- Flutter (1.0.0)
- flutter_deriv_api (0.0.1):
- Flutter
- flutter_inappwebview (0.0.1):
- flutter_inappwebview_ios (0.0.1):
- Flutter
- flutter_inappwebview/Core (= 0.0.1)
- flutter_inappwebview_ios/Core (= 0.0.1)
- OrderedSet (~> 5.0)
- flutter_inappwebview/Core (0.0.1):
- flutter_inappwebview_ios/Core (0.0.1):
- Flutter
- OrderedSet (~> 5.0)
- OrderedSet (5.0.0)
- package_info_plus (0.4.5):
- Flutter
- ReachabilitySwift (5.0.0)
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- uni_links2 (0.0.1):
- Flutter
- url_launcher_ios (0.0.1):
- Flutter
- webview_flutter_wkwebview (0.0.1):
- Flutter

DEPENDENCIES:
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
- deriv_passkeys (from `.symlinks/plugins/deriv_passkeys/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- Flutter (from `Flutter`)
- flutter_deriv_api (from `.symlinks/plugins/flutter_deriv_api/ios`)
- flutter_inappwebview (from `.symlinks/plugins/flutter_inappwebview/ios`)
- flutter_inappwebview_ios (from `.symlinks/plugins/flutter_inappwebview_ios/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- uni_links2 (from `.symlinks/plugins/uni_links2/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)

Expand All @@ -41,33 +51,42 @@ SPEC REPOS:
EXTERNAL SOURCES:
connectivity_plus:
:path: ".symlinks/plugins/connectivity_plus/ios"
deriv_passkeys:
:path: ".symlinks/plugins/deriv_passkeys/ios"
device_info_plus:
:path: ".symlinks/plugins/device_info_plus/ios"
Flutter:
:path: Flutter
flutter_deriv_api:
:path: ".symlinks/plugins/flutter_deriv_api/ios"
flutter_inappwebview:
:path: ".symlinks/plugins/flutter_inappwebview/ios"
flutter_inappwebview_ios:
:path: ".symlinks/plugins/flutter_inappwebview_ios/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
uni_links2:
:path: ".symlinks/plugins/uni_links2/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
webview_flutter_wkwebview:
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"

SPEC CHECKSUMS:
connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e
connectivity_plus: bf0076dd84a130856aa636df1c71ccaff908fa1d
deriv_passkeys: fadd039a48bae6f15ba8b955481a0f8f2b5bdede
device_info_plus: e5c5da33f982a436e103237c0c85f9031142abed
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_deriv_api: 9e29abd7cc5091b72303f9c8be549618415f1437
flutter_inappwebview: bfd58618f49dc62f2676de690fc6dcda1d6c3721
flutter_inappwebview_ios: 97215cf7d4677db55df76782dbd2930c5e1c1ea0
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
webview_flutter_wkwebview: 2e2d318f21a5e036e2c3f26171342e95908bd60a
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
uni_links2: fbc37081577fc19c6e0f7e6cdbd3baa150023635
url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812
webview_flutter_wkwebview: 4f3e50f7273d31e5500066ed267e3ae4309c5ae4

PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189
PODFILE CHECKSUM: 9c46fd01abff66081b39f5fa5767b3f1d0b11d76

COCOAPODS: 1.12.1
COCOAPODS: 1.14.3
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "";
TargetAttributes = {
331C8080294A63A400263BE5 = {
Expand Down Expand Up @@ -452,7 +452,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -579,7 +579,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -628,7 +628,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:deriv_auth/features/get_started/models/deriv_get_started_slide_model.dart';
import 'package:deriv_auth/features/get_started/presentation/layouts/deriv_get_started_layout.dart';
import 'package:example/features/login/pages/login_page.dart';
import 'package:example/features/settings/pages/settings_page.dart';
import 'package:example/features/signup/pages/signup_page.dart';
import 'package:deriv_auth/features/single_entry/features/login/pages/login_page.dart';
import 'package:deriv_auth/features/single_entry/features/settings/pages/settings_page.dart';
import 'package:deriv_auth/features/single_entry/features/signup/pages/signup_page.dart';
import 'package:flutter/material.dart';

class GetStartedPage extends StatelessWidget {
Expand Down Expand Up @@ -32,7 +32,7 @@ class GetStartedPage extends StatelessWidget {
builder: (context) => const SignupPage(),
),
),
onTapNavigation: () {
onTapNavigation: (context) {
Navigator.push(
context,
MaterialPageRoute<Widget>(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import 'package:deriv_auth/deriv_auth.dart';
import 'package:deriv_auth/features/auth/cubit/deriv_auth_cubit.dart';
import 'package:deriv_auth/features/login/presentation/layouts/deriv_login_layout.dart';
import 'package:example/core/example_auth_error_state_handler.dart';
import 'package:example/features/home/pages/home_page.dart';
import 'package:example/features/reset_pass/pages/reset_pass_page.dart';
import 'package:example/features/signup/pages/signup_page.dart';
import 'package:deriv_auth/features/single_entry/features/home/pages/home_page.dart';
import 'package:deriv_auth/features/single_entry/features/reset_pass/pages/reset_pass_page.dart';
import 'package:deriv_auth/features/single_entry/features/signup/pages/signup_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

Expand All @@ -25,19 +22,17 @@ class _LoginPageState extends State<LoginPage> {
@override
Widget build(BuildContext context) {
return DerivLoginLayout(
socialAuthStateHandler: (_){},
socialAuthStateHandler: (_) {},
redirectURL: 'deriv://example',
onWebViewError: (String error) {},
welcomeLabel: 'Welcome back!',
greetingLabel:
'Log in to your Deriv account to start trading and investing.',
onLoggedIn: (_) => Navigator.pushReplacement(
onLoggedIn: (DerivAuthLoggedInState state) => Navigator.pushReplacement(
context,
MaterialPageRoute(
builder: (context) => const HomePage(),
),
),
authErrorStateHandler: ExampleAuthErrorStateHandler(context: context),
authErrorStateHandler: AuthErrorStateHandler(context: context),
onLoginError: (_) {},
onResetPassTapped: () => Navigator.push(
context,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:deriv_auth/features/reset_password/cubit/reset_password_cubit.dart';
import 'package:deriv_auth/features/reset_password/presentation/layouts/deriv_choose_new_pass_layout.dart';
import 'package:example/features/reset_pass/pages/reset_pass_success_page.dart';
import 'package:deriv_auth/features/single_entry/features/reset_pass/pages/reset_pass_success_page.dart';
import 'package:flutter/material.dart';

class ChooseNewPasswordPage extends StatelessWidget {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import 'dart:async';

import 'package:deriv_auth/deriv_auth.dart';
import 'package:deriv_auth/features/reset_password/presentation/layouts/deriv_reset_pass_layout.dart';
import 'package:example/features/reset_pass/pages/choose_new_password_page.dart';
import 'package:example/features/reset_pass/services/example_reset_pass_service.dart';
import 'package:deriv_auth/features/reset_password/services/base_reset_password_service.dart';
import 'package:deriv_auth/features/single_entry/features/reset_pass/pages/choose_new_password_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

Expand All @@ -14,6 +14,22 @@ class ResetPassPage extends StatefulWidget {
State<ResetPassPage> createState() => _ResetPassPageState();
}

class ExampleResetPasswordService extends BaseResetPasswordService {
@override
Future<bool> resetPassword(
{required String verificationCode, required String newPassword}) {
// TODO: implement resetPassword
throw UnimplementedError();
}

@override
Future<VerifyEmailResponseEntity> sendVerificationEmail(
VerifyEmailRequestEntity request) {
// TODO: implement sendVerificationEmail
throw UnimplementedError();
}
}

class _ResetPassPageState extends State<ResetPassPage> {
late final DerivResetPassCubit cubit;
late final StreamSubscription<DerivResetPassState> _streamSubscription;
Expand All @@ -22,15 +38,15 @@ class _ResetPassPageState extends State<ResetPassPage> {
void initState() {
super.initState();

cubit = DerivResetPassCubit(service: ExampleResetPassService());
cubit = DerivResetPassCubit(service: ExampleResetPasswordService());

_streamSubscription = cubit.stream.listen((state) {
if (state is DerivResetPassEmailSentState) {
Timer(const Duration(seconds: 3), () {
if (mounted) {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) => BlocProvider.value(
value: cubit, child: ChooseNewPasswordPage(cubit: cubit)),
value: cubit, child: const ChooseNewPasswordPage(token: '')),
));
}
});
Expand All @@ -41,9 +57,13 @@ class _ResetPassPageState extends State<ResetPassPage> {
@override
Widget build(BuildContext context) {
return BlocProvider.value(
value: cubit, child: DerivResetPassLayout(onResetPassError: (_) {}));
value: cubit,
child: DerivResetPassLayout(onResetPassError: onResetPassError),
);
}

onResetPassError({required bool isLinkExpired, String? error}) {}

@override
void dispose() {
cubit.close();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:deriv_auth/deriv_auth.dart';
import 'package:deriv_auth/features/reset_password/presentation/layouts/deriv_success_pass_change_layout.dart';
import 'package:example/features/get_started/pages/get_started_page.dart';
import 'package:example/features/login/pages/login_page.dart';
import 'package:deriv_auth/features/single_entry/features/get_started/pages/get_started_page.dart';
import 'package:deriv_auth/features/single_entry/features/login/pages/login_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class SettingsPage extends StatefulWidget {

class _SettingsPageState extends State<SettingsPage> {
@override
Widget build(BuildContext context) => DerivSettingLayout(
updateFlavorConfigs: _updateFlavorConfig(),
Widget build(BuildContext context) => const DerivSettingLayout(
updateFlavorConfigs: _updateFlavorConfig,
appLabel: 'appLabel',
saveValues: _saveValues,
);
Expand All @@ -23,6 +23,7 @@ _saveValues({required String appId, required String endpoint}) {
logger.log('endpoint is $endpoint');
}

Future<void> _updateFlavorConfig() async {
Future<void> _updateFlavorConfig(
{required String appId, required String endpoint}) async {
logger.log('Flavor CONFIG is updated');
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:deriv_auth/features/signup/models/deriv_residence_model.dart';
import 'package:deriv_auth/features/signup/presentation/layouts/deriv_country_selection_layout.dart';
import 'package:example/features/signup/pages/set_password_page.dart';
import 'package:deriv_auth/features/single_entry/features/signup/pages/set_password_page.dart';
import 'package:flutter/material.dart';

class CountrySelectionPage extends StatelessWidget {
Expand Down
Loading
Loading