Skip to content

Commit

Permalink
add getEnterOptionsSync
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcuijuan committed Nov 26, 2024
1 parent ee53a4f commit ea6288f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
5 changes: 4 additions & 1 deletion packages/api-proxy/src/platform/api/system/index.ali.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ const getWindowInfo = ENV_OBJ.getWindowInfo || envError('getWindowInfo')

const getLaunchOptionsSync = ENV_OBJ.getLaunchOptionsSync || envError('getLaunchOptionsSync')

const getEnterOptionsSync = ENV_OBJ.getEnterOptionsSync || envError('getEnterOptionsSync')

export {
getSystemInfo,
getSystemInfoSync,
getDeviceInfo,
getWindowInfo,
getLaunchOptionsSync
getLaunchOptionsSync,
getEnterOptionsSync
}
5 changes: 4 additions & 1 deletion packages/api-proxy/src/platform/api/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ const getWindowInfo = ENV_OBJ.getWindowInfo || envError('getWindowInfo')

const getLaunchOptionsSync = ENV_OBJ.getLaunchOptionsSync || envError('getLaunchOptionsSync')

const getEnterOptionsSync = ENV_OBJ.getEnterOptionsSync || envError('getEnterOptionsSync')

export {
getSystemInfo,
getSystemInfoSync,
getDeviceInfo,
getWindowInfo,
getLaunchOptionsSync
getLaunchOptionsSync,
getEnterOptionsSync
}
5 changes: 4 additions & 1 deletion packages/api-proxy/src/platform/api/system/index.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,13 @@ function getSystemInfo (options = {}) {

const getLaunchOptionsSync = envError('getLaunchOptionsSync')

const getEnterOptionsSync = envError('getEnterOptionsSync')

export {
getSystemInfo,
getSystemInfoSync,
getDeviceInfo,
getWindowInfo,
getLaunchOptionsSync
getLaunchOptionsSync,
getEnterOptionsSync
}
8 changes: 7 additions & 1 deletion packages/api-proxy/src/platform/api/system/rnSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,16 @@ const getLaunchOptionsSync = function () {
}
}

const getEnterOptionsSync = function () {
const result = getLaunchOptionsSync()
return result
}

export {
getSystemInfo,
getSystemInfoSync,
getDeviceInfo,
getWindowInfo,
getLaunchOptionsSync
getLaunchOptionsSync,
getEnterOptionsSync
}

0 comments on commit ea6288f

Please sign in to comment.