-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
Hi @droibit @petermnt @davidmigloz @Gurkengewuerz
When utilizing custom tabs with a URL, it doesn't wait until it's finished rather than executing next methods.
await launchUrl( Uri.parse(url), prefersDeepLink: true, customTabsOptions: CustomTabsOptions( colorSchemes: CustomTabsColorSchemes.defaults( toolbarColor: Colors.white, ), shareState: CustomTabsShareState.off, ), safariVCOptions: const SafariViewControllerOptions( preferredBarTintColor: Colors.white, preferredControlTintColor: Colors.white, ), ); await storeTokens();
storeTokens()async{
await storevalues with SharedPrefrences
}
After calling launchurl, the storeTokens function is called, but must wait for it to finish.
@droibit
have a look at this issue
Metadata
Metadata
Assignees
Labels
No labels