import { init as initLock } from '@ray-js/lock-sdk';
async onLaunch(object: any) {
devices.common.init();
// 初始化门锁 sdk
initLock({
passwordDigitalBase: 10,
passwordSupportZero: true,
strictMode: false,
});
devices.common.onInitialized(device => dpKit.init(device));
const systemInfo = getSystemInfoSync();
const { theme } = systemInfo;
dispatch(initializeSystemInfo(systemInfo));
dispatch(updateThemeType(theme));
}