twitter_sign_in 5.5.0 copy "twitter_sign_in: ^5.5.0" to clipboard
twitter_sign_in: ^5.5.0 copied to clipboard

A Flutter plugin that provides a cross-platform API for authenticating users with Twitter, handling OAuth flow and access tokens.

5.5.0 #

  • New Feature: Added users.email scope to default scopes list for OAuth 2.0 flows.
  • Refactor: Improved code formatting in AuthorizationResultV2 class.

5.4.2 #

  • Fix: Fix format issue.
  • New Feature: Added optional challengeCode parameter to loginV2 for confidential clients who might need it.

5.4.1 #

  • Improvement: Added example code for manually retrieving Auth Code (getAuthorizationCode) in the example app.
  • Fix: Corrected Typo in USER_LOOKUP_URI.
  • Refactor: Cleaned up debug prints.

5.4.0 #

  • Fix: Critical fix for OAuth 2.0 PKCE flow users. loginV2 no longer sends the apiSecretKey (Consumer Secret) as the clientSecret by default, as public clients (mobile apps) should not use a secret with PKCE.
  • New Feature: Added optional clientSecret parameter to loginV2 for confidential clients who might need it.
  • Improved: Documentation and example updated to explicitly use clientId for V2 flows.
  • Fix: Fixed typo in USER_LOOKUP_URI.

5.3.0 #

  • New Feature: Added clientId parameter to loginV2 and getAuthorizationCode. This allows using a dedicated OAuth 2.0 Client ID (which is different from the Consumer Key used in V1), fixing "Something went wrong" errors during authentication.
  • Improvement: AuthorizationResultV2 is now returned by getAuthorizationCode for better integration.

5.2.0 #

  • Breaking Change: getAuthorizationCode no longer accepts codeChallenge. It now generates the PKCE parameters internally and returns an AuthorizationResultV2 object containing both code and codeVerifier.
  • Improvement: Simplified V2 Auth flow to ensure better security and usability.

5.1.1 #

  • Fix: Resolved issues with codeChallenge and codeVerifier handling in V2 flow.

5.1.0 #

  • Breaking Change: loginV2 now generates codeVerifier and codeChallenge automatically. Manual passing of these parameters has been removed to simplify the API and ensure security best practices.
  • Refactor: Strict separation between login (OAuth 1.0a) and loginV2 (OAuth 2.0 PKCE) flows.
  • New Feature: getAuthorizationCode optimized for backend-side token exchange, accepting codeChallenge directly.

5.0.5 #

  • Version bump for pub.dev release.

5.0.4 #

  • Enhanced Error Handling: Improved error messages and handling throughout the authentication flow.
  • OAuth 2.0 Flow: Fixed issues with the OAuth 2.0 authorization code flow.
  • Code Quality: Improved code formatting and consistency.
  • Dependencies: Updated to the latest stable versions of all dependencies.

5.0.3 #

  • Updated dependencies to their latest versions.
  • Improved documentation and code quality.

5.0.2 #

  • iOS: Added a twitter_sign_in.podspec to match the plugin name for CocoaPods.
  • iOS: Fixed Objective-C bridging header import to use twitter_sign_in-Swift.h.

5.0.1 #

  • Updated repository and homepage URLs to the new jayfinava-benzatine repository.

5.0.0 #

  • Updated package name to twitter_sign_in.
  • Updated example to be up-to-date.
  • Fixed analysis issues and deprecated code.

4.4.2 #

  • Change VoidCallback to void Function()

4.4.1 #

  • Change http version 0.13.3 to 1.0.0
  • Change flutter version 1.25.0-8.1.pre to 3.3.0

4.4.0 #

  • Update dependency constraints to sdk: '>=2.14.0 <4.0.0' #122

4.3.2 #

  • The login process will no longer fail when the API limits or rate limits are reached.

4.3.1 #

  • change Kotlin version 1.4.32 to 1.6.10

4.3.0 #

  • Add MacOs support #102

4.2.3 #

  • fix parse json as nullable value #99

4.2.2 #

  • change Kotlin version 1.6.10 to 1.4.32

4.2.1 #

  • refactor

4.2.0 #

  • Fixed conflict between FlutterActivity and NewIntentListener #92

4.1.1 #

  • Fix userId type #94

4.1.0 #

  • Fix int cast of userId
  • Supported By Twitter API V2.0 ( Fixes #67 & #69 )

4.1.0-dev #

  • Supported By Twitter API V2.0 ( Fixes #67 & #69 )

4.0.1 #

  • Fix browser suspend when custom tabs is unavailable

4.0.0 #

  • remove flutter_inappwebview as a dependency #48
  • update dependencies

3.0.8 #

  • Fix Future Complete #44

3.0.7 #

  • Fix crash on Xcode 12.5

3.0.6 #

  • Fix userId type #41

3.0.5 #

  • add User id

3.0.4 #

  • update dependencies ( Fixes #34 & #32 )

3.0.1-nullsafety.0 #

  • update docs

3.0.1 #

  • bug fix

3.0.0-nullsafety.0 #

  • update null safety
  • Add docs
  • Update Plugins

3.0.0 #

  • Add docs
  • Update Plugins

2.1.4 #

  • Add dartdoc

2.1.3 #

  • fallback browser parameter is option

2.1.2 #

  • Add fallback browser parameter

2.1.1 #

  • Exception when the user closes the browser

2.1.0 #

  • Add account verify

2.0.0 #

  • Add ForceLogin

1.0.2 #

  • Minor update
  • Update README

1.0.1 #

  • Minor update
  • add Android Configuration

1.0.0 #

  • Stable Release

0.0.4 #

  • Update packages Version

0.0.3 #

  • Support for schemes only

0.0.2 #

  • Bug Fix

0.0.1 #

  • initial Release
1
likes
160
points
404
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that provides a cross-platform API for authenticating users with Twitter, handling OAuth flow and access tokens.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, flutter, http

More

Packages that depend on twitter_sign_in

Packages that implement twitter_sign_in