For crashing on SetpairingConfirmation it seems like it happens due to: ``` Exception of type 'System.NotImplementedException' was thrown ``` But it is strange because I checked version of Sdk: ``` if (Build.VERSION.SdkInt >= BuildVersionCodes.Kitkat) ```
On Monday, January 4, 2021 at 6:41:34 PM UTC+2 Denis Kotov wrote: > > Hi all, > > By some reason I got in my Android Application `*extraPairingVariant*` = > `3` that is relate to `PairingVariantConsent` ... > > But I did not understand why because code is run on Phone device > Android Device: HUAWEI P10 Plus > My code looks pretty similar to this > https://stackoverflow.com/a/36399113/5157245 > > Also when I try to `*device.SetPairingConfirmation(true);*` I get error ` > *PRIVILEGED*`, but all accesses I have set in manifest: `*Bluetooth*` and > `*BluetoothAdmin*` > > Have somebody such issues ? > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/7ca9e47d-f0ef-4044-834c-dfe7e0c9b8bdn%40googlegroups.com.

