Hello. There is an Android application with authorization via VC. Here is the data in the VC application: id = 51616 , the same id in the AS ; the package is by.mycompany.app, respectively, in the AS application. SHA1 - the same. ( SHA1 received through the added activity of GoogleMaps ). When debugging on a real device, everything works. But when assembling the apk and installing - NO. Maybe there will be some ideas. And the error itself:

error: invalid request; error_description: sdk_fingerprints is incorrect;

Previously, the project was going.

    1 answer 1

    If you mean that the application laid out in the market does not work for you, then the point here is that you need to add the SHA-1 release key with which you signed the application when laying out the market

    Using VKSDK, key prints can be obtained like this (this is the Context ):

     String[] fingerprints = VKUtil.getCertificateFingerprint(this, this.getPackageName()); for(String sha1: fingerprints) { Log.d("VK_SDK", "sha01: " + sha1); } 
    • This will not be an update, but a new version in the new Play Store panel. - Dmitriy Dev
    • I collected the APK and installed it on the phone. And here at authorization an error. - Dmitriy Dev
    • one
      @DmitryKoverko, since I wrote to you that you need to add another SHA-1 to the VC. Those. there should be two keys - debug and release - YuriySPb
    • one
      @ShwarzAndrei release - NONE. Although I collected it. - Dmitriy Dev
    • one
      @DmitryKoverko, you can get fingerprints of keys like this: String[] fingerprints = VKUtil.getCertificateFingerprint(this, this.getPackageName()) - JuriySPb