@munchi_oy/react-native-epson-printer 1.0.0
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 +223 -0
- package/android/build.gradle +34 -0
- package/android/consumer-rules.pro +0 -0
- package/android/libs/ePOS2.jar +0 -0
- package/android/src/main/AndroidManifest.xml +17 -0
- package/android/src/main/java/com/munchiepsonprinter/MunchiEpsonModule.java +1212 -0
- package/android/src/main/java/com/munchiepsonprinter/MunchiPrinterPackage.java +24 -0
- package/android/src/main/jniLibs/arm64-v8a/libepos2.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libepos2.so +0 -0
- package/android/src/main/jniLibs/x86/libepos2.so +0 -0
- package/android/src/main/jniLibs/x86_64/libepos2.so +0 -0
- package/dist/config.d.ts +14 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/epson/constants.d.ts +124 -0
- package/dist/epson/constants.d.ts.map +1 -0
- package/dist/epson/discovery.d.ts +14 -0
- package/dist/epson/discovery.d.ts.map +1 -0
- package/dist/epson/driver.d.ts +26 -0
- package/dist/epson/driver.d.ts.map +1 -0
- package/dist/epson/errors.d.ts +8 -0
- package/dist/epson/errors.d.ts.map +1 -0
- package/dist/epson/eventRouter.d.ts +23 -0
- package/dist/epson/eventRouter.d.ts.map +1 -0
- package/dist/epson/mapper.d.ts +22 -0
- package/dist/epson/mapper.d.ts.map +1 -0
- package/dist/epson/modelUtils.d.ts +16 -0
- package/dist/epson/modelUtils.d.ts.map +1 -0
- package/dist/epson/native.d.ts +21 -0
- package/dist/epson/native.d.ts.map +1 -0
- package/dist/epson/payloadMapper.d.ts +7 -0
- package/dist/epson/payloadMapper.d.ts.map +1 -0
- package/dist/epson/queueController.d.ts +15 -0
- package/dist/epson/queueController.d.ts.map +1 -0
- package/dist/epson/recoveryController.d.ts +15 -0
- package/dist/epson/recoveryController.d.ts.map +1 -0
- package/dist/epson/sessionManager.d.ts +11 -0
- package/dist/epson/sessionManager.d.ts.map +1 -0
- package/dist/errorResolver.d.ts +15 -0
- package/dist/errorResolver.d.ts.map +1 -0
- package/dist/errors.d.ts +23 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.mjs +11 -0
- package/dist/react/PrinterProvider.d.ts +19 -0
- package/dist/react/PrinterProvider.d.ts.map +1 -0
- package/dist/react/usePrinterStatus.d.ts +12 -0
- package/dist/react/usePrinterStatus.d.ts.map +1 -0
- package/dist/types.d.ts +123 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/errorUtils.d.ts +3 -0
- package/dist/utils/errorUtils.d.ts.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/ios/MunchiPrinter-Bridging-Header.h +4 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/Info.plist +48 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeResources +398 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/dSYMs/libepos2.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/dSYMs/libepos2.framework.dSYM/Contents/Resources/DWARF/libepos2 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/dSYMs/libepos2.framework.dSYM/Contents/Resources/Relocations/aarch64/libepos2.yml +5177 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Headers/ePOS2.h +1809 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Headers/libepos2.h +13 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Info.plist +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Modules/module.modulemap +6 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/PrivacyInfo.xcprivacy +31 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/libepos2 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Resources/DWARF/libepos2 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Resources/Relocations/aarch64/libepos2.yml +5177 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Resources/Relocations/x86_64/libepos2.yml +5062 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Headers/ePOS2.h +1809 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Headers/libepos2.h +13 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Info.plist +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Modules/module.modulemap +6 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/PrivacyInfo.xcprivacy +31 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/_CodeSignature/CodeResources +146 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/libepos2 +0 -0
- package/ios/Vendors/Epson/MunchiEpsonModule.m +35 -0
- package/ios/Vendors/Epson/MunchiEpsonModule.swift +455 -0
- package/munchi-printer.podspec +22 -0
- package/package.json +59 -0
- package/react-native.config.js +12 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
|
+
|
|
5
|
+
Pod::Spec.new do |s|
|
|
6
|
+
s.name = "munchi-printer"
|
|
7
|
+
s.version = package["version"]
|
|
8
|
+
s.summary = package["description"]
|
|
9
|
+
s.homepage = "https://github.com/munchi/js-sdk"
|
|
10
|
+
s.license = package["license"]
|
|
11
|
+
s.authors = package["author"]
|
|
12
|
+
|
|
13
|
+
s.platforms = { :ios => "13.0" }
|
|
14
|
+
s.source = { :git => "https://github.com/munchi/js-sdk.git", :tag => "#{s.version}" }
|
|
15
|
+
|
|
16
|
+
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
17
|
+
|
|
18
|
+
s.dependency "React-Core"
|
|
19
|
+
|
|
20
|
+
# Link Epson SDK
|
|
21
|
+
s.vendored_frameworks = 'ios/Vendors/Epson/Frameworks/libepos2.xcframework'
|
|
22
|
+
end
|
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@munchi_oy/react-native-epson-printer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Munchi Printer SDK Bridge",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"react-native": "./dist/index.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"react-native": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.mjs",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"android",
|
|
20
|
+
"ios",
|
|
21
|
+
"munchi-printer.podspec",
|
|
22
|
+
"react-native.config.js",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"clean": "rm -rf dist",
|
|
27
|
+
"version:sync": "node scripts/sync-version.mjs",
|
|
28
|
+
"build:runtime": "pnpm exec tsup",
|
|
29
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
30
|
+
"build": "npm run clean && npm run version:sync && npm run build:runtime && npm run build:types",
|
|
31
|
+
"dev": "pnpm exec tsup --watch",
|
|
32
|
+
"test": "jest",
|
|
33
|
+
"yalc:publish": "pnpm build && yalc publish --push",
|
|
34
|
+
"release": "bash scripts/release.sh",
|
|
35
|
+
"publish:npm": "bash scripts/publish-npm.sh",
|
|
36
|
+
"prepublishOnly": "npm run build"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"react-native",
|
|
40
|
+
"ios",
|
|
41
|
+
"android",
|
|
42
|
+
"printer",
|
|
43
|
+
"epson"
|
|
44
|
+
],
|
|
45
|
+
"author": "Munchi Oy",
|
|
46
|
+
"license": "UNLICENSED",
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@tsconfig/react-native": "^3.0.0",
|
|
49
|
+
"@types/jest": "^29.2.1",
|
|
50
|
+
"@types/react": "^18.3.0",
|
|
51
|
+
"@types/react-test-renderer": "^18.0.0",
|
|
52
|
+
"jest": "^29.2.1",
|
|
53
|
+
"react": "^18.3.0",
|
|
54
|
+
"react-native": "0.76.9",
|
|
55
|
+
"react-test-renderer": "18.1.0",
|
|
56
|
+
"tsup": "^8.5.1",
|
|
57
|
+
"typescript": "^5.0.0"
|
|
58
|
+
}
|
|
59
|
+
}
|