mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(android): types for API Level 30 and cleanup (#9219)
API Level 30 is now included. Also the `native` namespace used for Android/Java typings no longer collides with integrations. BREAKING CHANGE: If you were using`native.Array` for any of your own custom plugin typings, you can switch them to `androidNative.Array` BEFORE: ``` public writeAsync(path: string, bytes: native.Array<number>) ... ``` AFTER: ``` public writeAsync(path: string, bytes: androidNative.Array<number>) ... ```
This commit is contained in:
@@ -204,7 +204,7 @@ function refreshBorderDrawable(this: void, view: View, borderDrawable: org.nativ
|
||||
}
|
||||
}
|
||||
|
||||
function createNativeCSSValueArray(css: string): native.Array<org.nativescript.widgets.CSSValue> {
|
||||
function createNativeCSSValueArray(css: string): androidNative.Array<org.nativescript.widgets.CSSValue> {
|
||||
if (!css) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user