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:
Nathan Walker
2021-02-27 12:45:49 -08:00
committed by GitHub
parent c5c8615529
commit ebcc0e2cc0
27 changed files with 256952 additions and 51108 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@nativescript/types",
"version": "7.2.0",
"version": "7.3.0-rc.0",
"description": "NativeScript Types for all supported platforms.",
"homepage": "https://nativescript.org",
"repository": {
@@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@nativescript/types-ios": "7.2.0",
"@nativescript/types-android": "7.2.0"
"@nativescript/types-ios": "7.3.0-rc.0",
"@nativescript/types-android": "7.3.0-rc.0"
}
}