@captureid/capacitor-cidprint 0.2.65 → 5.0.2

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.
Files changed (70) hide show
  1. package/CaptureidCapacitor3Cidprint.podspec +21 -0
  2. package/README.md +809 -20
  3. package/android/.project +2 -2
  4. package/android/.settings/org.eclipse.buildship.core.prefs +1 -1
  5. package/android/app/captureid/cidprinterlibrary/1.0.5/cidprinterlibrary-1.0.5.aar +0 -0
  6. package/android/app/captureid/cidprinterlibrary/1.0.5/cidprinterlibrary-1.0.5.pom +20 -0
  7. package/android/app/captureid/cidprinterlibrary/1.0.5/cidprinterlibrary-1.0.5.pom.md5 +1 -0
  8. package/android/app/captureid/cidprinterlibrary/1.0.5/cidprinterlibrary-1.0.5.pom.sha1 +1 -0
  9. package/android/app/captureid/cidprinterlibrary/maven-metadata.xml +15 -0
  10. package/android/app/captureid/cidprinterlibrary/maven-metadata.xml.md5 +1 -0
  11. package/android/app/captureid/cidprinterlibrary/maven-metadata.xml.sha1 +1 -0
  12. package/android/app/captureid/cidprinterlibrary/maven-metadata.xml.sha256 +1 -0
  13. package/android/app/captureid/cidprinterlibrary/maven-metadata.xml.sha512 +1 -0
  14. package/android/app/captureid/supportv1/1.0.1/supportv1-1.0.1.aar +0 -0
  15. package/android/app/captureid/supportv1/1.0.1/supportv1-1.0.1.pom +9 -0
  16. package/android/app/captureid/supportv1/1.0.1/supportv1-1.0.1.pom.md5 +1 -0
  17. package/android/app/captureid/supportv1/1.0.1/supportv1-1.0.1.pom.sha1 +1 -0
  18. package/android/app/captureid/supportv1/1.0.1/supportv1-1.0.1.pom.sha256 +1 -0
  19. package/android/app/captureid/supportv1/1.0.1/supportv1-1.0.1.pom.sha512 +1 -0
  20. package/android/app/captureid/supportv1/maven-metadata-local.xml +12 -0
  21. package/android/app/captureid/supportv1/maven-metadata.xml +13 -0
  22. package/android/app/captureid/supportv1/maven-metadata.xml.md5 +1 -0
  23. package/android/app/captureid/supportv1/maven-metadata.xml.sha1 +1 -0
  24. package/android/app/captureid/supportv1/maven-metadata.xml.sha256 +1 -0
  25. package/android/app/captureid/supportv1/maven-metadata.xml.sha512 +1 -0
  26. package/android/build.gradle +33 -11
  27. package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  28. package/android/gradle.properties +1 -1
  29. package/android/src/main/AndroidManifest.xml +1 -3
  30. package/android/src/main/java/app/captureid/plugins/cidprint/CIDPrint.java +686 -175
  31. package/dist/docs.json +1292 -0
  32. package/dist/esm/configuration.d.ts +26 -0
  33. package/dist/esm/configuration.js +20 -0
  34. package/dist/esm/configuration.js.map +1 -0
  35. package/dist/esm/definitions.d.ts +92 -21
  36. package/dist/esm/definitions.js +2 -0
  37. package/dist/esm/definitions.js.map +1 -1
  38. package/dist/esm/enums.d.ts +58 -3
  39. package/dist/esm/enums.js +88 -0
  40. package/dist/esm/enums.js.map +1 -1
  41. package/dist/esm/index.d.ts +5 -0
  42. package/dist/esm/index.js +8 -0
  43. package/dist/esm/index.js.map +1 -1
  44. package/dist/esm/printer.d.ts +45 -0
  45. package/dist/esm/printer.js +1 -0
  46. package/dist/esm/printer.js.map +1 -0
  47. package/dist/esm/web.d.ts +77 -5
  48. package/dist/esm/web.js +102 -49
  49. package/dist/esm/web.js.map +1 -1
  50. package/dist/plugin.js +234 -48
  51. package/dist/plugin.js.map +1 -1
  52. package/ios/Plugin/BluetoothManager.h +46 -0
  53. package/ios/Plugin/CIDPrint.h +13 -0
  54. package/ios/Plugin/CIDPrint.m +518 -0
  55. package/ios/Plugin/{Plugin.h → CIDPrintPlugin.h} +11 -2
  56. package/ios/Plugin/CIDPrintPlugin.m +31 -0
  57. package/ios/Plugin/CIDPrinter.h +43 -0
  58. package/ios/Plugin/Device.h +57 -0
  59. package/ios/Plugin/Info.plist +8 -0
  60. package/ios/Plugin/InitResult.h +20 -0
  61. package/ios/Plugin/PrinterLibraryEvent.h +59 -0
  62. package/ios/Plugin/ResultClass.h +18 -0
  63. package/ios/Plugin/libCIDPrinterLibrary.a +0 -0
  64. package/package.json +19 -16
  65. package/android/.DS_Store +0 -0
  66. package/android/.npmignore +0 -1
  67. package/android/libs/.DS_Store +0 -0
  68. package/android/libs/cidprinterlibrary.aar +0 -0
  69. package/ios/Plugin/Plugin.m +0 -8
  70. package/ios/Plugin/Plugin.swift +0 -17
