lib/app_info/const.rb in app-info-3.1.4 vs lib/app_info/const.rb in app-info-3.2.0.beta1
- old
+ new
@@ -21,10 +21,15 @@
APK = :apk
AAB = :aab
PROGUARD = :proguard
+ # HarmonyOS
+
+ HAP = :hap
+ HAPP = :app
+
# Windows
PE = :pe
UNKNOWN = :unknown
@@ -33,47 +38,72 @@
# Manufacturer
module Manufacturer
APPLE = :apple
GOOGLE = :google
MICROSOFT = :microsoft
+ HUAWEI = :huawei
end
# Platform
module Platform
MACOS = :macos
IOS = :ios
ANDROID = :android
APPLETV = :appletv
WINDOWS = :windows
+ HARMONYOS = :harmonyos
end
- # Apple Device Type
+ # Device Type
module Device
- # macOS
- MACOS = :macos
+ module Apple
+ # macOS
+ MACOS = :macos
- # Apple iPhone
- IPHONE = :iphone
- # Apple iPad
- IPAD = :ipad
- # Apple Universal (iPhone and iPad)
- UNIVERSAL = :universal
- # Apple TV
- APPLETV = :appletv
- # Apple Watch (TODO: not implemented yet)
- IWATCH = :iwatch
+ # Apple iPhone
+ IPHONE = :iphone
+ # Apple iPad
+ IPAD = :ipad
+ # Apple Universal (iPhone and iPad)
+ UNIVERSAL = :universal
+ # Apple TV
+ APPLETV = :appletv
+ # Apple Watch (TODO: not implemented yet)
+ IWATCH = :iwatch
+ end
- # Android Phone
- PHONE = :phone
- # Android Tablet (TODO: not implemented yet)
- TABLET = :tablet
- # Android Watch
- WATCH = :watch
- # Android TV
- TELEVISION = :television
- # Android Car Automotive
- AUTOMOTIVE = :automotive
+ module Google
+ # Android Phone
+ PHONE = :phone
+ # Android Tablet (TODO: not implemented yet)
+ TABLET = :tablet
+ # Android Watch
+ WATCH = :watch
+ # Android TV
+ TELEVISION = :television
+ # Android Car Automotive
+ AUTOMOTIVE = :automotive
+ end
- # Windows
- WINDOWS = :windows
+ module Huawei
+ # HarmonyOS Default
+ DEFAULT = :default
+ # HarmonyOS Phone
+ PHONE = :phone
+ # HarmonyOS Tablet
+ TABLET = :tablet
+ # HarmonyOS TV
+ TV = :tv
+ # HarmonyOS wearable
+ WEARABLE = :wearable
+ # HarmonyOS Car
+ CAR = :car
+ # HarmonyOS 2-in-1 tablet and laptop
+ TWO_IN_ONE = :two_in_one
+ end
+
+ module Microsoft
+ # Windows
+ WINDOWS = :windows
+ end
end
end