Commit 66cdfdbf by zeven

延长微信支付宝刷脸硬件判断超时时间

parent 10470ce9
{
"name": "zm-face-counter",
"version": "1.0.7",
"version": "1.0.8",
"private": true,
"scripts": {
"android": "react-native run-android",
......
......@@ -40,7 +40,7 @@ class FacePage extends Component {
let storeName = await AsyncStorage.getItem('NAME');
this.setState({contact, storeName});
if (!this.init) {
this.init = await WxFacepay.initialize(3000);
this.init = await WxFacepay.initialize(10000);
if (!this.init) {
// 微信刷脸失败,启动支付宝刷脸
this.init = true;
......
......@@ -44,7 +44,7 @@ class VerticalPage extends Component {
this.setState({contact});
this.storeKey = await AsyncStorage.getItem('KEY');
if (!this.init) {
this.init = await WxFacepay.initialize(3000);
this.init = await WxFacepay.initialize(10000);
if (!this.init) {
// 微信刷脸失败,启动支付宝刷脸
this.init = true;
......
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