package/android/.project CHANGED
@@ -22,12 +22,12 @@
22
22
  </natures>
23
23
  <filteredResources>
24
24
  <filter>
25
- <id>1629406333857</id>
25
+ <id>1664892521394</id>
26
26
  <name></name>
27
27
  <type>30</type>
28
28
  <matcher>
29
29
  <id>org.eclipse.core.resources.regexFilterMatcher</id>
30
- <arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
30
+ <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31
31
  </matcher>
32
32
  </filter>
33
33
  </filteredResources>
@@ -1,4 +1,4 @@
1
- arguments=
1
+ arguments=--init-script /var/folders/36/vrff655n3pz5syqsvcw57qx00000gn/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/36/vrff655n3pz5syqsvcw57qx00000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
2
2
  auto.sync=false
3
3
  build.scans.enabled=false
4
4
  connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <modelVersion>4.0.0</modelVersion>
4
+ <groupId>app.captureid</groupId>
5
+ <artifactId>cidprinterlibrary</artifactId>
6
+ <version>1.0.5</version>
7
+ <packaging>aar</packaging>
8
+ <dependencies>
9
+ <dependency>
10
+ <groupId>androidx.appcompat</groupId>
11
+ <artifactId>appcompat</artifactId>
12
+ <version>1.3.1</version>
13
+ </dependency>
14
+ <dependency>
15
+ <groupId>app.captureid</groupId>
16
+ <artifactId>supportv1</artifactId>
17
+ <version>1.0.1</version>
18
+ </dependency>
19
+ </dependencies>
20
+ </project>
@@ -0,0 +1 @@
1
+ 9b23aea6d3ef9fbb61cc11dee8b99fd5
@@ -0,0 +1 @@
1
+ 614ee78f28b878928dfa4b9576dbc04484700273
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <metadata>
3
+ <groupId>app.captureid</groupId>
4
+ <artifactId>cidprinterlibrary</artifactId>
5
+ <versioning>
6
+ <latest>1.0.4</latest>
7
+ <release>1.0.4</release>
8
+ <versions>
9
+ <version>1.0.0</version>
10
+ <version>1.0.1</version>
11
+ <version>1.0.4</version>
12
+ </versions>
13
+ <lastUpdated>20220725191533</lastUpdated>
14
+ </versioning>
15
+ </metadata>
@@ -0,0 +1 @@
1
+ 3dbede253d9fc86fb887e718bb029591
@@ -0,0 +1 @@
1
+ 07d71bd86c4563aedec5cdfcda9c849b2902ef46
@@ -0,0 +1 @@
1
+ da9f453d21a4c810c7c4de367b4f62180c128769f5b593ca6a1bb294b2c2b20d
@@ -0,0 +1 @@
1
+ 8deb510d762f12c69c698f265fd7ad0411d68506a22cb582df9e61d34b2a4bd51bafb05885ea46ee4efa5ffb83d1695f6151b9bf03fca26cd228ac5c432a695f
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <modelVersion>4.0.0</modelVersion>
4
+ <groupId>app.captureid</groupId>
5
+ <artifactId>supportv1</artifactId>
6
+ <version>1.0.1</version>
7
+ <packaging>aar</packaging>
8
+ <dependencies/>
9
+ </project>
@@ -0,0 +1 @@
1
+ 7f67903da6c6f67a80898ef74c42d0d7
@@ -0,0 +1 @@
1
+ 5c58c39d957e0a62b55f09bd94f83fc436137063
@@ -0,0 +1 @@
1
+ d259f5127678fc407fbfcc2c584cb266547264b795f9053262b46b0de2a8e619
@@ -0,0 +1 @@
1
+ 697f9132466bca91c4dd0035de3a3b447d19b8976c173a3f8ec35f6c8d278f9615d498495e0e2cea6af83661a68f2dd3ae389b4d3232da2675fcc43fb1e1aec7
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <metadata>
3
+ <groupId>app.captureid</groupId>
4
+ <artifactId>supportv1</artifactId>
5
+ <versioning>
6
+ <release>1.0.0</release>
7
+ <versions>
8
+ <version>1.0.0</version>
9
+ </versions>
10
+ <lastUpdated>20211119084550</lastUpdated>
11
+ </versioning>
12
+ </metadata>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <metadata>
3
+ <groupId>app.captureid</groupId>
4
+ <artifactId>supportv1</artifactId>
5
+ <versioning>
6
+ <latest>1.0.0</latest>
7
+ <release>1.0.0</release>
8
+ <versions>
9
+ <version>1.0.0</version>
10
+ </versions>
11
+ <lastUpdated>20211222085506</lastUpdated>
12
+ </versioning>
13
+ </metadata>
@@ -0,0 +1 @@
1
+ 100bb8cea34ab616906c4ecc915ce2e5
@@ -0,0 +1 @@
1
+ 5fc596cf3ad952c58ad7074813bbd4e19eed83bb
@@ -0,0 +1 @@
1
+ dc9f2ca7095c73ac004be6a511bc7296bdc758de7eba15f351b38e381cb9b7b6
@@ -0,0 +1 @@
1
+ 0b4b7d988d92ea93054c1162be132863ed98b63d695cd2178bdd63693fd52476eecd9400fb4729a04f8f73f92738a3ac868f1cae4524d825c69beae2f8dbafe6
@@ -1,7 +1,8 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12'
3
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1'
4
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0'
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
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'
5
6
  }
