@nitra/zebra 6.1.3 → 6.1.5
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/NitraZebra.podspec +14 -0
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.project +28 -0
- package/android/build.gradle +56 -0
- package/android/capacitor.settings.gradle +3 -0
- package/android/gradle.properties +19 -0
- package/android/proguard-rules.pro +21 -0
- package/android/src/main/AndroidManifest.xml +19 -0
- package/android/src/main/java/com/nitra/zebra_printer_plugin/ZebraPrinter.java +1345 -0
- package/android/src/main/res/xml/capacitor_plugins.xml +4 -0
- package/android/variables.gradle +14 -0
- package/dist/plugin.js +219 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Info.plist +36 -0
- package/ios/Plugin/ZebraPrinterPlugin.m +16 -0
- package/ios/Plugin/ZebraPrinterPlugin.swift +404 -0
- package/package.json +58 -4
- package/README.md +0 -6
- package/index.js +0 -3
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Pod::Spec.new do |spec|
|
|
2
|
+
spec.name = 'NitraZebra'
|
|
3
|
+
spec.version = '6.1.5'
|
|
4
|
+
spec.summary = 'Nitra Zebra Components for Capacitor'
|
|
5
|
+
spec.license = 'ISC'
|
|
6
|
+
spec.homepage = 'https://github.com/nitra/zebra'
|
|
7
|
+
spec.author = 'v@nitra.ai'
|
|
8
|
+
spec.source = { :git => 'https://github.com/nitra/zebra.git', :tag => 'v6.1.5' }
|
|
9
|
+
spec.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
10
|
+
spec.ios.deployment_target = '14.0'
|
|
11
|
+
spec.dependency 'Capacitor', '~> 7.4.0'
|
|
12
|
+
spec.swift_version = '5.1'
|
|
13
|
+
spec.frameworks = 'CoreBluetooth'
|
|
14
|
+
end
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/android/.project
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>nitra-zebra</name>
|
|
4
|
+
<comment>Project nitra-zebra created by Buildship.</comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
</buildSpec>
|
|
14
|
+
<natures>
|
|
15
|
+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
16
|
+
</natures>
|
|
17
|
+
<filteredResources>
|
|
18
|
+
<filter>
|
|
19
|
+
<id>1762760610250</id>
|
|
20
|
+
<name></name>
|
|
21
|
+
<type>30</type>
|
|
22
|
+
<matcher>
|
|
23
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
24
|
+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
25
|
+
</matcher>
|
|
26
|
+
</filter>
|
|
27
|
+
</filteredResources>
|
|
28
|
+
</projectDescription>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
buildscript {
|
|
2
|
+
repositories {
|
|
3
|
+
google()
|
|
4
|
+
mavenCentral()
|
|
5
|
+
maven {
|
|
6
|
+
url "https://plugins.gradle.org/m2/"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
dependencies {
|
|
10
|
+
classpath 'com.android.tools.build:gradle:8.7.2'
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
apply plugin: 'com.android.library'
|
|
15
|
+
apply from: 'variables.gradle'
|
|
16
|
+
|
|
17
|
+
android {
|
|
18
|
+
namespace "com.nitra.zebra_printer_plugin"
|
|
19
|
+
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
|
|
20
|
+
defaultConfig {
|
|
21
|
+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
|
|
22
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
|
|
23
|
+
versionCode 1
|
|
24
|
+
versionName "1.0"
|
|
25
|
+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
26
|
+
}
|
|
27
|
+
buildTypes {
|
|
28
|
+
release {
|
|
29
|
+
minifyEnabled false
|
|
30
|
+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
lintOptions {
|
|
34
|
+
abortOnError false
|
|
35
|
+
}
|
|
36
|
+
compileOptions {
|
|
37
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
38
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
repositories {
|
|
43
|
+
google()
|
|
44
|
+
mavenCentral()
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
dependencies {
|
|
48
|
+
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
49
|
+
implementation project(':capacitor-android')
|
|
50
|
+
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
51
|
+
implementation "androidx.core:core:$androidxCoreVersion"
|
|
52
|
+
testImplementation "junit:junit:$junitVersion"
|
|
53
|
+
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
54
|
+
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Project-wide Gradle settings.
|
|
2
|
+
# IDE (e.g. Android Studio) users:
|
|
3
|
+
# Gradle settings configured through the IDE *will override*
|
|
4
|
+
# any settings specified in this file.
|
|
5
|
+
# For more details on how to configure your build environment visit
|
|
6
|
+
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
7
|
+
# Specifies the JVM arguments used for the daemon process.
|
|
8
|
+
# The setting is particularly useful for tweaking memory settings.
|
|
9
|
+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
|
10
|
+
# When configured, Gradle will run in incubating parallel mode.
|
|
11
|
+
# This option should only be used with decoupled projects. More details, visit
|
|
12
|
+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
13
|
+
# org.gradle.parallel=true
|
|
14
|
+
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
15
|
+
# Android operating system, and which are packaged with your app's APK
|
|
16
|
+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
17
|
+
android.useAndroidX=true
|
|
18
|
+
# Automatically convert third-party libraries to use AndroidX
|
|
19
|
+
android.enableJetifier=true
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Add project specific ProGuard rules here.
|
|
2
|
+
# You can control the set of applied configuration files using the
|
|
3
|
+
# proguardFiles setting in build.gradle.
|
|
4
|
+
#
|
|
5
|
+
# For more details, see
|
|
6
|
+
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
7
|
+
|
|
8
|
+
# If your project uses WebView with JS, uncomment the following
|
|
9
|
+
# and specify the fully qualified class name to the JavaScript interface
|
|
10
|
+
# class:
|
|
11
|
+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
12
|
+
# public *;
|
|
13
|
+
#}
|
|
14
|
+
|
|
15
|
+
# Uncomment this to preserve the line number information for
|
|
16
|
+
# debugging stack traces.
|
|
17
|
+
#-keepattributes SourceFile,LineNumberTable
|
|
18
|
+
|
|
19
|
+
# If you keep the line number information, uncomment this to
|
|
20
|
+
# hide the original source file name.
|
|
21
|
+
#-renamesourcefileattribute SourceFile
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
package="com.nitra.zebra_printer_plugin">
|
|
4
|
+
|
|
5
|
+
<!-- Bluetooth permissions -->
|
|
6
|
+
<uses-permission android:name="android.permission.BLUETOOTH" />
|
|
7
|
+
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
|
8
|
+
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
|
|
9
|
+
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
|
|
10
|
+
|
|
11
|
+
<!-- Location permissions (required for BLE scanning on Android) -->
|
|
12
|
+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
13
|
+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
14
|
+
|
|
15
|
+
<!-- Feature declarations -->
|
|
16
|
+
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true" />
|
|
17
|
+
<uses-feature android:name="android.hardware.bluetooth" android:required="true" />
|
|
18
|
+
|
|
19
|
+
</manifest>
|