diff --git a/nativescript-core/platforms/android/native-api-usage.json b/nativescript-core/platforms/android/native-api-usage.json new file mode 100644 index 000000000..565255a8e --- /dev/null +++ b/nativescript-core/platforms/android/native-api-usage.json @@ -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*:*" + ] +} \ No newline at end of file diff --git a/tests/app/App_Resources/Android/native-api-usage.json b/tests/app/App_Resources/Android/native-api-usage.json new file mode 100644 index 000000000..07ecf56e6 --- /dev/null +++ b/tests/app/App_Resources/Android/native-api-usage.json @@ -0,0 +1,5 @@ +{ + "whitelist-plugins-usages": true, + "whitelist": [], + "blacklist": [] +} \ No newline at end of file