Facebook is deprecated in android

Содержание
  1. The plugins flutter_facebook_login use a deprecated version of the Android embedding. #325
  2. Comments
  3. DevTiago commented Aug 16, 2021
  4. abdullah432 commented Sep 8, 2021
  5. darshakpranpariya commented Sep 9, 2021
  6. mjschaefer9395 commented Sep 11, 2021
  7. zakblacki commented Sep 16, 2021
  8. mohammadrobin commented Sep 18, 2021
  9. cenkingunlugu commented Sep 19, 2021
  10. sakonlapakP commented Sep 19, 2021
  11. petchgabriel commented Sep 20, 2021
  12. abdullah432 commented Sep 21, 2021
  13. CryptoMoon8 commented Oct 4, 2021
  14. MohammadGhZ commented Oct 7, 2021
  15. MohammadGhZ commented Oct 7, 2021
  16. kha103l10ed commented Oct 8, 2021
  17. CryptoMoon8 commented Oct 8, 2021
  18. gergelya1234 commented Oct 16, 2021
  19. mavericardo commented Nov 4, 2021
  20. aaqibkhaskheli commented Nov 24, 2021
  21. cenkingunlugu commented Dec 4, 2021
  22. Use ActivityResultContracts as onActivityResult is deprecated #875
  23. Comments
  24. VincentJoshuaET commented Dec 18, 2020
  25. Akshit6828 commented May 3, 2021
  26. sergpetrov commented May 21, 2021
  27. Akshit6828 commented May 21, 2021
  28. willc0de4food commented Jun 2, 2021
  29. Akshit6828 commented Jun 3, 2021 •
  30. Akshit6828 commented Jun 3, 2021 •
  31. The deprecated method can be updated as shown below:
  32. hackstarsj commented Jun 4, 2021
  33. The deprecated method can be updated as shown below:
  34. Akshit6828 commented Jun 4, 2021
  35. The deprecated method can be updated as shown below:
  36. hackstarsj commented Jun 4, 2021
  37. The deprecated method can be updated as shown below:
  38. ArcherEmiya05 commented Jun 6, 2021
  39. The deprecated method can be updated as shown below:
  40. mayuce commented Jun 11, 2021
  41. bishiboosh commented Jun 11, 2021
  42. bishiboosh commented Jun 11, 2021
  43. rohit19img commented Jun 23, 2021
  44. The deprecated method can be updated as shown below:
  45. Deprecating support for FB Login authentication on Android embedded browsers

The plugins flutter_facebook_login use a deprecated version of the Android embedding. #325

Comments

DevTiago commented Aug 16, 2021

First of all, thanks for the package.

I’ve been testing the package in some personal projects and today when i clean the build and run the command ‘Pub get’ i get this warning:

Is this some issue with the package or something related with my project?

Thanks in advance for your time and comments.

The text was updated successfully, but these errors were encountered:

abdullah432 commented Sep 8, 2021

Same issue, any solution?

darshakpranpariya commented Sep 9, 2021

I have the same issue. After updating flutter SDK to 2.5.0

mjschaefer9395 commented Sep 11, 2021

Same issue after upgrading to Flutter 2.5.0 as well.

zakblacki commented Sep 16, 2021

waiting for fix !

mohammadrobin commented Sep 18, 2021

waiting for fix !

cenkingunlugu commented Sep 19, 2021

Same issue here. Need a fix asap.

sakonlapakP commented Sep 19, 2021

Same issue here. waiting for fix 🙁

petchgabriel commented Sep 20, 2021

Facing the same issue here.

abdullah432 commented Sep 21, 2021

From about a year this plugin didn’t get any update which means you have to move to another plugin in case of any error because no one is working on it anymore.

CryptoMoon8 commented Oct 4, 2021

Same issue is here.

MohammadGhZ commented Oct 7, 2021

The plugins plugin_scaffold, use_location, wifi_connect use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

MohammadGhZ commented Oct 7, 2021

Hello, politeness and respect, I came across this error, what should I do?

Читайте также:  Стильные темы для андроида

kha103l10ed commented Oct 8, 2021

same issue here..

CryptoMoon8 commented Oct 8, 2021

How can I use flutter_facebook_login package on Flutter SDK 2.5.1 stable version?
When I used on 2.2.0 stable version, there isn’t any issue.

gergelya1234 commented Oct 16, 2021

Same issue here.

mavericardo commented Nov 4, 2021

