alexp25 opened a new issue #1037:
URL: https://github.com/apache/cordova-android/issues/1037
# Bug 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
<!-- Include all relevant information that might help understand and
reproduce the problem -->
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
<!-- What command or code is needed to reproduce the problem? -->
#### build apk
```ionic cordova build android```
#### veridex tool
```wsl ./appcompat.sh --dex-file=app.apk > report.txt```
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
cordova 9, android 10, android phone
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
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 ([email protected])
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
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [ 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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]