Skip to content

Commit

Permalink
Merge pull request #12 from kadbbz/dev-1.14.0
Browse files Browse the repository at this point in the history
v1.14.0-release
  • Loading branch information
kadbbz authored Jan 3, 2024
2 parents 70304b9 + 2a209c1 commit 813ad92
Show file tree
Hide file tree
Showing 63 changed files with 31,316 additions and 110 deletions.
28 changes: 14 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ plugins {
}

android {
compileSdk 33
compileSdk 34

defaultConfig {
applicationId "com.huozige.lab.container"
minSdk 26
//noinspection ExpiredTargetSdkVersion
targetSdk 29
targetSdk 29 // 超过29后,文件权限要大改
versionCode 4
versionName '1.13.0-beta2'
versionName '1.14.0-release'

manifestPlaceholders = [
JPUSH_PKGNAME : applicationId,
Expand Down Expand Up @@ -42,20 +42,20 @@ apply plugin: 'com.google.gms.google-services'
apply plugin: "realm-android"

dependencies {
implementation 'com.google.firebase:firebase-analytics:21.3.0'
implementation 'com.google.firebase:firebase-analytics:21.5.0'
implementation 'com.github.getActivity:XXPermissions:18.2'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation files('libs/LPAPI-2021-02-02-R.jar')
implementation 'com.zhihu.android:matisse:0.5.3-beta3'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'com.github.jenly1314:zxing-lite:2.4.0'
implementation 'com.github.david-serrano:locationprovider:1.2'
implementation 'com.alibaba:fastjson:1.1.72.android'
implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
implementation 'commons-io:commons-io:2.6'
implementation 'io.github.chiclaim:downloader:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'cn.jiguang.sdk:jpush:5.2.0'
implementation files('libs/LPAPI-2021-02-02-R.jar') // 德佟打印机
implementation 'com.zhihu.android:matisse:0.5.3-beta3' // 图片选择
implementation 'com.github.bumptech.glide:glide:4.11.0' // matisse依赖
implementation 'com.github.jenly1314:zxing-lite:2.4.0' // 二维码识别
implementation 'com.github.david-serrano:locationprovider:1.2' // 读取GPS
implementation 'com.alibaba:fastjson:1.1.72.android' // JSON处理
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' // 预览PDF
implementation 'cn.jiguang.sdk:jpush:5.2.0' // 极光推送
implementation 'com.github.Jasonchenlijian:FastBle:2.4.0' // BLE设备
}
2 changes: 1 addition & 1 deletion app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"filters": [],
"attributes": [],
"versionCode": 4,
"versionName": "1.13.0-beta1",
"versionName": "1.14.0-release",
"outputFile": "app-release.apk"
}
],
Expand Down
17 changes: 14 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />

<uses-permission android:name="com.huozige.lab.container.permission.JPUSH_MESSAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" /> <!-- 敏感权限 -->
Expand Down Expand Up @@ -61,6 +62,18 @@
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
tools:ignore="UnusedAttribute">
<activity
android:name=".proxy.support.scanner.BleProxy_ReadingActivity"
android:exported="false" />

<receiver
android:name=".utilities.HACFileDownloadedReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
</intent-filter>
</receiver>

<activity
android:name=".ShowErrorActivity"
Expand Down Expand Up @@ -117,9 +130,7 @@
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths_public" />
</provider>

<!-- Since JCore2.0.0 Required SDK核心功能 -->
</provider> <!-- Since JCore2.0.0 Required SDK核心功能 -->
<!-- 可配置android:process参数将Service放在其他进程中;android:enabled属性不能是false -->
<!-- 这个是自定义Service,要继承极光JCommonService,可以在更多手机平台上使得推送通道保持的更稳定 -->
<service
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/forguncy.css

Large diffs are not rendered by default.

208 changes: 208 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/forguncy.js

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/forguncyCalc.js

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/forguncyChart.js

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/importExcel.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/inputMan.css

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/inputMan.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/pvTable.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/spread.css

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions app/src/main/assets/hzg_bundle_cache_9.0.103.0/spread.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
tooltip和dropdown是bootstrap库的一部分
http://www.bootcss.com/

一. JS
在bootstrap代码包中
tooltip.js文件来源:\js\tooltip.js
dropdown.js文件来源:\js\dropdown.js

a. tooltip
在Forguncy,用于显示validation tooltip
为了不干扰用户引用bootstrap库,
在文件中做了如下修改:
1. 注释了// TOOLTIP PLUGIN DEFINITION 部分代码
2. 注释了// TOOLTIP NO CONFLICT 部分代码
3. 将Tooltip类加入Forguncy命名空间
//Add by Forguncy
// ===================
if (Forguncy) {
Forguncy.Tooltip = Tooltip;
}

b. dropdown
在Forguncy,用于current user cell type
为了不干扰用户引用bootstrap库,
在文件中做了如下修改:
1. 注释了// DROPDOWN PLUGIN DEFINITION 部分代码
2. 注释了// DROPDOWN NO CONFLICT 部分代码
3. 将属性值dropdown改为_dropdown
var toggle = '[data-toggle=_dropdown]'

二. CSS
bootstrap.css文件来源:\dist\css\bootstrap.css
css文件删除了与tooltip,dropdown无关部分,并做了如下修改

.tooltip.top .tooltip-arrow {
border-top-color: #000; ->#f00
}

.tooltip.bottom .tooltip-arrow {
border-bottom-color: #000; ->#f00
}
Loading

0 comments on commit 813ad92

Please sign in to comment.