firebase / FirebaseUI-Flutter

Apache License 2.0
99 stars 86 forks source link

[firebase_ui_auth] Move away from dynamic links usage #7

Open iKK001 opened 1 year ago

iKK001 commented 1 year ago

The flutterfire package firebase_auth_ui_login uses dynamic links.

However, the dynamic links will be shut down as stated in the official Google documentation here

Any plans on when you update your package to mitigate this deprecation ??

Is there any replacement that I can add in your firebase_auth_ui_login package ?

What will happen to all the many Flutter packages that incorporate dynamic links ?

danagbemava-nc commented 1 year ago

Hi @iKK001, I think for now, you can continue to use dynamic links until 2025. The UI packages will need to be eventually migrated from dynamic links. Labeling for further insight from the team.

cc @lesnitsky

lesnitsky commented 1 year ago

The referenced package is not maintained by us :) Although this is valid for our auth packages as well.

iKK001 commented 1 year ago

Thanks, I do certainly NOT want to implement anything that is deprecated in 2025 already.

In the meantime I hope Flutter can keep up all the dynamic-link mess eventually.

A good way could be if your packages have the dynamic links OPTIONAL. Email-verification without dynamic links would then, for example, wait on a timer until the user.isVerified becomes true...

QuentinSc commented 6 months ago

Hello, anyway to keep Firebase UI for magic mink but not dynamic links ?

Levi-Lesches commented 3 weeks ago

Hi, just pointing out that dynamic links will stop being functional in just a few weeks. package:firebase_auth stopped using it, and now this package is the only user of firebase_dynamic_links in my project. Is there a timeline for when this will be removed, or steps needed to safely remove it? Perhaps I can help with a PR if you could point me in a direction

Lyokone commented 2 weeks ago

Hello @Levi-Lesches, the official depreciation date is August 2025 as noted here: https://firebase.google.com/docs/dynamic-links

We will remove it close to this timeline but will add depreciation warnings to the UI library.

Levi-Lesches commented 2 weeks ago

Sorry, I read it as 2024 and got concerned. Sounds good :)