Skip to content

Commit

Permalink
Remove the deprecated WEB_VIEW_ONLY login behavior since it no longer…
Browse files Browse the repository at this point in the history
… works

Summary:
The `WEB_VIEW_ONLY` setting does not work and according to this article stopped working sometime last year
https://developers.facebook.com/blog/post/2021/06/28/deprecating-support-fb-login-authentication-android-embedded-browsers/

Reviewed By: joesus

Differential Revision: D40963098

fbshipit-source-id: cf1ba3ec8465dcfeb722a2209a57991fb80711d4
  • Loading branch information
jawwad authored and facebook-github-bot committed Nov 3, 2022
1 parent f477002 commit 930e168
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Increased minSdkVersion from 15 to 21
- Instance variables in `MessengerThreadParams` are now not directly accessible from Java due to conversion to Kotlin. Use the corresponding getters to access them in Java, i.e. `params.getMetadata()` instead of `params.metadata`.
- Removed deprecated LoginBehavior.WEB_VIEW_ONLY setting.

## [15.1.0]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ enum class LoginBehavior {
/** Specifies that only the web dialog auth should be used. */
WEB_ONLY(false, false, true, false, true, false, false),

/**
* Specifies that only the web view dialog auth should be used.
* @deprecated Web view login is deprecated. This value will be removed in a future release. More
* information at https://developers.facebook.com/docs/facebook-login/android/deprecating-webviews
*/
@Deprecated("Webview is deprecated as of 11/5/2021")
WEB_VIEW_ONLY(false, false, true, false, false, false, false),

/** Specifies that only the web dialog auth (from anywhere) should be used */
DIALOG_ONLY(false, true, true, false, true, true, true),

Expand Down

0 comments on commit 930e168

Please sign in to comment.