Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
296e2688
Commit
296e2688
authored
Nov 27, 2023
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios new_sdk 20231127 新版本插件 part1
parent
fac15653
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1407 additions
and
0 deletions
+1407
-0
.gitignore
plugins/cordova-plugin-hand-idcardplugin/.gitignore
+10
-0
README.md
plugins/cordova-plugin-hand-idcardplugin/README.md
+602
-0
img_1.jpg
plugins/cordova-plugin-hand-idcardplugin/image/img_1.jpg
+0
-0
img_2.png
plugins/cordova-plugin-hand-idcardplugin/image/img_2.png
+0
-0
package.json
plugins/cordova-plugin-hand-idcardplugin/package.json
+17
-0
plugin.xml
plugins/cordova-plugin-hand-idcardplugin/plugin.xml
+108
-0
Podfile
plugins/cordova-plugin-hand-idcardplugin/shell/Podfile
+23
-0
Podfile.lock
plugins/cordova-plugin-hand-idcardplugin/shell/Podfile.lock
+79
-0
IdCardPlugin.js
plugins/cordova-plugin-hand-idcardplugin/www/IdCardPlugin.js
+568
-0
No files found.
plugins/cordova-plugin-hand-idcardplugin/.gitignore
0 → 100755
View file @
296e2688
# Android Studio
*.iml
.idea
#.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
.gradle
build/
/local.properties
.DS_Store
plugins/cordova-plugin-hand-idcardplugin/README.md
0 → 100644
View file @
296e2688
This diff is collapsed.
Click to expand it.
plugins/cordova-plugin-hand-idcardplugin/image/img_1.jpg
0 → 100644
View file @
296e2688
123 KB
plugins/cordova-plugin-hand-idcardplugin/image/img_2.png
0 → 100644
View file @
296e2688
259 KB
plugins/cordova-plugin-hand-idcardplugin/package.json
0 → 100644
View file @
296e2688
{
"name"
:
"cordova-plugin-hand-idcardplugin"
,
"version"
:
"0.3.3"
,
"description"
:
""
,
"cordova"
:
{
"id"
:
"cordova-plugin-hand-idcardplugin"
,
"platforms"
:
[
"ios"
,
"android"
]
},
"keywords"
:
[
"ecosystem:cordova"
],
"author"
:
""
,
"license"
:
"ISC"
}
plugins/cordova-plugin-hand-idcardplugin/plugin.xml
0 → 100644
View file @
296e2688
<?xml version='1.0' encoding='utf-8'?>
<plugin
id=
"cordova-plugin-hand-idcardplugin"
version=
"0.3.3"
xmlns=
"http://apache.org/cordova/ns/plugins/1.0"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<name>
IdCardPlugin
</name>
<js-module
name=
"IdCardPlugin"
src=
"www/IdCardPlugin.js"
>
<clobbers
target=
"cordova.plugins.IdCardPlugin"
/>
</js-module>
<!-- android -->
<platform
name=
"android"
>
<!-- 业务类指定 -->
<config-file
target=
"res/xml/config.xml"
parent=
"/*"
>
<feature
name=
"IdCardIdentifyPlugin"
>
<param
name=
"android-package"
value=
"com.xg.idcard.IdCardIdentifyPlugin"
/>
</feature>
</config-file>
<config-file
target=
"config.xml"
parent=
"/*"
>
<!-- QSign 支持的最低 SDK 版本是 21 -->
<preference
name=
"android-minSdkVersion"
value=
"21"
/>
</config-file>
<!-- 需要的android权限 -->
<config-file
target=
"AndroidManifest.xml"
parent=
"/*"
>
<uses-permission
android:name=
"android.permission.CAMERA"
/>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.WRITE_EXTERNAL_STORAGE"
/>
<uses-permission
android:name=
"android.permission.READ_EXTERNAL_STORAGE"
/>
</config-file>
<config-file
target=
"AndroidManifest.xml"
parent=
"/manifest/application"
>
<activity
android:name=
"com.qsign.face.LivenessDetectActivity"
/>
</config-file>
<!-- arr引用 -->
<resource-file
src=
"src/android/lib/jsgzsdk.aar"
target=
"libs/jsgzsdk.aar"
/>
<framework
src=
"src/android/lib/idCard.gradle"
custom=
"true"
type=
"gradleReference"
/>
<source-file
src=
"src/android/java/IdCardIdentifyPlugin.java"
target-dir=
"src/com/xg/idcard/"
/>
<source-file
src=
"src/android/lib/com.xcmg.app.dev-license.qsign-android"
target-dir=
"assets/"
/>
<source-file
src=
"src/android/lib/com.xcmg.app-license.qsign-android"
target-dir=
"assets/"
/>
</platform>
<platform
name=
"ios"
>
<config-file
parent=
"/*"
target=
"config.xml"
>
<feature
name=
"IdCardIdentifyPlugin"
>
<param
name=
"ios-package"
value=
"IdCardIdentifyCordova"
/>
</feature>
</config-file>
<!-- 第三方库依赖 -->
<config-file
target=
"*-Info.plist"
parent=
"NSCameraUsageDescription"
>
<string>
亲,我们需要访问您的相机,用于拍摄人脸、身份证等照片
</string>
</config-file>
<config-file
target=
"*-Info.plist"
parent=
"NSFaceIDUsageDescription"
>
<string>
需要设备访问Face ID,用于校验权限
</string>
</config-file>
<config-file
target=
"*-Info.plist"
parent=
"NSMicrophoneUsageDescription"
>
<string>
亲,我们需要访问您的麦克风,用于录制视频
</string>
</config-file>
<config-file
target=
"*-Info.plist"
parent=
"NSPhotoLibraryUsageDescription"
>
<string>
亲,我们需要访问您的相册,用于提供图片素材
</string>
</config-file>
<!-- <config-file target="*-Info.plist" parent="NSPhotoLibraryAddUsageDescription">
<string>亲,我们需要访问您的相册,用于提供图片素材</string>
</config-file> -->
<header-file
src=
"src/ios/IdCardIdentifyCordova.h"
target-dir=
"."
/>
<source-file
src=
"src/ios/IdCardIdentifyCordova.m"
target-dir=
"."
/>
<!-- <framework src="CoreBluetooth.framework" weak="true"/> -->
<framework
src=
"src/ios/QsignSDK/QsignFaceSDK.framework"
custom=
"true"
embed=
"true"
/>
<framework
src=
"src/ios/QsignSDK/QsignNotarySDK.framework"
custom=
"true"
embed=
"true"
/>
<framework
src=
"src/ios/QsignSDK/QsignSafeSDK.framework"
custom=
"true"
embed=
"true"
/>
<!-- <source-file src="src/ios/QsignSDK/com.xcmg.app-license.qsign-ios" target-dir="."/>
<source-file src="src/ios/QsignSDK/com.xcmg.app.dev-license.qsign-ios" target-dir="."/> -->
<resource-file
src=
"src/ios/QsignSDK/com.xcmg.app-license.qsign-ios"
target-dir=
"res/com.xcmg.app-license.qsign-ios"
/>
<resource-file
src=
"src/ios/QsignSDK/com.xcmg.app.dev-license.qsign-ios"
target-dir=
"res/om.xcmg.app.dev-license.qsign-ios"
/>
<resource-file
src=
"src/ios/QsignSDK/com.cn.weslink.qsign.jsgzdemo-license.qsign-ios"
target-dir=
"res/om.xcmg.app.dev-license.qsign-ios"
/>
<!-- 3.0 4 required cordova 6.4.0
<framework src="src/ios/AFNetworking.framework" custom="true" embed="true" />
-->
<!-- 使用热更新插件中的 AFNetworkingFramwork.framework -->
<!-- 当单独使用时 放开 以下内容 -->
</platform>
</plugin>
plugins/cordova-plugin-hand-idcardplugin/shell/Podfile
0 → 100644
View file @
296e2688
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
source
'https://github.com/CocoaPods/Specs.git'
platform
:ios
,
'9.0'
# target 名称请根据实际情况替换
target
'徐工金服'
do
# use_frameworks!
# Pods for 徐工金服
pod
'AFNetworking'
,
'~> 3.2'
pod
'SDWebImage'
pod
'Masonry'
pod
'WebViewJavascriptBridge'
pod
'IQKeyboardManager'
pod
'ReactiveCocoa'
,
:tag
=>
'2.5.2'
,
:git
=>
'https://github.com/zhao0/ReactiveCocoa.git'
pod
'SVProgressHUD'
pod
'YYText'
pod
'YYModel'
end
plugins/cordova-plugin-hand-idcardplugin/shell/Podfile.lock
0 → 100644
View file @
296e2688
PODS:
- AFNetworking (3.2.1):
- AFNetworking/NSURLSession (= 3.2.1)
- AFNetworking/Reachability (= 3.2.1)
- AFNetworking/Security (= 3.2.1)
- AFNetworking/Serialization (= 3.2.1)
- AFNetworking/UIKit (= 3.2.1)
- AFNetworking/NSURLSession (3.2.1):
- AFNetworking/Reachability
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/Reachability (3.2.1)
- AFNetworking/Security (3.2.1)
- AFNetworking/Serialization (3.2.1)
- AFNetworking/UIKit (3.2.1):
- AFNetworking/NSURLSession
- IQKeyboardManager (6.5.6)
- Masonry (1.1.0)
- ReactiveCocoa (2.5.2):
- ReactiveCocoa/UI (= 2.5.2)
- ReactiveCocoa/Core (2.5.2):
- ReactiveCocoa/no-arc
- ReactiveCocoa/no-arc (2.5.2)
- ReactiveCocoa/UI (2.5.2):
- ReactiveCocoa/Core
- SDWebImage (5.10.4):
- SDWebImage/Core (= 5.10.4)
- SDWebImage/Core (5.10.4)
- SVProgressHUD (2.2.5)
- WebViewJavascriptBridge (6.0.3)
- YYModel (1.0.4)
- YYText (1.0.7)
DEPENDENCIES:
- AFNetworking (~> 3.2)
- IQKeyboardManager
- Masonry
- ReactiveCocoa (from `https://github.com/zhao0/ReactiveCocoa.git`, tag `2.5.2`)
- SDWebImage
- SVProgressHUD
- WebViewJavascriptBridge
- YYModel
- YYText
SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
- AFNetworking
- IQKeyboardManager
- Masonry
- SDWebImage
- SVProgressHUD
- WebViewJavascriptBridge
- YYModel
- YYText
EXTERNAL SOURCES:
ReactiveCocoa:
:git: https://github.com/zhao0/ReactiveCocoa.git
:tag: 2.5.2
CHECKOUT OPTIONS:
ReactiveCocoa:
:git: https://github.com/zhao0/ReactiveCocoa.git
:tag: 2.5.2
SPEC CHECKSUMS:
AFNetworking: b6f891fdfaed196b46c7a83cf209e09697b94057
IQKeyboardManager: 2a6e97afdafc7becf0cb17a9a8d795e3a980717f
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
ReactiveCocoa: 3ff25b1bd992ac79c5c79b26b6c0c1713b715bb2
SDWebImage: c666b97e1fa9c64b4909816a903322018f0a9c84
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
WebViewJavascriptBridge: 7f5bc4d3581e672e8f32bd0f812d54bc69bb8e29
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30
YYText: 5c461d709e24d55a182d1441c41dc639a18a4849
PODFILE CHECKSUM: ca15293d26dc0ea9890d27e3b12a8e154aa4ee56
COCOAPODS: 1.10.1
plugins/cordova-plugin-hand-idcardplugin/www/IdCardPlugin.js
0 → 100644
View file @
296e2688
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment