Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
812 B
0
Indexable
Never
Smartech().onHandleDeeplinkActionBackground();

    Smartech().onHandleDeeplink((String? smtDeeplinkSource,
        String? smtDeeplink,
        Map<dynamic, dynamic>? smtPayload,
        Map<dynamic, dynamic>? smtCustomPayload) async {
      print('flowhere:');
      print('onHandleDeeplink :  $from $smtDeeplinkSource');
      print('onHandleDeeplink:  $from $smtDeeplink');
      print('onHandleDeeplink: $from $smtPayload');
      print('onHandleDeeplink: $from $smtCustomPayload');
      //   final navi =
      //       smtDeeplink?.replaceAll("https://www.auruminstahome.com", "");
      //   if (navi != null) {
      //     if (navi.contains("kyc")) {
      Navigator.pushNamed(
        NavigationService.navigatorKey.currentContext!,
        AppRouter.kyc,
      );
      //     }
      //   }
    });