Skip to content

Commit c117656

Browse files
committed
fix: all->适配.so文件安卓16k页面,更新SDK:iminPrinterSDK-15_V1.3.2_2505261539.jar
1 parent 20cb2d6 commit c117656

11 files changed

Lines changed: 109 additions & 48 deletions

File tree

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ dependencies {
9797
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
9898
// implementation files('libs/IminLibs1.0.15.jar')
9999
implementation files('libs/IminStraElectronicSDK_V1.2.jar')
100-
implementation files('libs/iminPrinterSDK-15_V1.3.2_2411051634.jar')
100+
// implementation files('libs/iminPrinterSDK-15_V1.3.2_2411051634.jar')
101101
implementation 'com.github.iminsoftware:IminPrinterLibrary:V1.0.0.15'
102102
implementation 'com.github.bumptech.glide:glide:4.16.0'
103+
implementation files('libs\\iminPrinterSDK-15_V1.3.2_2505261539.jar')
103104
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
104105
}
105106

android/gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PrinterImin_kotlinVersion=1.7.0
22
PrinterImin_minSdkVersion=21
3-
PrinterImin_targetSdkVersion=31
4-
PrinterImin_compileSdkVersion=31
5-
PrinterImin_ndkversion=21.4.7075529
3+
PrinterImin_targetSdkVersion=34
4+
PrinterImin_compileSdkVersion=34
5+
PrinterImin_ndkversion=23.1.7779620
1008 Bytes
Binary file not shown.
-98.9 KB
Binary file not shown.
26.4 KB
Binary file not shown.
32.6 KB
Binary file not shown.
710 KB
Binary file not shown.

example/android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
buildscript {
44
ext {
5-
buildToolsVersion = "33.0.0"
5+
buildToolsVersion = "34.0.0"
66
minSdkVersion = 21
7-
compileSdkVersion = 33
8-
targetSdkVersion = 33
7+
compileSdkVersion = 34
8+
targetSdkVersion = 34
99

1010
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
1111
ndkVersion = "23.1.7779620"
1212
}
1313
repositories {
1414
google()
1515
mavenCentral()
16-
// maven { url "https://maven.aliyun.com/repository/public" }
17-
// maven { url "https://maven.aliyun.com/repository/central" }
16+
maven { url "https://maven.aliyun.com/repository/public" }
17+
maven { url "https://maven.aliyun.com/repository/central" }
1818
}
1919
dependencies {
2020
classpath("com.android.tools.build:gradle")

example/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Specifies the JVM arguments used for the daemon process.
1111
# The setting is particularly useful for tweaking memory settings.
1212
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13-
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
13+
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m
1414

1515
# When configured, Gradle will run in incubating parallel mode.
1616
# This option should only be used with decoupled projects. More details, visit

example/src/views/v1/index.tsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,33 @@ export default function Home() {
344344
openLogs
345345
</Text>
346346
</Col>
347+
<Col span={12}>
348+
<Text
349+
style={styles.item}
350+
onPress={async () => {
351+
if (open) {
352+
setOpen(!open);
353+
}
354+
await PrinterImin.openLogs(Number(open));
355+
}}
356+
>
357+
openLogs
358+
</Text>
359+
</Col>
360+
361+
<Col span={12}>
362+
<Text
363+
style={styles.item}
364+
onPress={async () => {
365+
if (open) {
366+
setOpen(!open);
367+
}
368+
await PrinterImin.openLogs(Number(open));
369+
}}
370+
>
371+
openLogs
372+
</Text>
373+
</Col>
347374
</Row>
348375
</Card>
349376
</Space>

0 commit comments

Comments
 (0)