Skip to content

Commit

Permalink
feat: Remove cordova methods from cozy-device-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
zatteo committed Dec 13, 2024
1 parent b2a8ba1 commit ae6a50c
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 450 deletions.
3 changes: 0 additions & 3 deletions packages/cozy-device-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
"bugs": {
"url": "https://github.com/cozy/cozy-libs/issues"
},
"dependencies": {
"lodash": "^4.17.19"
},
"devDependencies": {
"@babel/cli": "7.16.8",
"@babel/core": "7.16.12",
Expand Down
28 changes: 0 additions & 28 deletions packages/cozy-device-helper/src/apps.spec.ts

This file was deleted.

136 changes: 0 additions & 136 deletions packages/cozy-device-helper/src/apps.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/cozy-device-helper/src/cordova.ts

This file was deleted.

37 changes: 0 additions & 37 deletions packages/cozy-device-helper/src/device.ts

This file was deleted.

67 changes: 0 additions & 67 deletions packages/cozy-device-helper/src/index.spec.ts

This file was deleted.

21 changes: 1 addition & 20 deletions packages/cozy-device-helper/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
export {
getPlatform,
isIOSApp,
isAndroidApp,
isWebApp,
isMobileApp,
isAndroid,
isIOS,
isMobile
} from './platform'
export { getDeviceName } from './device'
export { checkApp, startApp } from './apps'
export {
hasDevicePlugin,
hasInAppBrowserPlugin,
hasSafariPlugin,
hasNetworkInformationPlugin
} from './plugins'
export { isCordova } from './cordova'
export { isAndroid, isIOS, isMobile } from './platform'

export { nativeLinkOpen } from './link'
export { openDeeplinkOrRedirect } from './deeplink'

export {
Expand Down
30 changes: 0 additions & 30 deletions packages/cozy-device-helper/src/link.ts

This file was deleted.

40 changes: 0 additions & 40 deletions packages/cozy-device-helper/src/platform.spec.ts

This file was deleted.

Loading

0 comments on commit ae6a50c

Please sign in to comment.