[HTML payload içeriği buraya]
32.2 C
Jakarta
Monday, May 18, 2026

third-party autofill companies help on Chrome on Android



Posted by Eiji Kitamura – Developer Advocate (@agektmr)

In October 2024, we introduced that Chrome 131 will enable third-party autofill companies on Android (like password managers) to natively autofill types on web sites. Reflecting on suggestions from autofill service builders, we have determined to shift the schedule and permit the third-party autofill companies from Chrome 135.

Native Chrome help for third-party autofill companies on Android signifies that customers will have the ability to use their most well-liked password supervisor or autofill service immediately in Chrome, with out having to depend on workarounds or extensions. This alteration is anticipated to enhance the person expertise and safety for Android customers who use third-party autofill companies.

Primarily based on developer suggestions, we have fastened bugs, and have been working to make the brand new setting simpler to find. To help these objectives, we have added the next capabilities:

    • A capability to question Chrome settings and be taught whether or not the person needs to make use of a 3rd occasion autofill service
    • A capability to deep hyperlink to the Chrome settings web page the place customers can allow third-party autofill companies.

Learn Chrome settings

Any app can learn whether or not Chrome makes use of the 3P autofill mode that permits it to make use of Android Autofill. Chrome makes use of Android’s ContentProvider to speak that data. Declare in your Android manifest which channels you need to learn settings from, e.g.:

<uses-permission android:identify="android.permission.READ_USER_DICTIONARY"/>
<queries>
 <!-- To Question Chrome Beta: -->
 <bundle android:identify="com.chrome.beta" />

 <!-- To Question Chrome Secure: -->
 <bundle android:identify="com.android.chrome" />
</queries>

Then, use Android’s ContentResolver to request that data by constructing the content material URI as on this instance code:

remaining String CHROME_CHANNEL_PACKAGE = "com.android.chrome";  // Chrome Secure.
remaining String CONTENT_PROVIDER_NAME = ".AutofillThirdPartyModeContentProvider";
remaining String THIRD_PARTY_MODE_COLUMN = "autofill_third_party_state";
remaining String THIRD_PARTY_MODE_ACTIONS_URI_PATH = "autofill_third_party_mode";

remaining Uri uri = new Uri.Builder()
                  .scheme(ContentResolver.SCHEME_CONTENT)
                  .authority(CHROME_CHANNEL_PACKAGE + CONTENT_PROVIDER_NAME)
                  .path(THIRD_PARTY_MODE_ACTIONS_URI_PATH)
                  .construct();

remaining Cursor cursor = getContentResolver().question(
                  uri,
                  /*projection=*/new String[] {THIRD_PARTY_MODE_COLUMN},
                  /*choice=*/ null,
                  /*selectionArgs=*/ null,
                  /*sortOrder=*/ null);

cursor.moveToFirst(); // Retrieve the outcome;

int index = cursor.getColumnIndex(THIRD_PARTY_MODE_COLUMN);

if (0 == cursor.getInt(index)) {
  // 0 signifies that the third occasion mode is turned off. Chrome makes use of its built-in
  // password supervisor. That is the default for brand new customers.
} else {
  // 1 signifies that the third occasion mode is turned on. Chrome makes use of forwards all
  // autofill requests to Android Autofill. Customers should opt-in for this.
}

Deep-link to Chrome settings

To deep-link to the Chrome settings web page the place customers can allow third-party autofill companies, use an Android Intent. Guarantee to configure the motion and classes precisely as on this instance code:

Intent autofillSettingsIntent = new Intent(Intent.ACTION_APPLICATION_PREFERENCES);
autofillSettingsIntent.addCategory(Intent.CATEGORY_DEFAULT);
autofillSettingsIntent.addCategory(Intent.CATEGORY_APP_BROWSER);
autofillSettingsIntent.addCategory(Intent.CATEGORY_PREFERENCE);

// Invoking the intent with a chooser permits customers to pick out the channel they need to 
// configure. If just one browser reacts to the intent, the chooser is skipped.
Intent chooser = Intent.createChooser(autofillSettingsIntent, "Choose Chrome Channel");
startActivity(chooser);

// If the caller is aware of which Chrome channel they need to configure, 
// they'll as a substitute add a bundle trace to the intent, e.g.
autofillSettingsIntent.setPackage("com.android.chrome");
startActivity(autofillSettingsInstent);

Up to date timeline

To mirror the suggestions and to go away time for autofill service builders to make related adjustments, we’re shifting the plan. Customers should choose Autofill utilizing one other service in Chrome settings to make sure their autofill expertise is unaffected. The brand new setting will change into obtainable in Chrome 135. Autofill companies ought to encourage their customers to toggle the setting, to make sure they’ve the very best autofill expertise attainable with their service and Chrome on Android. Chrome plans to cease supporting the compatibility mode in summer time 2025.

    • March 5th, 2025: Chrome 135 beta is obtainable
    • April 1st, 2025: Chrome 135 is in secure
    • Summer time 2025: Compatibility mode will now not be obtainable on Chrome

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles