@capgo/capacitor-screen-recorder 1.2.20 → 1.2.22

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.
package/README.md CHANGED
@@ -19,8 +19,16 @@ npx cap sync
19
19
  Nothing special
20
20
 
21
21
  ## Android
22
+ increase project's minSdk version to 23, it's required by the dependency scrcast
22
23
 
23
- increase project's minSdk version to at least 23.
24
+ ### Variables
25
+
26
+ This plugin will use the following project variables (defined in your app's `variables.gradle` file):
27
+ - `$kotlinVersion` version of `org.jetbrains.kotlin:kotlin-stdlib-jdk7` (default: `1.7.21`)
28
+
29
+ ## Configuration
30
+
31
+ No configuration required for this plugin.
24
32
 
25
33
  ## API
26
34
 
@@ -1,20 +1,19 @@
1
- ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
4
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
5
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
6
- androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.8.0'
7
- }
8
-
9
1
  buildscript {
10
- ext.kotlin_version = project.hasProperty('kotlin_version') ? rootProject.ext.kotlin_version : '1.7.21'
2
+ ext {
3
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.4'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.0'
6
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
7
+ androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.8.0'
8
+ kotlinVersion = project.hasProperty('kotlinVersion') ? rootProject.ext.kotlinVersion : '1.7.21'
9
+ }
11
10
  repositories {
12
11
  google()
13
12
  mavenCentral()
14
13
  }
15
14
  dependencies {
16
15
  classpath 'com.android.tools.build:gradle:7.3.1'
17
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
16
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
18
17
  }
19
18
  }
20
19
 
@@ -22,6 +21,7 @@ apply plugin: 'com.android.library'
22
21
  apply plugin: 'kotlin-android'
23
22
 
24
23
  android {
24
+ namespace "ee.forgr.plugin.screenrecorder"
25
25
  compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
26
26
  defaultConfig {
27
27
  minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
@@ -40,8 +40,11 @@ android {
40
40
  abortOnError false
41
41
  }
42
42
  compileOptions {
43
- sourceCompatibility JavaVersion.VERSION_1_8
44
- targetCompatibility JavaVersion.VERSION_1_8
43
+ sourceCompatibility JavaVersion.VERSION_11
44
+ targetCompatibility JavaVersion.VERSION_11
45
+ }
46
+ kotlinOptions {
47
+ jvmTarget = '11'
45
48
  }
46
49
  }
47
50
 
@@ -50,7 +53,6 @@ repositories {
50
53
  mavenCentral()
51
54
  }
52
55
 
53
-
54
56
  dependencies {
55
57
  implementation fileTree(dir: 'libs', include: ['*.jar'])
56
58
  implementation project(':capacitor-android')
@@ -59,6 +61,6 @@ dependencies {
59
61
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
60
62
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
61
63
  implementation "androidx.core:core-ktx:$androidxCoreVersion"
64
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
62
65
  implementation ("dev.bmcreations:scrcast:0.3.0")
63
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64
- }
66
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-screen-recorder",
3
- "version": "1.2.20",
3
+ "version": "1.2.22",
4
4
  "description": "Record device's screen",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",