Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
195 changes: 190 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,158 @@
# Created by .ignore support plugin (hsz.mobi)
### Example user template template
### Example user template
#
# React
#

# IntelliJ project files
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Keys
*.pem

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# nyc test coverage
.nyc_output

# jest cache
.jest/

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt/

# Bower dependency directory (https://bower.io/)
bower_components/

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
node_modules.nosync/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm/

# Optional yarn cache directory
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# parcel-bundler cache (https://parceljs.org/)
.cache/

# next.js build output
.next/
out/

# vercel
.vercel/

# nuxt.js build output
.nuxt/

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/
.webpack/
.esbuild/
.warmup/

# Serverless Webpack
.build/
build/

# Serverless Warmup Plugin
.warmup/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# dependencies
.pnp/
.pnp.js

#
# React Native
#

# Windows
Thumbs.db

# OSX
.DS_Store

# Xcode
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IntelliJ
.idea
.gradle
local.properties
*.iml
*.log
out
Expand All @@ -12,4 +161,40 @@ examples/node_modules
examples/android/build
examples/android/app/build
examples/android/.gradle
android/build
android/build

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
*.jsbundle

# CocoaPods
/ios/Pods/

# DotEnv
.env
.env.*

# Local Netlify folder
.netlify/

# Vscode plug-in setting
.graphqlrc.yml

# Local notes
.*.md
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ repositories {
}

dependencies {
compile 'com.facebook.react:react-native:[0.55.4,)'
compile "com.google.zxing:core:3.2.1"
}
implementation 'com.facebook.react:react-native:[0.67,)'
implementation "com.google.zxing:core:3.2.1"
}
10 changes: 5 additions & 5 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sunmi.innerprinter">
<application>
<receiver android:name="com.sunmi.innerprinter.PrinterReceiver" android:enabled="true">
<receiver android:name="com.sunmi.innerprinter.PrinterReceiver" android:enabled="true" android:exported="true">
<intent-filter android:priority="1000">
<!-- 缺纸异常 -->
<action android:name="woyou.aidlservice.jiuv5.OUT_OF_PAPER_ACTION" />
<action android:name="woyou.aidlservice.jiuv5.OUT_OF_PAPER_ACTION" />
<!-- 打印错误 -->
<action android:name="woyou.aidlservice.jiuv5.ERROR_ACTION" />
<!-- 可以打印 -->
Expand All @@ -20,7 +20,7 @@
<action android:name="woyou.aidlservice.jiuv5.OVER_HEATING_ACITON" />
<!-- 打印机固件开始升级 -->
<action android:name="woyou.aidlservice.jiuv5.FIRMWARE_UPDATING_ACITON" />
</intent-filter>
</receiver>
</intent-filter>
</receiver>
</application>
</manifest>
</manifest>
Loading