Skip to content

Commit

Permalink
update ios sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry committed Apr 30, 2020
1 parent 462ff4c commit c4bc31f
Show file tree
Hide file tree
Showing 14 changed files with 154 additions and 5 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "JG-JVerification",
"id": "JG-JVerification",
"version": "1.2.0",
"version": "1.0.5",
"description": "极光认证Hbuilder插件",
"_dp_type":"nativeplugin",
"_dp_nativeplugin":{
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

116 changes: 116 additions & 0 deletions UniPlugin-JVerification-Android/.idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions UniPlugin-JVerification-Android/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions UniPlugin-JVerification-Android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions UniPlugin-JVerification-Android/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ require('app.js');
__wxRoute = 'pages/index/index';__wxRouteBegin = true;__wxAppCurrentFile__ = 'pages/index/index.js';

define('pages/index/index.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"0361":function(t,i,n){"use strict";n.r(i);var o=n("b96b"),e=n("2c74");for(var s in e)"default"!==s&&function(t){n.d(i,t,function(){return e[t]})}(s);n("15ab");var a,c=n("f0c5"),r=Object(c["a"])(e["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);i["default"]=r.exports},"15ab":function(t,i,n){"use strict";var o=n("d95a"),e=n.n(o);e.a},"2c74":function(t,i,n){"use strict";n.r(i);var o=n("b5e2"),e=n.n(o);for(var s in o)"default"!==s&&function(t){n.d(i,t,function(){return o[t]})}(s);i["default"]=e.a},a1b7:function(t,i,n){"use strict";(function(t){n("25aa"),n("921b");o(n("66fd"));var i=o(n("0361"));function o(t){return t&&t.__esModule?t:{default:t}}t(i.default)}).call(this,n("6e42")["createPage"])},b5e2:function(t,i,n){"use strict";(function(t,n){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=t.requireNativePlugin("JG-JVerification"),e={data:function(){return{title:"Hello",msg:"",jv:o}},onLoad:function(){},methods:{debug:function(){this.jv.setDebugMode(!0)},init:function(){var t=this;t.jv.init({timeout:7e3,isProduction:!1},function(i){t.showModal("init",JSON.stringify(i))})},isInitSuccess:function(){var t=this;t.jv.isInitSuccess(function(i){t.showModal("isInitSuccess",JSON.stringify(i))})},checkVerifyEnable:function(){var t=this;t.jv.checkVerifyEnable(function(i){t.showModal("checkVerifyEnable",JSON.stringify(i))})},getToken:function(){var t=this;t.jv.getToken(5e3,function(i){t.showModal("getToken",JSON.stringify(i))})},preLogin:function(){var t=this;t.jv.preLogin(5e3,function(i){t.showModal("preLogin",JSON.stringify(i))})},clearPreLoginCache:function(){this.jv.clearPreLoginCache()},loginAuth:function(){var t=this;t.jv.loginAuth({autoFinish:!0,timeout:5e3},function(i){t.showModal("loginAuth",JSON.stringify(i))},function(t){n("log","loginAuthevent:"+JSON.stringify(t)," at pages/index/index.vue:89")})},setCustomUIWithConfig:function(){var i=this;this.jv.addCustomViewsClickCallback(function(t){i.showModal("customViewclick","id:"+t)}),"ios"==t.getSystemInfoSync().platform?this.jv.setCustomUIWithConfigiOS({navColor:4278190080,logBtnText:"极光认证测试",privacyState:!0,appPrivacyColor:[4278190592,4278190080],addCustomViews:[{type:"label",width:120,height:20,top:320,left:100,backgroundColor:4286277870,text:"自定义label",textFont:20,textAlignment:15,numberOfLines:2,cornerRadius:10,textColor:4278190080},{type:"button",id:"buttonTest",width:80,height:44,textColor:16761035,cornerRadius:22,left:50,bottom:-100,title:"点击测试"},{type:"imageView",width:50,height:50,cornerRadius:25,right:-100,bottom:-100,imagePath:"static/qq.png"}]}):(this.jv.addCustomViewsClickCallback(function(t){i.showModal("customViewclick","id:"+t)}),this.jv.setCustomUIWithConfigAndroid({setNavColor:4278190080,setLogBtnText:" 极光认证测试 ",setPrivacyState:!1,setAppPrivacyColor:[4278251520,4278190080],addCustomViews:[{type:"text",finishFlag:!1,id:"id1",width:100,height:50,text:"自定义tv",textSize:20,align:15,margins:[0,100,0,0],bgColor:4286277870},{type:"image",finishFlag:!0,id:"id2",width:50,height:50,align:13,margins:[0,0,0,0],bgImgPath:"static/qq.png"}]}))},setCustomDialog:function(){"ios"==t.getSystemInfoSync().platform?this.jv.setCustomUIWithConfigiOS({navCustom:!0,autoLayout:!0,showWindow:!0,windowConstraints:[0,0,300,300],windowBackgroundAlpha:.3,logoImg:"static/logo.png",logoConstraints:[0,-100,60,60],numberConstraints:[0,-42,200,14],sloganConstraints:[0,-20,200,14],logBtnConstraints:[0,20,220,40],logBtnText:"一键登录",logBtnTextColor:255,windowCornerRadius:10,privacyConstraints:[0,100,200,40],checkViewConstraints:[-108,100,10,10],windowCloseBtnConstraints:[-135,-135,20,20],loadingConstraints:[0,0,20,20],windowCloseBtnImgs:["static/windowClose","static/windowClose"],windowBackgroundImage:"static/bg.jpeg"}):this.jv.setCustomUIWithConfigAndroid({setNavColor:4278190080,setLogBtnText:" 极光认证测试 ",setPrivacyState:!1,setAppPrivacyColor:[4278251520,4278190080],setDialogTheme:[300,400,0,0,!1]})},showModal:function(i,n){t.showModal({title:i,content:n}),this.msg="".concat(i," :").concat(n)},getCode:function(){var t=this;t.jv.getCode({phoneNumber:"18925247365",signID:"13649",templateID:"1"},function(i){t.showModal("getCode",JSON.stringify(i))},function(t){n("log","getCodeEvent:"+JSON.stringify(t)," at pages/index/index.vue:230")})},setTimeWithConfig:function(){this.jv.setTimeWithConfig(1e3)}}};i.default=e}).call(this,n("6e42")["default"],n("0de9")["default"])},b96b:function(t,i,n){"use strict";var o,e=function(){var t=this,i=t.$createElement;t._self._c},s=[];n.d(i,"b",function(){return e}),n.d(i,"c",function(){return s}),n.d(i,"a",function(){return o})},d95a:function(t,i,n){}},[["a1b7","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"0361":function(t,i,n){"use strict";n.r(i);var o=n("26ae"),e=n("2c74");for(var s in e)"default"!==s&&function(t){n.d(i,t,function(){return e[t]})}(s);n("15ab");var a,c=n("f0c5"),r=Object(c["a"])(e["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);i["default"]=r.exports},"15ab":function(t,i,n){"use strict";var o=n("d95a"),e=n.n(o);e.a},"26ae":function(t,i,n){"use strict";var o,e=function(){var t=this,i=t.$createElement;t._self._c},s=[];n.d(i,"b",function(){return e}),n.d(i,"c",function(){return s}),n.d(i,"a",function(){return o})},"2c74":function(t,i,n){"use strict";n.r(i);var o=n("b5e2"),e=n.n(o);for(var s in o)"default"!==s&&function(t){n.d(i,t,function(){return o[t]})}(s);i["default"]=e.a},a1b7:function(t,i,n){"use strict";(function(t){n("25aa"),n("921b");o(n("66fd"));var i=o(n("0361"));function o(t){return t&&t.__esModule?t:{default:t}}t(i.default)}).call(this,n("6e42")["createPage"])},b5e2:function(t,i,n){"use strict";(function(t,n){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=t.requireNativePlugin("JG-JVerification"),e={data:function(){return{title:"Hello",msg:"",jv:o}},onLoad:function(){},methods:{debug:function(){this.jv.setDebugMode(!0)},init:function(){var t=this;t.jv.init({timeout:7e3,isProduction:!1},function(i){t.showModal("init",JSON.stringify(i))})},isInitSuccess:function(){var t=this;t.jv.isInitSuccess(function(i){t.showModal("isInitSuccess",JSON.stringify(i))})},checkVerifyEnable:function(){var t=this;t.jv.checkVerifyEnable(function(i){t.showModal("checkVerifyEnable",JSON.stringify(i))})},getToken:function(){var t=this;t.jv.getToken(5e3,function(i){t.showModal("getToken",JSON.stringify(i))})},preLogin:function(){var t=this;t.jv.preLogin(5e3,function(i){t.showModal("preLogin",JSON.stringify(i))})},clearPreLoginCache:function(){this.jv.clearPreLoginCache()},loginAuth:function(){var t=this;t.jv.loginAuth({autoFinish:!0,timeout:5e3},function(i){t.showModal("loginAuth",JSON.stringify(i))},function(t){n("log","loginAuthevent:"+JSON.stringify(t)," at pages/index/index.vue:89")})},setCustomUIWithConfig:function(){var i=this;this.jv.addCustomViewsClickCallback(function(t){i.showModal("customViewclick","id:"+t)}),"ios"==t.getSystemInfoSync().platform?this.jv.setCustomUIWithConfigiOS({navColor:4278190080,logBtnText:"极光认证测试",privacyState:!0,appPrivacyColor:[4278190592,4278190080],addCustomViews:[{type:"label",width:120,height:20,top:320,left:100,backgroundColor:4286277870,text:"自定义label",textFont:20,textAlignment:15,numberOfLines:2,cornerRadius:10,textColor:4278190080},{type:"button",id:"buttonTest",width:80,height:44,textColor:16761035,cornerRadius:22,left:50,bottom:-100,title:"点击测试"},{type:"imageView",width:50,height:50,cornerRadius:25,right:-100,bottom:-100,imagePath:"static/qq.png"}]}):(this.jv.addCustomViewsClickCallback(function(t){i.showModal("customViewclick","id:"+t)}),this.jv.setCustomUIWithConfigAndroid({setNavColor:4278190080,setLogBtnText:" 极光认证测试 ",setPrivacyState:!1,setAppPrivacyColor:[4278251520,4278190080],addCustomViews:[{type:"text",finishFlag:!1,id:"id1",width:100,height:50,text:"自定义tv",textSize:20,align:15,margins:[0,100,0,0],bgColor:4286277870},{type:"image",finishFlag:!0,id:"id2",width:50,height:50,align:13,margins:[0,0,0,0],bgImgPath:"static/qq.png"}]}))},setCustomDialog:function(){"ios"==t.getSystemInfoSync().platform?this.jv.setCustomUIWithConfigiOS({navCustom:!0,autoLayout:!0,showWindow:!0,windowConstraints:[0,0,300,300],windowBackgroundAlpha:.3,logoImg:"static/logo.png",logoConstraints:[0,-100,60,60],numberConstraints:[0,-42,200,14],sloganConstraints:[0,-20,200,14],logBtnConstraints:[0,20,220,40],logBtnText:"一键登录",logBtnTextColor:255,windowCornerRadius:10,privacyConstraints:[0,100,200,40],checkViewConstraints:[-108,100,10,10],windowCloseBtnConstraints:[-135,-135,20,20],loadingConstraints:[0,0,20,20],windowCloseBtnImgs:["static/windowClose","static/windowClose"],windowBackgroundImage:"static/bg.jpeg"}):this.jv.setCustomUIWithConfigAndroid({setNavColor:4278190080,setLogBtnText:" 极光认证测试 ",setPrivacyState:!1,setAppPrivacyColor:[4278251520,4278190080],setDialogTheme:[300,400,0,0,!1]})},showModal:function(i,n){t.showModal({title:i,content:n}),this.msg="".concat(i," :").concat(n)},getCode:function(){var t=this;t.jv.getCode({phoneNumber:"13148755389",signID:"13649",templateID:"1"},function(i){t.showModal("getCode",JSON.stringify(i))},function(t){n("log","getCodeEvent:"+JSON.stringify(t)," at pages/index/index.vue:230")})},setTimeWithConfig:function(){this.jv.setTimeWithConfig(1e3)}}};i.default=e}).call(this,n("6e42")["default"],n("0de9")["default"])},d95a:function(t,i,n){}},[["a1b7","common/runtime","common/vendor"]]]);
});
require('pages/index/index.js');
;(function(global) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../../SDK/inc\"/**";
INFOPLIST_FILE = UniPluginJVerification/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -315,6 +316,7 @@
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../../SDK/inc\"/**";
INFOPLIST_FILE = UniPluginJVerification/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion nativeplugins/JG-JVerification/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "JG-JVerification",
"id": "JG-JVerification",
"version": "1.2.0",
"version": "1.0.5",
"description": "极光认证Hbuilder插件",
"_dp_type":"nativeplugin",
"_dp_nativeplugin":{
Expand Down

0 comments on commit c4bc31f

Please sign in to comment.