I have the same issue
after updating flutter SDK to 2.5.0

aaqibkhaskheli commented Nov 24, 2021

same issue here, waiting for fix.

cenkingunlugu commented Dec 4, 2021

I started using flutter_facebook_auth instead of waiting.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Use ActivityResultContracts as onActivityResult is deprecated #875

Comments

VincentJoshuaET commented Dec 18, 2020

The text was updated successfully, but these errors were encountered:

Akshit6828 commented May 3, 2021

Hi @VincentJoshuaET can i work on this issue?

sergpetrov commented May 21, 2021

Hi! Any progress on this enhancement?

Akshit6828 commented May 21, 2021

So sorry! Actually, I got this message just now. Just give me 1-2 days, I’ll fix it.

willc0de4food commented Jun 2, 2021

Hi! Any progress on this enhancement?

I am also wondering about this 🙂

Akshit6828 commented Jun 3, 2021 •

Hi @sergpetrov and @willc0de4food. I am sorry for the delay 😢
Actually, I have one doubt!
Please if you could help me as I am beginner to Contribute to such big projects.

I am searching for onActivityResult(int request code. and I am a little confused as I am not able to figure the exact file where I have to change the method as it is showing me these many results where this method is being used.

Also Please correct me if I am wrong in finding the way.

As when I search the result in the results are somewhere like this :

Please if could link me to the Line of Code where I need to change the code as done here

Akshit6828 commented Jun 3, 2021 •

Hi @sergpetrov and @willc0de4food. I am sorry for the delay 😢
Actually, I have one doubt!
Please if you could help me as I am beginner to Contribute to such big projects.

I am searching for onActivityResult(int request code. and I am a little confused as I am not able to figure the exact file where I have to change the method as it is showing me these many results where this method is being used.

Also Please correct me if I am wrong in finding the way.

As when I search the result in the results are somewhere like this :

Please if could link me to the Line of Code where I need to change the code as done here

The deprecated method can be updated as shown below:

hackstarsj commented Jun 4, 2021

Hi @sergpetrov and @willc0de4food. I am sorry for the delay 😢
Actually, I have one doubt!
Please if you could help me as I am beginner to Contribute to such big projects.
I am searching for onActivityResult(int request code. and I am a little confused as I am not able to figure the exact file where I have to change the method as it is showing me these many results where this method is being used.
Also Please correct me if I am wrong in finding the way.
As when I search the result in the results are somewhere like this :

Please if could link me to the Line of Code where I need to change the code as done here

The deprecated method can be updated as shown below:

You just copy paste the stackoverflow answer and it will not work for Facebook login

Читайте также:  Лайм такси для андроид

Akshit6828 commented Jun 4, 2021

Hi @sergpetrov and @willc0de4food. I am sorry for the delay 😢
Actually, I have one doubt!
Please if you could help me as I am beginner to Contribute to such big projects.
I am searching for onActivityResult(int request code. and I am a little confused as I am not able to figure the exact file where I have to change the method as it is showing me these many results where this method is being used.
Also Please correct me if I am wrong in finding the way.
As when I search the result in the results are somewhere like this :

Please if could link me to the Line of Code where I need to change the code as done here

The deprecated method can be updated as shown below:

You just copy paste the stackoverflow answer and it will not work for Facebook login

Yes, sir @hackstarsj. I Just mentioned an example of how the issue could be solved using the ActivityResultContracts .
It would be nice of you if you help me clearing the above-explained doubt.

hackstarsj commented Jun 4, 2021

Hi @sergpetrov and @willc0de4food. I am sorry for the delay 😢
Actually, I have one doubt!
Please if you could help me as I am beginner to Contribute to such big projects.
I am searching for onActivityResult(int request code. and I am a little confused as I am not able to figure the exact file where I have to change the method as it is showing me these many results where this method is being used.
Also Please correct me if I am wrong in finding the way.
As when I search the result in the results are somewhere like this :

Please if could link me to the Line of Code where I need to change the code as done here

The deprecated method can be updated as shown below:

You just copy paste the stackoverflow answer and it will not work for Facebook login

Yes, sir @hackstarsj. I Just mentioned an example of how the issue could be solved using the ActivityResultContracts .
It would be nice of you if you help me clearing the above-explained doubt.

We all are waiting for new sdk release till then i just remove the Facebook login from my app..

Because if you add deprecated code on activity result google play reject the update

ArcherEmiya05 commented Jun 6, 2021

Hi @sergpetrov and @willc0de4food. I am sorry for the delay 😢
Actually, I have one doubt!
Please if you could help me as I am beginner to Contribute to such big projects.
I am searching for onActivityResult(int request code. and I am a little confused as I am not able to figure the exact file where I have to change the method as it is showing me these many results where this method is being used.
Also Please correct me if I am wrong in finding the way.
As when I search the result in the results are somewhere like this :

Please if could link me to the Line of Code where I need to change the code as done here

The deprecated method can be updated as shown below:

You just copy paste the stackoverflow answer and it will not work for Facebook login

Yes, sir @hackstarsj. I Just mentioned an example of how the issue could be solved using the ActivityResultContracts .
It would be nice of you if you help me clearing the above-explained doubt.

We all are waiting for new sdk release till then i just remove the Facebook login from my app..

Because if you add deprecated code on activity result google play reject the update

Google PlayStore never rejects an app with deprecated code, only those app that still uses old openssl library got a problem.

Читайте также:  Сброс андроида до заводских настроек с помощью кнопок

mayuce commented Jun 11, 2021

So, any update after all for this issue? We can’t just skip by using deprecated function as a solution.

bishiboosh commented Jun 11, 2021

I think I may have the time to try a solution for this, I have this problem too and I think I see what can be done

bishiboosh commented Jun 11, 2021

After looking at the code, scope may be a bit big, so I may not be able to look into it right now, but I’ll try at soon as I can (or if someone has the time I can share what I’ve found so far)

rohit19img commented Jun 23, 2021

Hi @sergpetrov and @willc0de4food. I am sorry for the delay 😢
Actually, I have one doubt!
Please if you could help me as I am beginner to Contribute to such big projects.
I am searching for onActivityResult(int request code. and I am a little confused as I am not able to figure the exact file where I have to change the method as it is showing me these many results where this method is being used.
Also Please correct me if I am wrong in finding the way.
As when I search the result in the results are somewhere like this :

Please if could link me to the Line of Code where I need to change the code as done here

The deprecated method can be updated as shown below:

You just copy paste the stackoverflow answer and it will not work for Facebook login

Yes, sir @hackstarsj. I Just mentioned an example of how the issue could be solved using the ActivityResultContracts .
It would be nice of you if you help me clearing the above-explained doubt.

We all are waiting for new sdk release till then i just remove the Facebook login from my app..
Because if you add deprecated code on activity result google play reject the update

Google PlayStore never rejects an app with deprecated code, only those app that still uses old openssl library got a problem.

Google play store rejects app on this issue, my app got rejected twice for the same issue.
they asked me to remove onActivityResult method.

Источник

Deprecating support for FB Login authentication on Android embedded browsers

Мы обратили внимание на участившиеся попытки фишинга во встроенных браузерах (в т. н. режиме веб-просмотра) на платформе Android, поэтому в августе прекращаем поддержку аутентификации с помощью входа через Facebook в таких браузерах. До указанной даты, чтобы предотвратить вредоносные действия, мы будем блокировать вход через Facebook во встроенных браузерах для некоторых пользователей, которых считаем связанными с высоким риском.

Если в вашем приложении используется вход через Facebook во встроенном браузере на Android, перейдите на SDK версии 8.2 или более поздней и уберите все переопределения в поведении при входе через Facebook (например, LoginBehavior.WEB_VIEW_ONLY). Если ваше приложение использует SDK версии 8.2 или более поздней, мы предоставляем ряд других способов для аутентификации пользователя, в том числе отправку push-уведомления для подтверждения его личности (т. н. беспарольный процесс) либо предложение пользователю войти через браузер Chrome (пользовательские вкладки Chrome) или приложение Facebook для Android (т. н. переключение приложений Android). Помимо повышенной безопасности, эти альтернативные способы аутентификации удобнее для пользователей и повышают коэффициент конверсии, потому что клиенту не приходится вводить пароль для входа вручную.

Несмотря на все эти возможности, в некоторых случаях мы не можем аутентифицировать пользователя с применением альтернативных методов. В такой ситуации он не сможет выполнить вход в режиме веб-просмотра на Android. В этом случае мы рекомендуем пользователям использовать для входа другое устройство.

Мы ценим наши партнерские отношения с вами и продолжаем совершенствовать безопасность платформы.

Источник

Оцените статью