Skip to content

Commit

Permalink
refactor(deriv_auth): Replace uni_links2 with app_links (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
abedelaziz-deriv authored Jul 2, 2024
1 parent 7fc55dd commit f99554b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'dart:async';

import 'package:app_links/app_links.dart';
import 'package:deriv_auth/deriv_auth.dart';
import 'package:deriv_web_view/web_view.dart';
import 'package:flutter_deriv_api/helpers/miscellaneous_helper.dart';
import 'package:uni_links2/uni_links.dart';

/// Service to handle social auth web view.
final class SocialAuthWebViewService implements BaseSocialWebViewService {
Expand Down Expand Up @@ -36,7 +36,7 @@ final class SocialAuthWebViewService implements BaseSocialWebViewService {
}

void _setupLinkStream(SocialAuthUriHandler uriHandler) {
_uriLinkStream = uriLinkStream.listen(
_uriLinkStream = AppLinks().uriLinkStream.listen(
(Uri? uri) {
_uriLinkStream?.cancel();

Expand Down
2 changes: 1 addition & 1 deletion packages/deriv_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dependencies:
package_info_plus: ^4.2.0
crypto: ^3.0.2
http: ^0.13.5
uni_links2: ^0.6.0+2
app_links: ^3.4.5

dependency_overrides:
deriv_ui:
Expand Down

0 comments on commit f99554b

Please sign in to comment.