Commit 1c446fc1 authored by jiacheng.mao's avatar jiacheng.mao

演示demo,appid

parent 8e24e948
...@@ -10,6 +10,6 @@ module.exports = { ...@@ -10,6 +10,6 @@ module.exports = {
filePath: '"http://1.116.32.65:18080/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"', filePath: '"http://1.116.32.65:18080/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"',
ocrPath:'"http://1.116.32.65:18080/r/api"', ocrPath:'"http://1.116.32.65:18080/r/api"',
fileUploadSvcPath:'"http://1.116.32.65:18080/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="', fileUploadSvcPath:'"http://1.116.32.65:18080/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.demo"', appId: '"com.xcmg.app.dev"',
currentVersion: '"3.5.9"' currentVersion: '"3.5.9"'
} }
...@@ -10,6 +10,6 @@ module.exports = { ...@@ -10,6 +10,6 @@ module.exports = {
filePath: '"http://1.116.32.65:18080/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"', filePath: '"http://1.116.32.65:18080/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"',
ocrPath:'"http://1.116.32.65:18080/r/api"', ocrPath:'"http://1.116.32.65:18080/r/api"',
fileUploadSvcPath:'"http://1.116.32.65:18080/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="', fileUploadSvcPath:'"http://1.116.32.65:18080/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.demo"', appId: '"com.xcmg.app.dev"',
currentVersion: '"3.5.9"' currentVersion: '"3.5.9"'
} }
...@@ -33,7 +33,7 @@ public class IdCardIdentifyPlugin extends CordovaPlugin { ...@@ -33,7 +33,7 @@ public class IdCardIdentifyPlugin extends CordovaPlugin {
public void initialize(CordovaInterface cordova, CordovaWebView webView) { public void initialize(CordovaInterface cordova, CordovaWebView webView) {
super.initialize(cordova, webView); super.initialize(cordova, webView);
String packageName = cordova.getActivity().getPackageName(); String packageName = cordova.getActivity().getPackageName();
if ("com.xcmg.app.demo".equals(packageName)) { if ("com.xcmg.app.dev".equals(packageName)) {
licenseName = "com.xcmg.app.dev-license.qsign-android"; licenseName = "com.xcmg.app.dev-license.qsign-android";
} else { } else {
licenseName = "com.xcmg.app-license.qsign-android"; licenseName = "com.xcmg.app-license.qsign-android";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment