I am using the current Delphi 10.3 release along with the current TeeChart FMX 2018.26 release. The Android device is a onePlus 6T with Android 9. Unfortunately, a "detected problems with API-compatibility" is currently being shown. I have used a completely new project with only a simple chart of TeeChart, so I can rule out other incompatibilities.
Is there any usable solution for this?
http://bugs.teechart.net/show_bug.cgi?id=2134
Referencing to docs: In Android P, this dialog showing
Detected problems with API compatibility
Why this dialog is being shown?
Reason: Your code hit the
dark greylist
What are dark greylist apis? Such apis that are not permissible to call by other apps, In my case i was using the startSoftAp method that was dark grey listed. Removing that call vanished the dialog.
How will you find?
In your logcat -> verbose -> Search("Accessing hidden")
LOGCAT RESULT
Accessing hidden method:Landroid/net/wifi/WifiManager:startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z (dark greylist, reflection)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With