Skip to content

Commit 52c0f39

Browse files
committed
backup
1 parent e98f828 commit 52c0f39

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

JVerification_Hbuilder_Demo/manifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
"nativePlugins" : {
5555
"JG-JVerification" : {
5656
"JPUSH_APPKEY_IOS" : "",
57-
"JPUSH_CHANNEL_ANDROID" : "",
58-
"JPUSH_APPKEY_ANDROID" : "",
57+
"JPUSH_CHANNEL_ANDROID" : "3bc7fe126f892557a954aa07",
58+
"JPUSH_APPKEY_ANDROID" : "3bc7fe126f892557a954aa07",
5959
"JPUSH_CHANNEL_IOS" : "",
6060
"__plugin_info__" : {
6161
"name" : "JG-JVerification",

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
[极光认证](https://www.jiguang.cn/) 官方支持的 Hbuilder 插件(Android & iOS)。是基于 HBuilder 提供的 [uni-app 原生插件扩展](https://ask.dcloud.net.cn/article/35428) 进而开发出的认证插件。开发者可以轻松将极光认证集成到自己的项目中,从而在 js 层实现对认证的控制。
44

5+
## uniapp插件市场地址
6+
[极光认证官方SDK](https://ext.dcloud.net.cn/plugin?id=1356)
7+
58
## 接入
69
- 1.将 nativeplugins/JIGUANG-JVerification 导入项目对应位置。
710
- 2.项目 manifest.json 中接入 JIGUANG-JVerification 插件。并配置好 appkey([极光 portal]() 注册分配),channel 信息。

UniPlugin-JVerification-Android/uniplugin_jverification/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ repositories {
3131

3232
dependencies {
3333
// 正式打包时[gradle-->:uniplugin_jverification->assembleRelease] ,请将 implementation 改为 compileOnly。
34-
compileOnly fileTree(include: ['*.jar'], dir: 'libs')
35-
compileOnly fileTree(include: ['uniapp-release.aar'], dir: '../app/libs')
34+
implementation fileTree(include: ['*.jar'], dir: 'libs')
35+
implementation fileTree(include: ['uniapp-release.aar'], dir: '../app/libs')
3636
compileOnly 'com.android.support:recyclerview-v7:25.3.1'
3737
compileOnly 'com.android.support:support-v4:25.3.1'
3838
compileOnly 'com.android.support:appcompat-v7:25.3.1'
39-
compileOnly 'com.alibaba:fastjson:1.1.46.android'
39+
implementation 'com.alibaba:fastjson:1.1.46.android'
4040
compileOnly 'com.facebook.fresco:fresco:0.12.0'
4141
/*implementation 'com.android.support:appcompat-v7:28.0.0'
4242
testImplementation 'junit:junit:4.12'

UniPlugin-JVerification-iOS/HBuilder-uniPluginDemo/HBuilder-uniPlugin.xcodeproj/project.pbxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -1493,8 +1493,8 @@
14931493
ARCHS = "$(ARCHS_STANDARD)";
14941494
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
14951495
CLANG_ENABLE_OBJC_ARC = YES;
1496-
CODE_SIGN_IDENTITY = "Apple Development";
1497-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
1496+
CODE_SIGN_IDENTITY = "Apple Development: 旭东 饶 (N62595JLRL)";
1497+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development: 旭东 饶 (N62595JLRL)";
14981498
CODE_SIGN_STYLE = Automatic;
14991499
DEVELOPMENT_TEAM = 8X2A38Q9VD;
15001500
ENABLE_BITCODE = NO;
@@ -1524,7 +1524,7 @@
15241524
);
15251525
MACH_O_TYPE = mh_execute;
15261526
OTHER_LDFLAGS = "-ObjC";
1527-
PRODUCT_BUNDLE_IDENTIFIER = com.jiguang.verification;
1527+
PRODUCT_BUNDLE_IDENTIFIER = io.jiguang.hxhg;
15281528
PRODUCT_NAME = "$(TARGET_NAME)";
15291529
PROVISIONING_PROFILE = "a7e03077-46db-4b91-b0c4-20fd613c1e14";
15301530
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1540,9 +1540,9 @@
15401540
ARCHS = "$(ARCHS_STANDARD)";
15411541
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
15421542
CLANG_ENABLE_OBJC_ARC = YES;
1543-
CODE_SIGN_IDENTITY = "Apple Development";
1544-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: HeXunHuaGu Information Technology Co.,Ltd.";
1545-
CODE_SIGN_STYLE = Manual;
1543+
CODE_SIGN_IDENTITY = "Apple Development: 旭东 饶 (N62595JLRL)";
1544+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development: 旭东 饶 (N62595JLRL)";
1545+
CODE_SIGN_STYLE = Automatic;
15461546
DEVELOPMENT_TEAM = "";
15471547
ENABLE_BITCODE = NO;
15481548
FRAMEWORK_SEARCH_PATHS = (

0 commit comments

Comments
 (0)