Commit f2f2f145 by zeven

修复刷脸authinfo过期问题

parent 3676e06a
{ {
"name": "zm-face-counter", "name": "zm-face-counter",
"version": "1.3.15", "version": "1.3.16",
"private": true, "private": true,
"scripts": { "scripts": {
"android": "react-native run-android", "android": "react-native run-android",
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
"test": "jest", "test": "jest",
"lint": "eslint --ext .js index.js src", "lint": "eslint --ext .js index.js src",
"apk": "cd android && ./gradlew app:assembleRelease && cp ./app/build/outputs/apk/release/app-release.apk ../fcounter.apk", "apk": "cd android && ./gradlew app:assembleRelease && cp ./app/build/outputs/apk/release/app-release.apk ../fcounter.apk",
"android-staging": "code-push release-react ZmFaceCounter-android android -t '1.0.0' --des '1.3.15'", "android-staging": "code-push release-react ZmFaceCounter-android android -t '1.0.0' --des '1.3.16'",
"android-product": "code-push promote ZmFaceCounter-android Staging Production --des '1.3.15'", "android-product": "code-push promote ZmFaceCounter-android Staging Production --des '1.3.16'",
"android-history": "code-push deployment history ZmFaceCounter-android Production", "android-history": "code-push deployment history ZmFaceCounter-android Production",
"android-rollback": "code-push rollback ZmFaceCounter-android Production" "android-rollback": "code-push rollback ZmFaceCounter-android Production"
}, },
......
...@@ -78,7 +78,7 @@ class FacePage extends Component { ...@@ -78,7 +78,7 @@ class FacePage extends Component {
}; };
getAuth(); getAuth();
clearInterval(this.rawinfoInterval); clearInterval(this.rawinfoInterval);
this.rawinfoInterval = setInterval(getAuth, 30 * 60 * 60 * 1000); this.rawinfoInterval = setInterval(getAuth, 30 * 60 * 1000);
} }
} }
const setting = await AutoClick.isSettingsOn(); const setting = await AutoClick.isSettingsOn();
......
...@@ -75,7 +75,7 @@ class VerticalPage extends Component { ...@@ -75,7 +75,7 @@ class VerticalPage extends Component {
}; };
getAuth(); getAuth();
clearInterval(this.rawinfoInterval); clearInterval(this.rawinfoInterval);
this.rawinfoInterval = setInterval(getAuth, 30 * 60 * 60 * 1000); this.rawinfoInterval = setInterval(getAuth, 30 * 60 * 1000);
} }
} }
this.initSetting(); this.initSetting();
......
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