Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App and website saved password is not sync

Google Smart Lock feature implemented in my Android App. I am trying to sync password b/w my website and my Android App.

According to this document, I have done all required changes.

My website is here.

Digital asset link file is uploaded on this server.

In Manifest I have added below code. <meta-data android:name="asset_statements" android:resource="@string/asset_statements" />

in String.xml <string name="asset_statements" translatable="false">[{\"include\": \"https://auth-test.centurylink.com/.well-known/assetlinks.json\"</string>

App has been published to play-store in Beta, before 2 weeks. Also Submitted Website / app credential linking form multiple time,

Still have not received any mail of confirmation nor if there are any mistakes.

What is the best way to resolve or communicate with the team? How much time it takes to sync password b/w Web and App?

like image 562
Nirmal Sinh Revar Avatar asked Dec 01 '25 02:12

Nirmal Sinh Revar


1 Answers

It likely stems from invalid asset_statements JSON and incorrect SHA-256 fingerprint.

Solution

  1. Update strings.xml :
<string name="asset_statements" translatable="false">
  [{
    "relation": ["delegate_permission/common.handle_all_urls"],
    "target": {
      "namespace": "android_app",
      "package_name": "YOUR.PACKAGE.NAME",
      "sha256_cert_fingerprints": ["YOUR_PLAY_STORE_SHA256"]
    }
  }]
</string>
  1. Get the correct SHA-256 fingerprint and verify assetlinks.json

    Ensure your server's file at https://auth-test.centurylink.com/.well-known/assetlinks.json matches what's in strings.xml (use Google's statement list tester).

Timeline

  • No need to resubmit the form. Google's system auto-verifies when setup is correct (usually within 24 hours).

  • Test locally first using:

    adb shell am start -a android.intent.action.VIEW -d "https://auth-test.centurylink.com"
    
like image 119
cipher010 Avatar answered Dec 02 '25 17:12

cipher010