@nativescript/android 8.2.0-alpha.5 → 8.2.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,6 @@ import java.text.SimpleDateFormat;
14
14
  import java.util.Date;
15
15
 
16
16
  import android.Manifest;
17
- import android.annotation.TargetApi;
18
17
  import android.app.Activity;
19
18
  import android.app.PendingIntent;
20
19
  import android.app.PendingIntent.CanceledException;
@@ -27,8 +26,6 @@ import android.os.Build;
27
26
  import android.os.Bundle;
28
27
  import android.os.Environment;
29
28
  import com.google.android.material.tabs.TabLayout;
30
-
31
- import androidx.annotation.RequiresApi;
32
29
  import androidx.core.app.ActivityCompat;
33
30
  import androidx.fragment.app.Fragment;
34
31
  import androidx.fragment.app.FragmentManager;
@@ -156,7 +153,6 @@ class ErrorReport implements TabLayout.OnTabSelectedListener {
156
153
  android.os.Process.killProcess(android.os.Process.myPid());
157
154
  }
158
155
 
159
-
160
156
  static void startPendingErrorActivity(Context context, Intent intent) throws CanceledException {
161
157
  int flags = PendingIntent.FLAG_CANCEL_CURRENT;
162
158
  if (Build.VERSION.SDK_INT >= 31) {
@@ -123,7 +123,7 @@ version of the {N} CLI install a previous version of the runtime package - 'tns
123
123
 
124
124
  def computeKotlinVersion = { -> project.hasProperty("kotlinVersion") ? kotlinVersion : "${kotlin_version}"
125
125
  }
126
- def computeBuildToolsVersion = { -> project.hasProperty("androidBuildToolsVersion") ? androidBuildToolsVersion : "7.0.2"}
126
+ def computeBuildToolsVersion = { -> project.hasProperty("androidBuildToolsVersion") ? androidBuildToolsVersion : "${ANDRIOD_BUILD_TOOLS_VERSION}"}
127
127
  def kotlinVersion = computeKotlinVersion()
128
128
  def androidBuildToolsVersion = computeBuildToolsVersion()
129
129
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nativescript/android",
3
3
  "description": "NativeScript Runtime for Android",
4
- "version": "8.2.0-alpha.5",
4
+ "version": "8.2.0-alpha.9",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/NativeScript/android-runtime.git"
@@ -9,12 +9,13 @@
9
9
  "files": [
10
10
  "**/*"
11
11
  ],
12
- "versions": {
12
+ "version_info": {
13
13
  "v8": "9.7.106.13",
14
- "gradle": "7.0.4",
14
+ "gradle": "7.0.2",
15
+ "gradleAndroid": "7.0.4",
15
16
  "ndk": "r22",
16
17
  "ndkApiLevel": "19",
17
- "minSdk": "19",
18
+ "minSdk": "17",
18
19
  "compileSdk": "30",
19
20
  "buildTools": "30.0.2",
20
21
  "kotlin": "1.6.0"