[Android] Restrictions on non-SDK interfaces (greylist-max-o, greylist-max-p, greylist-max-q)
See original GitHub issueBug Report
Problem
The Google pre-launch report shows warnings of non-SDK interface usage. I have tested the apk with veridex and shows indeed some greylisted api calls (of which greylist-max-p does not allow for a safe transition to api level 29, which is a requirement for new apps)
50 hidden API(s) used: 21 linked against, 29 through reflection
45 in greylist
0 in blacklist
0 in greylist-max-o
5 in greylist-max-p
0 in greylist-max-q
What is expected to happen?
For targeting Android 10 (api level 29), which is a requirement by Google for new apps due August, and app updates due November 2020, the result should not include greylist-max-p (api level 28) api calls
Information
I have updated all cordova plugins to the latest versions and checked they are maintained, so I am not sure where do these api calls come from, if it’s from a plugin or cordova itself.
Command or Code
build apk
ionic cordova build android
veridex tool
wsl ./appcompat.sh --dex-file=app.apk > report.txt
Environment, Platform, Device
cordova 9, android 10, android phone
Version information
Ionic:
Ionic CLI : 5.4.9 (C:\Users\alex\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.11.10 @angular-devkit/build-angular : 0.801.3 @angular-devkit/schematics : 8.1.3 @angular/cli : 8.3.5 @ionic/angular-toolkit : 2.0.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 9.0.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 48 other plugins)
Utility:
cordova-res : not installed native-run : 0.3.0
System:
NodeJS : v12.13.1 (C:\Program Files\nodejs\node.exe) npm : 6.12.1 OS : Windows 10
Checklist
- [ x ] I searched for existing GitHub issues
- [ x ] I updated all Cordova tooling to most recent version
- [ x ] I included all the necessary information above
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Here is the full output of veridex. I will include the list of installed plugins and versions in the next comment.
Closing as stale.