@nativescript/android 8.2.0-alpha.4 → 8.2.0-alpha.8

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.
@@ -156,7 +156,8 @@ class ErrorReport implements TabLayout.OnTabSelectedListener {
156
156
  static void startPendingErrorActivity(Context context, Intent intent) throws CanceledException {
157
157
  int flags = PendingIntent.FLAG_CANCEL_CURRENT;
158
158
  if (Build.VERSION.SDK_INT >= 31) {
159
- flags = PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_MUTABLE;
159
+ int FLAG_MUTABLE = 1<<25;
160
+ flags = PendingIntent.FLAG_CANCEL_CURRENT | FLAG_MUTABLE;
160
161
  }
161
162
 
162
163
  PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, flags);
@@ -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.4",
4
+ "version": "8.2.0-alpha.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/NativeScript/android-runtime.git"
@@ -9,9 +9,10 @@
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
18
  "minSdk": "19",