mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat: Add Android APIs usage list (#8286)
* Add Android APIs usage list * Add androidx packages * Enable metadata filtering in tests app * Add java.lang.reflect package to usage list * Add android.provider package to usage list * Remove incorrectly commited file
This commit is contained in:
29
nativescript-core/platforms/android/native-api-usage.json
Normal file
29
nativescript-core/platforms/android/native-api-usage.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"uses": [
|
||||
"java.lang:*",
|
||||
"java.lang.reflect:*",
|
||||
"java.io:*",
|
||||
"java.nio:*",
|
||||
"java.util:*",
|
||||
"com.tns*:*",
|
||||
"org.nativescript*:*",
|
||||
"android.content*:*",
|
||||
"android.app*:*",
|
||||
"android.os*:*",
|
||||
"android.view*:*",
|
||||
"android.net*:*",
|
||||
"android.graphics*:*",
|
||||
"android.util*:*",
|
||||
"android.media*:*",
|
||||
"android.widget*:*",
|
||||
"android.animation*:*",
|
||||
"android.provider*:*",
|
||||
"android.text*:*",
|
||||
"android.webkit*:*",
|
||||
"androidx.appcompat*:*",
|
||||
"androidx.core*:*",
|
||||
"androidx.viewpager.widget*:*",
|
||||
"androidx.fragment*:*",
|
||||
"androidx.transition*:*"
|
||||
]
|
||||
}
|
||||
5
tests/app/App_Resources/Android/native-api-usage.json
Normal file
5
tests/app/App_Resources/Android/native-api-usage.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"whitelist-plugins-usages": true,
|
||||
"whitelist": [],
|
||||
"blacklist": []
|
||||
}
|
||||
Reference in New Issue
Block a user