fix: 恢复抖音过期支付并完善原生状态确认
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import { UIApplication } from 'UIKit'
|
||||
import { URL, NSUserActivity } from 'Foundation'
|
||||
import { InitOptions, PayOptions, PayCallback } from '../interface.uts'
|
||||
import { configure, invoke } from '../common.uts'
|
||||
import { configure, invoke, resetPending } from '../common.uts'
|
||||
|
||||
export function resetDypay(): void {
|
||||
resetPending()
|
||||
TbDouyinPayNative.resetPending()
|
||||
}
|
||||
|
||||
export function initDypay(options: InitOptions): boolean {
|
||||
if (options.callbackScheme.trim().length == 0 || !configure(options.appId)) return false
|
||||
|
||||
Reference in New Issue
Block a user