Skip to content

Releases: auth0/Lock.Android

v2.13.0

17 Apr 22:41
7de5767
Compare
Choose a tag to compare

Full Changelog

Changed

2.3.0

02 Jan 21:55
dd00b64
Compare
Choose a tag to compare

Full Changelog

Added

Changed

  • Update gradle plugins and google dependencies #389 (hzalaz)
  • Use Header style and fix Submit button height when label is displayed #388 (lbalmaceda)

Deprecated

Fixed

  • Fix Auth0 parcel that was losing telemetry and OIDC flag #384 (lbalmaceda)
  • Fix wrong label setting if login was disabled and pwd reset was first screen #380 (lbalmaceda)
  • Don't return to login/signup screen after pwd reset if those screens are disabled #379 (lbalmaceda)
  • Add authentication parameters to custom AuthProvider #375 (lbalmaceda)
  • Avoid sending authentication parameters on password-reset #373 (lbalmaceda)

Breaking changes

  • Use labeled submit button by default and separate signUp/logIn strings #386 (lbalmaceda)

2.2.1

02 Jan 21:56
9cd38be
Compare
Choose a tag to compare

Full Changelog

Changed

  • Update auth0.android to fix scope issue #370 (hzalaz)

2.2.0

21 Nov 23:40
131ef53
Compare
Choose a tag to compare

Full Changelog

Added

Changed

2.1.1

03 Nov 01:13
36ca439
Compare
Choose a tag to compare

Full Changelog

Fixed

2.1.0

24 Oct 20:21
4ef7b9b
Compare
Choose a tag to compare

Full Changelog

Added

Fixed

Breaking changes

  • Use browser by default when using WebAuthProvider. #355 (lbalmaceda)

Since Google will be blocking webview OAuth request we switched the default authentication flow for all social connections from WebView to Browser.
Browser authentication requires a little more configuration in your AndroidManifest.xml file.
First make sure LockActivity has singleTask in android:launchMode and then add to it an intent-filter:

<intent-filter>
  <action android:name="android.intent.action.VIEW" />

  <category android:name="android.intent.category.DEFAULT" />
  <category android:name="android.intent.category.BROWSABLE" />

  <data
    android:host="{YOUR_AUTH0_DOMAIN}"
    android:pathPrefix="/android/{YOUR_APP_PACKAGE_NAME}/callback"
    android:scheme="https" />
</intent-filter>

2.0.0

21 Sep 22:30
87d2f94
Compare
Choose a tag to compare

Full Changelog

Changed

Fixed

Breaking changes

1.18.0

21 Sep 22:05
ce14eb7
Compare
Choose a tag to compare

Full Changelog

Added

  • [v1] Add username length validation using client values #349 (lbalmaceda)

1.17.1

29 Aug 20:20
bfb6b6f
Compare
Choose a tag to compare

Full Changelog

Issues fixed:

  • IllegalStateException in GoogleIdentityProvider.onPermissionsRequireExplanation #331

Changed:

  • Scale down bitbucket icon #338 (hzalaz)
  • Fix crash after permissions are denied in Android 23 #337 (hzalaz)

2.0.0-beta.4

24 Aug 16:02
e234fd9
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • Lock SSO Username Fails Validation #332

Fixed

  • Change username validation for SSO connections #334 (lbalmaceda)
  • Check that requested tokens are present on the result. #330 (lbalmaceda)
  • Use first available connection name when authenticating with OAuth #320 (lbalmaceda)

Added

Changed

Breaking changes

Lock & PassworlessLock no longer has the method onCreate(Activity) and it's logic is now part of the method Lock.Builder.build(Activity). So to create a Lock instance you will have

Lock lock = Lock.newBuilder(auth0, callback)
      //Customize Lock
      .build(this);

Also now you can create Lock by reading your Auth0 account credentials from a strings file

Lock lock = Lock.newBuilder(callback)
      //Customize Lock
      .build(this);

and he string file should have

 <resources>
    <string name="com_auth0_client_id">{CLIENT_ID}</string>
    <string name="com_auth0_domain">{DOMAIN}</string>
</resources>

Lock.Builder no longers allow to customize Lock's theme using the method withTheme(Theme) since using Android themes is preferable.

Also for all non-database authentication will use Proof Key for Code Exchange by default so your client type in Auth0 dashboard must be Native.