Compare commits

...

7 Commits

Author SHA1 Message Date
CounterFire2023
5b639cf90e update js lib 2024-05-15 17:46:37 +08:00
CounterFire2023
ccf9cbd1d3 add method for generate sharecode 2024-05-15 16:51:19 +08:00
CounterFire2023
f6914db0a1 update js lib 2024-05-10 16:48:13 +08:00
CounterFire2023
f32d2af166 增加email登录 2024-05-10 16:36:02 +08:00
CounterFire2023
6e4dcaeccf update info for fb 2024-04-30 12:38:49 +08:00
CounterFire2023
a9e469aa31 update js lib for last version okx wallet 2024-03-07 19:53:51 +08:00
CounterFire2023
0f58bb0e1a update js lib for last version okx wallet 2024-03-07 19:53:11 +08:00
4 changed files with 69 additions and 64 deletions

File diff suppressed because one or more lines are too long

View File

@ -409,30 +409,30 @@ function verifyEmail(funId, email, code) {
promiseCb(funId, jc.wallet.emailVerifySvr.updateEmailVerify(email, code));
}
/**
* check if email had already been registed
* @param {string} email
*/
function checkEmailExists(funId, email) {
promiseCb(funId, jc.wallet.emailVerifySvr.isEmailRegister(email));
}
/**
* regist with email
* @param {*} email
* @param {*} password
* @param {*} code
*/
function emailRegist(funId, email, password, code) {
promiseCb(funId, jc.wallet.emailVerifySvr.registByEmail(email, password, code));
}
// /**
// * check if email had already been registed
// * @param {string} email
// */
// function checkEmailExists(funId, email) {
// promiseCb(funId, jc.wallet.emailVerifySvr.isEmailRegister(email));
// }
// /**
// * regist with email
// * @param {*} email
// * @param {*} password
// * @param {*} code
// */
// function emailRegist(funId, email, password, code) {
// promiseCb(funId, jc.wallet.emailVerifySvr.registByEmail(email, password, code));
// }
/**
* login with email
* @param {*} email
* @param {*} password
*/
function emailLogin(funId, email, password) {
promiseCb(funId, jc.wallet.emailLogin(email, password));
function emailLogin(funId, email, password, account) {
promiseCb(funId, jc.wallet.emailLogin(email, password, account));
}
/**
@ -851,3 +851,8 @@ function getLocalPassState(funId, key) {
promiseCb(funId, jc.wallet.nativeSvr.passStorageState(key));
}
function createShareCode(funId, type) {
type = parseInt(type || '1');
promiseCb(funId, jc.wallet.generateShareCode(type));
}

View File

@ -29,7 +29,7 @@
android:value="@string/facebook_client_token" />
<provider
android:authorities="com.facebook.app.FacebookContentProvider1204701000119770"
android:authorities="com.facebook.app.FacebookContentProvider927390338872834"
android:name="com.facebook.FacebookContentProvider"
android:exported="true" />
<provider

View File

@ -6,9 +6,9 @@
<string name="default_web_client_id1" translatable="false">53206975661-ih3r0ubph3rqejdq97b029difbrk2bqj.apps.googleusercontent.com</string>
<string name="tips_scan_code" translatable="false"></string>
<string name="facebook_app_id" translatable="false">1204701000119770</string>
<string name="fb_login_protocol_scheme" translatable="false">fb1204701000119770</string>
<string name="facebook_client_token" translatable="false">3e29f2606ae15a99bb3824d2ef1a9d0b</string>
<string name="facebook_app_id" translatable="false">927390338872834</string>
<string name="fb_login_protocol_scheme" translatable="false">fb927390338872834</string>
<string name="facebook_client_token" translatable="false">45a8f9658499222aedd76418f7c33b27</string>
<string name="prompt_info_title" translatable="false">Biometric login for Wallet</string>
<string name="prompt_info_subtitle" translatable="false">Login using your biometric credential</string>