metamap-capacitor-plugin 4.9.5 → 4.9.7

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.
@@ -1,88 +1,28 @@
1
- ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
6
- }
7
-
8
- buildscript {
9
- repositories {
10
- google()
11
- mavenCentral()
12
- maven { url "https://jitpack.io" }
13
- }
14
- dependencies {
15
- classpath 'com.android.tools.build:gradle:8.3.0'
16
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0"
17
- }
18
- }
19
-
20
1
  apply plugin: 'com.android.library'
21
2
 
22
- def pluginCompileSdk = rootProject.ext.has('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
23
- def pluginTargetSdk = rootProject.ext.has('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
24
-
25
3
  android {
26
4
  namespace "com.getmati.plugins.capacitor"
27
- compileSdkVersion pluginCompileSdk
5
+
6
+ compileSdk 36
7
+
28
8
  defaultConfig {
29
- minSdkVersion 22
30
- targetSdkVersion pluginTargetSdk
31
- versionCode 1
32
- versionName "1.0"
33
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
34
- }
35
- buildTypes {
36
- release {
37
- minifyEnabled false
38
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
39
- }
40
- }
41
- lintOptions {
42
- abortOnError false
9
+ minSdk 22
10
+ targetSdk 36
43
11
  }
12
+
44
13
  compileOptions {
45
14
  sourceCompatibility JavaVersion.VERSION_17
46
15
  targetCompatibility JavaVersion.VERSION_17
47
16
  }
48
17
  }
49
18
 
50
- repositories {
51
- google()
52
- mavenCentral()
53
- maven { url "https://jitpack.io" }
54
- }
55
-
56
-
57
19
  dependencies {
58
- implementation fileTree(dir: 'libs', include: ['*.jar'])
59
20
  implementation project(':capacitor-android')
60
- implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
61
- implementation ('com.metamap:android-sdk:3.42.16') {
21
+ implementation "androidx.appcompat:appcompat:1.6.1"
22
+
23
+ implementation('com.metamap:android-sdk:3.42.16') {
62
24
  exclude group: "com.airbnb.android", module: "lottie-compose"
63
25
  exclude group: "org.jetbrains.compose.runtime", module: "runtime-android"
64
26
  exclude group: "org.jetbrains.compose.runtime", module: "runtime-desktop"
65
27
  }
66
28
  }
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
@@ -1,2 +1,26 @@
1
+ //include ':capacitor-android'
2
+ //project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
3
+
4
+
5
+ pluginManagement {
6
+ repositories {
7
+ google()
8
+ mavenCentral()
9
+ gradlePluginPortal()
10
+ maven { url "https://jitpack.io" }
11
+ }
12
+ }
13
+
14
+ dependencyResolutionManagement {
15
+ repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
16
+ repositories {
17
+ google()
18
+ mavenCentral()
19
+ maven { url "https://jitpack.io" }
20
+ }
21
+ }
22
+
23
+ rootProject.name = "your-project-name"
24
+
1
25
  include ':capacitor-android'
2
26
  project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
@@ -1,6 +1,4 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="io.mati.plugins.capacitor.maticapacitorplugin">
3
-
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
4
2
  <application/>
5
3
  </manifest>
6
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metamap-capacitor-plugin",
3
- "version": "4.9.5",
3
+ "version": "4.9.7",
4
4
  "description": "Capacitor plugin for MetaMap SDK",
5
5
  "main": "dist/plugin.js",
6
6
  "module": "dist/esm/index.js",