Closed morio77 closed 3 years ago
Hi, @morio77
What happens in the following two cases?
false
to enableMailLink
1
to androidMinimumVersion
Also, isn't an error log output?
@koji-1009
In the following cases, there was no problem.
Set false to enableMailLink
In the following cases, there was a problem according to the issue title.
Set 1 to androidMinimumVersion
@morio77 Have you finished setting up the firebase console? https://firebase.google.com/docs/auth/android/email-link-auth#enable_email_link_sign-in_for_your_firebase_project
@koji-1009
Yes, email link verification completes the login itself.
@morio77 Oh, I see.
It probably works if you change the handleURL to the URL you want to transition to instead of dynamic links. The document is wrong, I will fix it.
@koji-1009
When coming back to the app from the browser, the Android app was launching as another activity.
When I modified AndroidManifest.xml
to launch the app as the same activity, this problem did not occur.
↓
@morio77
Isn't that the setting in the Flutter template? Sorry, I don't know what is being pointed out.
@koji-1009
Flutter's template is singleltop
, but when I changed it to singleInstance
, it returned from startUi()
.
I'm just guessing from here, but I think that the mail sending completion screen is called by native code, so if I change it to singletop
, I can't go back to the Flutter code.
I'm not familiar with native code, so I apologize if I'm wrong.
@morio77 What is the purpose of this issue? I'm sorry, but I can't figure it out.
@koji-1009
The purpose of this Issue is to report a bug that may prevent FlutterAuthUi.startUi()
from returning.
By modifying AndroidManifest.xml
, I was able to solve my problem, so you can close this Issue if you want.
See the commit here and change the URL to set.