launch mode singleTop
works,
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop" />
however,
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleInstance" />
launch mode singleInstance
does not works in sense that account is getting created on Appwrite however user is not getting redirected back to the app.
Yes. That's just how it will have to be now since a web view is needed for the oauth flow
using the singleTop
is causes the another flutter warmup. Which we don't want to do it to happen as when user click on deep-link flutter seems to launches new instances which is quite un-frendily behaviour. Have seen that there is request to fix that in flutter framework however what qurious if Social Login is expected to work with singleInstance
or not. As it seems it is not so guess need to stick with singleTop
for now, guess close it for now...
Recommended threads
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...