6
7
 
7
8
  buildscript {
@@ -10,17 +11,22 @@ buildscript {
10
11
  jcenter()
11
12
  }
12
13
  dependencies {
13
- classpath 'com.android.tools.build:gradle:3.6.1'
14
+ classpath 'com.android.tools.build:gradle:8.0.0'
14
15
  }
15
16
  }
16
17
 
17
18
  apply plugin: 'com.android.library'
18
19
 
19
20
  android {
20
- compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 29
21
+ compileOptions {
22
+ sourceCompatibility JavaVersion.VERSION_17
23
+ targetCompatibility JavaVersion.VERSION_17
24
+ }
25
+ namespace "app.captureid.plugins.cidprint.capacitorplugincidprint"
26
+ compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
21
27
  defaultConfig {
22
28
  minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
23
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 29
29
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33
24
30
  versionCode 1
25
31
  versionName "1.0"
26
32
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -40,17 +46,33 @@ repositories {
40
46
  google()
41
47
  jcenter()
42
48
  mavenCentral()
43
- flatDir{
44
- dirs 'libs'
49
+ mavenLocal()
50
+ maven {
51
+ url("$rootDir/../node_modules/@captureid/capacitor-cidprint/android")
45
52
  }
46
53
  }
47
54
 
48
-
49
55
  dependencies {
50
- implementation fileTree(dir: 'libs', include: ['*.aar'])
56
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
51
57
  implementation project(':capacitor-android')
58
+ implementation project(path: ':CIDPrinterLibrary')
52
59
  testImplementation "junit:junit:$junitVersion"
53
60
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
54
61
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
55
- implementation 'androidx.appcompat:appcompat:1.2.0'
62
+ implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
63
+ // implementation 'app.captureid:cidprinterlibrary:1.0.5'
64
+ implementation 'app.captureid:supportv1:1.0.1'
65
+ }
66
+
67
+ tasks.configure {
68
+ doFirst {
69
+ project
70
+ .parent
71
+ .allprojects ({
72
+ getRepositories()
73
+ .mavenLocal({mavenRepository ->
74
+ mavenRepository.setUrl("$rootDir/../node_modules/@captureid/capacitor-cidprint/android")
75
+ })
76
+ })
77
+ }
56
78
  }
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
@@ -21,4 +21,4 @@ org.gradle.jvmargs=-Xmx1536m
21
21
  # https://developer.android.com/topic/libraries/support-library/androidx-rn
22
22
  android.useAndroidX=true
23
23
  # Automatically convert third-party libraries to use AndroidX
24
- android.enableJetifier=true
24
+ # android.enableJetifier=true
@@ -1,5 +1,3 @@
1
1
 
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- package="app.captureid.plugins.cidprint.capacitorplugincidprint">
4
- </manifest>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android" />
5
3