com.beanbag.huaweiads 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Documentation.md +9 -0
- package/Documentation.md.meta +7 -0
- package/Editor/Editor/Extensions/ActionExtensions.cs +32 -0
- package/Editor/Editor/Extensions/ActionExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions/CollectionExtensions.cs +36 -0
- package/Editor/Editor/Extensions/CollectionExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions/StringExtensions.cs +119 -0
- package/Editor/Editor/Extensions/StringExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions/WindowExtensions.cs +59 -0
- package/Editor/Editor/Extensions/WindowExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions.meta +8 -0
- package/Editor/Editor/General/UI/Button/Button.cs +143 -0
- package/Editor/Editor/General/UI/Button/Button.cs.meta +11 -0
- package/Editor/Editor/General/UI/Button/Clickable.cs +30 -0
- package/Editor/Editor/General/UI/Button/Clickable.cs.meta +11 -0
- package/Editor/Editor/General/UI/Button.meta +8 -0
- package/Editor/Editor/General/UI/Collections/IReadOnlyList.cs +10 -0
- package/Editor/Editor/General/UI/Collections/IReadOnlyList.cs.meta +11 -0
- package/Editor/Editor/General/UI/Collections.meta +8 -0
- package/Editor/Editor/General/UI/ConditionalDrawer.cs +25 -0
- package/Editor/Editor/General/UI/ConditionalDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/CustomEditorDrawer.cs +12 -0
- package/Editor/Editor/General/UI/CustomEditorDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Depth.cs +27 -0
- package/Editor/Editor/General/UI/Depth.cs.meta +11 -0
- package/Editor/Editor/General/UI/DisabledDrawer.cs +53 -0
- package/Editor/Editor/General/UI/DisabledDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/EnumDropdown.cs +35 -0
- package/Editor/Editor/General/UI/Dropdown/EnumDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/EnumFlagsDropdown.cs +24 -0
- package/Editor/Editor/General/UI/Dropdown/EnumFlagsDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/IDropdown.cs +9 -0
- package/Editor/Editor/General/UI/Dropdown/IDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/StringDropdown.cs +46 -0
- package/Editor/Editor/General/UI/Dropdown/StringDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown.meta +8 -0
- package/Editor/Editor/General/UI/Focusable.cs +53 -0
- package/Editor/Editor/General/UI/Focusable.cs.meta +11 -0
- package/Editor/Editor/General/UI/Foldout.cs +61 -0
- package/Editor/Editor/General/UI/Foldout.cs.meta +11 -0
- package/Editor/Editor/General/UI/HelpBox/HelpBox.cs +42 -0
- package/Editor/Editor/General/UI/HelpBox/HelpBox.cs.meta +11 -0
- package/Editor/Editor/General/UI/HelpBox/RichHelpBox.cs +35 -0
- package/Editor/Editor/General/UI/HelpBox/RichHelpBox.cs.meta +11 -0
- package/Editor/Editor/General/UI/HelpBox.meta +8 -0
- package/Editor/Editor/General/UI/HorizontalLine.cs +13 -0
- package/Editor/Editor/General/UI/HorizontalLine.cs.meta +11 -0
- package/Editor/Editor/General/UI/IDrawer.cs +7 -0
- package/Editor/Editor/General/UI/IDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Image/Image.cs +49 -0
- package/Editor/Editor/General/UI/Image/Image.cs.meta +11 -0
- package/Editor/Editor/General/UI/Image.meta +8 -0
- package/Editor/Editor/General/UI/InlineGroup.cs +41 -0
- package/Editor/Editor/General/UI/InlineGroup.cs.meta +11 -0
- package/Editor/Editor/General/UI/Label/DelegatedLabel.cs +31 -0
- package/Editor/Editor/General/UI/Label/DelegatedLabel.cs.meta +11 -0
- package/Editor/Editor/General/UI/Label/Label.cs +133 -0
- package/Editor/Editor/General/UI/Label/Label.cs.meta +11 -0
- package/Editor/Editor/General/UI/Label.meta +8 -0
- package/Editor/Editor/General/UI/List/AlteratingListDrawer.cs +93 -0
- package/Editor/Editor/General/UI/List/AlteratingListDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/List/ListDrawer.cs +77 -0
- package/Editor/Editor/General/UI/List/ListDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/List.meta +8 -0
- package/Editor/Editor/General/UI/LongProcess.cs +24 -0
- package/Editor/Editor/General/UI/LongProcess.cs.meta +11 -0
- package/Editor/Editor/General/UI/Menu/EditableMenu.cs +46 -0
- package/Editor/Editor/General/UI/Menu/EditableMenu.cs.meta +11 -0
- package/Editor/Editor/General/UI/Menu/Menu.cs +55 -0
- package/Editor/Editor/General/UI/Menu/Menu.cs.meta +11 -0
- package/Editor/Editor/General/UI/Menu.meta +8 -0
- package/Editor/Editor/General/UI/PersistentFoldout.cs +72 -0
- package/Editor/Editor/General/UI/PersistentFoldout.cs.meta +11 -0
- package/Editor/Editor/General/UI/ScrollView/ScrollView.cs +16 -0
- package/Editor/Editor/General/UI/ScrollView/ScrollView.cs.meta +11 -0
- package/Editor/Editor/General/UI/ScrollView.meta +8 -0
- package/Editor/Editor/General/UI/Sequence/EmptySequenceDrawer.cs +33 -0
- package/Editor/Editor/General/UI/Sequence/EmptySequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence/HorizontalSequenceDrawer.cs +18 -0
- package/Editor/Editor/General/UI/Sequence/HorizontalSequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence/SequenceDrawer.cs +74 -0
- package/Editor/Editor/General/UI/Sequence/SequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence/VerticalSequenceDrawer.cs +28 -0
- package/Editor/Editor/General/UI/Sequence/VerticalSequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence.meta +8 -0
- package/Editor/Editor/General/UI/Space.cs +19 -0
- package/Editor/Editor/General/UI/Space.cs.meta +11 -0
- package/Editor/Editor/General/UI/Spacer.cs +13 -0
- package/Editor/Editor/General/UI/Spacer.cs.meta +11 -0
- package/Editor/Editor/General/UI/TabBar/TabBar.cs +42 -0
- package/Editor/Editor/General/UI/TabBar/TabBar.cs.meta +11 -0
- package/Editor/Editor/General/UI/TabBar/TabView.cs +13 -0
- package/Editor/Editor/General/UI/TabBar/TabView.cs.meta +11 -0
- package/Editor/Editor/General/UI/TabBar.meta +8 -0
- package/Editor/Editor/General/UI/TextArea/TextArea.cs +74 -0
- package/Editor/Editor/General/UI/TextArea/TextArea.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextArea.meta +8 -0
- package/Editor/Editor/General/UI/TextField/ReturnChecker.cs +40 -0
- package/Editor/Editor/General/UI/TextField/ReturnChecker.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextField/TextField.cs +169 -0
- package/Editor/Editor/General/UI/TextField/TextField.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextField/TextFieldWithAccept.cs +65 -0
- package/Editor/Editor/General/UI/TextField/TextFieldWithAccept.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextField.meta +8 -0
- package/Editor/Editor/General/UI/TimedDrawer.cs +35 -0
- package/Editor/Editor/General/UI/TimedDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Toggle/Toggle.cs +67 -0
- package/Editor/Editor/General/UI/Toggle/Toggle.cs.meta +11 -0
- package/Editor/Editor/General/UI/Toggle/ToggledTextFieldWithButton.cs +41 -0
- package/Editor/Editor/General/UI/Toggle/ToggledTextFieldWithButton.cs.meta +11 -0
- package/Editor/Editor/General/UI/Toggle.meta +8 -0
- package/Editor/Editor/General/UI/Window/DisplayDialog.cs +55 -0
- package/Editor/Editor/General/UI/Window/DisplayDialog.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window/HMSEditorWindow.cs +60 -0
- package/Editor/Editor/General/UI/Window/HMSEditorWindow.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window/ModalDialog.cs +93 -0
- package/Editor/Editor/General/UI/Window/ModalDialog.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window/ModalWindow.cs +88 -0
- package/Editor/Editor/General/UI/Window/ModalWindow.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window.meta +8 -0
- package/Editor/Editor/General/UI.meta +8 -0
- package/Editor/Editor/General.meta +8 -0
- package/Editor/Editor/HuaweiAdsFileCopier.cs +62 -0
- package/Editor/Editor/HuaweiAdsFileCopier.cs.meta +11 -0
- package/Editor/Editor/HuaweiMobileServices.Editor.asmdef +17 -0
- package/Editor/Editor/HuaweiMobileServices.Editor.asmdef.meta +7 -0
- package/Editor/Editor/Utils/HMSEditorUtils.cs +490 -0
- package/Editor/Editor/Utils/HMSEditorUtils.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSExcelHelper.cs +50 -0
- package/Editor/Editor/Utils/HMSExcelHelper.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSGradleFixer.cs +178 -0
- package/Editor/Editor/Utils/HMSGradleFixer.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSGradleWorker.cs +316 -0
- package/Editor/Editor/Utils/HMSGradleWorker.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSPackageChecker.cs +26 -0
- package/Editor/Editor/Utils/HMSPackageChecker.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSPluginUpdater.cs +208 -0
- package/Editor/Editor/Utils/HMSPluginUpdater.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSPluginUpdaterInit.cs +20 -0
- package/Editor/Editor/Utils/HMSPluginUpdaterInit.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSWebRequestHelper.cs +388 -0
- package/Editor/Editor/Utils/HMSWebRequestHelper.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSWebUtils.cs +113 -0
- package/Editor/Editor/Utils/HMSWebUtils.cs.meta +11 -0
- package/Editor/Editor/Utils.meta +8 -0
- package/Editor/Editor/View/AdsTab/HMSAdsSettingsDrawer.cs +427 -0
- package/Editor/Editor/View/AdsTab/HMSAdsSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/AdsTab/HMSAdsTabFactory.cs +14 -0
- package/Editor/Editor/View/AdsTab/HMSAdsTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/AdsTab.meta +8 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBSettingsDrawer.cs +208 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBTabFactory.cs +13 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/CloudDBTab.meta +8 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPITabFactory.cs +30 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPITabFactory.cs.meta +11 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPIWindow.cs +22 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPIWindow.cs.meta +11 -0
- package/Editor/Editor/View/ConnectAPI/TokenObtainerEditor.cs +43 -0
- package/Editor/Editor/View/ConnectAPI/TokenObtainerEditor.cs.meta +11 -0
- package/Editor/Editor/View/ConnectAPI.meta +8 -0
- package/Editor/Editor/View/GameServiceTab/AchievementsManipulator.cs +92 -0
- package/Editor/Editor/View/GameServiceTab/AchievementsManipulator.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSAchievementsAdderDrawer.cs +35 -0
- package/Editor/Editor/View/GameServiceTab/HMSAchievementsAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceSettingsDrawer.cs +138 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceTabFactory.cs +13 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSLeaderboardAdderDrawer.cs +34 -0
- package/Editor/Editor/View/GameServiceTab/HMSLeaderboardAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/LeaderboardManipulator.cs +92 -0
- package/Editor/Editor/View/GameServiceTab/LeaderboardManipulator.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab.meta +8 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPProductAdderDrawer.cs +36 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPProductAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPSettingsDrawer.cs +195 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPTabFactory.cs +14 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab/IAPProductManipulator.cs +111 -0
- package/Editor/Editor/View/InAppPurchaseTab/IAPProductManipulator.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab.meta +8 -0
- package/Editor/Editor/View/KeyToolTab/HMSKeyToolWindow.cs +240 -0
- package/Editor/Editor/View/KeyToolTab/HMSKeyToolWindow.cs.meta +11 -0
- package/Editor/Editor/View/KeyToolTab.meta +8 -0
- package/Editor/Editor/View/KitSettingsTab/APMToggleEditor.cs +59 -0
- package/Editor/Editor/View/KitSettingsTab/APMToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AccountToggleEditor.cs +78 -0
- package/Editor/Editor/View/KitSettingsTab/AccountToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AdsToggleEditor.cs +76 -0
- package/Editor/Editor/View/KitSettingsTab/AdsToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AnalyticsToggleEditor.cs +92 -0
- package/Editor/Editor/View/KitSettingsTab/AnalyticsToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AppLinkingToggleEditor.cs +67 -0
- package/Editor/Editor/View/KitSettingsTab/AppLinkingToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AppMessagingToggleEditor.cs +57 -0
- package/Editor/Editor/View/KitSettingsTab/AppMessagingToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AuthToggleEditor.cs +71 -0
- package/Editor/Editor/View/KitSettingsTab/AuthToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/CloudDBToggleEditor.cs +80 -0
- package/Editor/Editor/View/KitSettingsTab/CloudDBToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/CloudStorageToggleEditor.cs +64 -0
- package/Editor/Editor/View/KitSettingsTab/CloudStorageToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/CrashToggleEditor.cs +63 -0
- package/Editor/Editor/View/KitSettingsTab/CrashToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/DriveKitToggleEditor.cs +74 -0
- package/Editor/Editor/View/KitSettingsTab/DriveKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/GameServiceToggleEditor.cs +81 -0
- package/Editor/Editor/View/KitSettingsTab/GameServiceToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/HelpboxAGConnectFile.cs +24 -0
- package/Editor/Editor/View/KitSettingsTab/HelpboxAGConnectFile.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/IAPToggleEditor.cs +76 -0
- package/Editor/Editor/View/KitSettingsTab/IAPToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/LocationToogleEditor.cs +66 -0
- package/Editor/Editor/View/KitSettingsTab/LocationToogleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/MLKitToggleEditor.cs +87 -0
- package/Editor/Editor/View/KitSettingsTab/MLKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/Modeling3dKitToggleEditor.cs +75 -0
- package/Editor/Editor/View/KitSettingsTab/Modeling3dKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/NearbyServiceToggleEditor.cs +56 -0
- package/Editor/Editor/View/KitSettingsTab/NearbyServiceToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/PluginToggleEditor.cs +58 -0
- package/Editor/Editor/View/KitSettingsTab/PluginToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/PushToggleEditor.cs +71 -0
- package/Editor/Editor/View/KitSettingsTab/PushToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/RemoteConfigToggleEditor.cs +80 -0
- package/Editor/Editor/View/KitSettingsTab/RemoteConfigToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/ScanKitToggleEditor.cs +59 -0
- package/Editor/Editor/View/KitSettingsTab/ScanKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/ToggleEditor.cs +12 -0
- package/Editor/Editor/View/KitSettingsTab/ToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab.meta +8 -0
- package/Editor/Editor/View/LibrariesTab/HMSLibrariesDrawer.cs +65 -0
- package/Editor/Editor/View/LibrariesTab/HMSLibrariesDrawer.cs.meta +11 -0
- package/Editor/Editor/View/LibrariesTab.meta +8 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitSettingsDrawer.cs +145 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitTabFactory.cs +15 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/MLKitTab.meta +8 -0
- package/Editor/Editor/View/MainWindow/HMSMainKitsTabFactory.cs +136 -0
- package/Editor/Editor/View/MainWindow/HMSMainKitsTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/MainWindow/HMSMainWindow.cs +60 -0
- package/Editor/Editor/View/MainWindow/HMSMainWindow.cs.meta +11 -0
- package/Editor/Editor/View/MainWindow.meta +8 -0
- package/Editor/Editor/View/ModelingTab/ModelingSettingsDrawer.cs +43 -0
- package/Editor/Editor/View/ModelingTab/ModelingSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/ModelingTab/ModelingTabFactory.cs +12 -0
- package/Editor/Editor/View/ModelingTab/ModelingTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/ModelingTab.meta +8 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/AllIAPProductsEditor.cs +192 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/AllIAPProductsEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/HMSAllIAPProductsWindow.cs +34 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/HMSAllIAPProductsWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/IAPQueryListEditor.cs +41 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/IAPQueryListEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/HMSUpdateIAPProductWindow.cs +24 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/HMSUpdateIAPProductWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/UpdateIAPProductEditor.cs +269 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/UpdateIAPProductEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/CreateProductEditor.cs +452 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/CreateProductEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/HMSCreateAProductWindow.cs +34 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/HMSCreateAProductWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/LanguagesFoldoutEditor.cs +96 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/LanguagesFoldoutEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/CreateProductsEditor.cs +322 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/CreateProductsEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCSVReader.cs +53 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCSVReader.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCreateProductsWindow.cs +34 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCreateProductsWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/HMSPMSAPITabFactory.cs +40 -0
- package/Editor/Editor/View/PMSWindow/HMSPMSAPITabFactory.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow.meta +8 -0
- package/Editor/Editor/View/PublishingAPI/HMSPublishingAPITabFactory.cs +15 -0
- package/Editor/Editor/View/PublishingAPI/HMSPublishingAPITabFactory.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/HelpBoxEnablingAppSigning.cs +22 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/HelpBoxEnablingAppSigning.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoEditor.cs +546 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoEditor.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoWindow.cs +32 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoWindow.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation.meta +8 -0
- package/Editor/Editor/View/PublishingAPI.meta +8 -0
- package/Editor/Editor/View/RemoteConfigTab/DefaultValueManipulator.cs +115 -0
- package/Editor/Editor/View/RemoteConfigTab/DefaultValueManipulator.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigAdderDrawer.cs +33 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigSettingsDrawer.cs +103 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigTabFactory.cs +14 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab.meta +8 -0
- package/Editor/Editor/View/Utils/CompilationWindow.cs +46 -0
- package/Editor/Editor/View/Utils/CompilationWindow.cs.meta +11 -0
- package/Editor/Editor/View/Utils/ICollectionManipulator.cs +9 -0
- package/Editor/Editor/View/Utils/ICollectionManipulator.cs.meta +11 -0
- package/Editor/Editor/View/Utils/WindowEditRedirect.cs +18 -0
- package/Editor/Editor/View/Utils/WindowEditRedirect.cs.meta +11 -0
- package/Editor/Editor/View/Utils.meta +8 -0
- package/Editor/Editor/View.meta +8 -0
- package/Editor/Editor.meta +8 -0
- package/Editor.meta +8 -0
- package/LICENSE.md +9 -0
- package/LICENSE.md.meta +7 -0
- package/ReadMe.md +2 -0
- package/ReadMe.md.meta +7 -0
- package/Runtime/Demos/APM/APMDemo.unity +2375 -0
- package/Runtime/Demos/APM/APMDemo.unity.meta +7 -0
- package/Runtime/Demos/APM/APMDemoManager.cs +105 -0
- package/Runtime/Demos/APM/APMDemoManager.cs.meta +11 -0
- package/Runtime/Demos/APM/APMDemoUIView.cs +76 -0
- package/Runtime/Demos/APM/APMDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/APM.meta +8 -0
- package/Runtime/Demos/Account/AccountDemo.unity +1255 -0
- package/Runtime/Demos/Account/AccountDemo.unity.meta +7 -0
- package/Runtime/Demos/Account/AccountDemoManager.cs +79 -0
- package/Runtime/Demos/Account/AccountDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Account/AccountUIView.cs +72 -0
- package/Runtime/Demos/Account/AccountUIView.cs.meta +11 -0
- package/Runtime/Demos/Account.meta +8 -0
- package/Runtime/Demos/Ads/AdsDemo.unity +2332 -0
- package/Runtime/Demos/Ads/AdsDemo.unity.meta +7 -0
- package/Runtime/Demos/Ads/AdsDemoManager.cs +257 -0
- package/Runtime/Demos/Ads/AdsDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Ads/AdsUIView.cs +87 -0
- package/Runtime/Demos/Ads/AdsUIView.cs.meta +11 -0
- package/Runtime/Demos/Ads/InstallReferrer/Demo.unity +344 -0
- package/Runtime/Demos/Ads/InstallReferrer/Demo.unity.meta +7 -0
- package/Runtime/Demos/Ads/InstallReferrer/InstallReferrerDemo.cs +55 -0
- package/Runtime/Demos/Ads/InstallReferrer/InstallReferrerDemo.cs.meta +11 -0
- package/Runtime/Demos/Ads/InstallReferrer.meta +8 -0
- package/Runtime/Demos/Ads.meta +8 -0
- package/Runtime/Demos/Analytics/AnalyticsDemo.unity +1918 -0
- package/Runtime/Demos/Analytics/AnalyticsDemo.unity.meta +11 -0
- package/Runtime/Demos/Analytics/AnalyticsDemoManager.cs +46 -0
- package/Runtime/Demos/Analytics/AnalyticsDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Analytics/AnalyticsUIView.cs +49 -0
- package/Runtime/Demos/Analytics/AnalyticsUIView.cs.meta +11 -0
- package/Runtime/Demos/Analytics.meta +8 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.cs +144 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.cs.meta +11 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.unity +1709 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.unity.meta +7 -0
- package/Runtime/Demos/AppLinking/AppLinkingUIView.cs +108 -0
- package/Runtime/Demos/AppLinking/AppLinkingUIView.cs.meta +11 -0
- package/Runtime/Demos/AppLinking.meta +8 -0
- package/Runtime/Demos/AppMessaging/AppMessaging.unity +541 -0
- package/Runtime/Demos/AppMessaging/AppMessaging.unity.meta +7 -0
- package/Runtime/Demos/AppMessaging/AppMessagingDemoManager.cs +28 -0
- package/Runtime/Demos/AppMessaging/AppMessagingDemoManager.cs.meta +11 -0
- package/Runtime/Demos/AppMessaging.meta +8 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.cs +204 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.cs.meta +11 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.unity +5006 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.unity.meta +7 -0
- package/Runtime/Demos/AuthService.meta +8 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.cs +348 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.cs.meta +11 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.unity +3420 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.unity.meta +7 -0
- package/Runtime/Demos/CloudDB/CloudDBDemoUIView.cs +180 -0
- package/Runtime/Demos/CloudDB/CloudDBDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/CloudDB.meta +8 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.cs +201 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.cs.meta +11 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.unity +2074 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.unity.meta +7 -0
- package/Runtime/Demos/CloudStorage.meta +8 -0
- package/Runtime/Demos/CrashKit/CrashDemo.unity +1455 -0
- package/Runtime/Demos/CrashKit/CrashDemo.unity.meta +7 -0
- package/Runtime/Demos/CrashKit/CrashDemoManager.cs +50 -0
- package/Runtime/Demos/CrashKit/CrashDemoManager.cs.meta +11 -0
- package/Runtime/Demos/CrashKit/CrashDemoView.cs +64 -0
- package/Runtime/Demos/CrashKit/CrashDemoView.cs.meta +11 -0
- package/Runtime/Demos/CrashKit.meta +8 -0
- package/Runtime/Demos/DriveKit/DriveDemoManager.cs +135 -0
- package/Runtime/Demos/DriveKit/DriveDemoManager.cs.meta +11 -0
- package/Runtime/Demos/DriveKit/DriveDemoView.cs +90 -0
- package/Runtime/Demos/DriveKit/DriveDemoView.cs.meta +11 -0
- package/Runtime/Demos/DriveKit/DriveKitDemo.unity +1791 -0
- package/Runtime/Demos/DriveKit/DriveKitDemo.unity.meta +7 -0
- package/Runtime/Demos/DriveKit.meta +8 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemo.unity +813 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemo.unity.meta +7 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemoManager.cs +127 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo.meta +8 -0
- package/Runtime/Demos/Game/GameDemo.unity +3107 -0
- package/Runtime/Demos/Game/GameDemo.unity.meta +7 -0
- package/Runtime/Demos/Game/GameDemoManager.cs +347 -0
- package/Runtime/Demos/Game/GameDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Game/GameDemoUIView.cs +92 -0
- package/Runtime/Demos/Game/GameDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/Game.meta +8 -0
- package/Runtime/Demos/IAP/IAPDemoUIView.cs +114 -0
- package/Runtime/Demos/IAP/IAPDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/IAP/IapDemo.unity +4418 -0
- package/Runtime/Demos/IAP/IapDemo.unity.meta +7 -0
- package/Runtime/Demos/IAP/IapDemoManager.cs +157 -0
- package/Runtime/Demos/IAP/IapDemoManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/MainMenuManager.cs +200 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/MainMenuManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene0_MainMenu.unity +2109 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene0_MainMenu.unity.meta +7 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene1_Store.unity +6210 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene1_Store.unity.meta +7 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/StoreManager.cs +145 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/StoreManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store.meta +8 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIAPDemoUIView.cs +96 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIAPDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemo.unity +3930 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemo.unity.meta +7 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemoManager.cs +151 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemoManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/UnityDemo.meta +8 -0
- package/Runtime/Demos/IAP.meta +8 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.cs +71 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.cs.meta +11 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.unity +759 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.unity.meta +7 -0
- package/Runtime/Demos/InAppComment.meta +8 -0
- package/Runtime/Demos/Location/ActivityIdentificationDemo.cs +209 -0
- package/Runtime/Demos/Location/ActivityIdentificationDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/FusedLocationDemo.cs +154 -0
- package/Runtime/Demos/Location/FusedLocationDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/GeocodingDemo.cs +94 -0
- package/Runtime/Demos/Location/GeocodingDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/GeofenceDemo.cs +180 -0
- package/Runtime/Demos/Location/GeofenceDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/LocationDemo.unity +5912 -0
- package/Runtime/Demos/Location/LocationDemo.unity.meta +7 -0
- package/Runtime/Demos/Location/LocationDemoManager.cs +49 -0
- package/Runtime/Demos/Location/LocationDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Location.meta +8 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionDemoManager.cs +199 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionManager.unity +2097 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionManager.unity.meta +7 -0
- package/Runtime/Demos/ML/LanguageDetection.meta +8 -0
- package/Runtime/Demos/ML/MLKitDemo.unity +20214 -0
- package/Runtime/Demos/ML/MLKitDemo.unity.meta +7 -0
- package/Runtime/Demos/ML/MlKitDemoManager.cs +89 -0
- package/Runtime/Demos/ML/MlKitDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognition.unity +3948 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognition.unity.meta +7 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognitionDemoManager.cs +200 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognitionDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/TextRecognition.meta +8 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemo.unity +7398 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemo.unity.meta +7 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemoManager.cs +209 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/TextToSpeechDemo.meta +8 -0
- package/Runtime/Demos/ML/Translate/TranslateDemo.unity +5231 -0
- package/Runtime/Demos/ML/Translate/TranslateDemo.unity.meta +7 -0
- package/Runtime/Demos/ML/Translate/TranslateDemoManager.cs +275 -0
- package/Runtime/Demos/ML/Translate/TranslateDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/Translate.meta +8 -0
- package/Runtime/Demos/ML.meta +8 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemo.unity +4130 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemo.unity.meta +7 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemoManager.cs +382 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemo.unity +1788 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemo.unity.meta +7 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemoManager.cs +157 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D/ProgressBar.cs +36 -0
- package/Runtime/Demos/Modeling3D/ProgressBar.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D/TaskListDisplay.cs +101 -0
- package/Runtime/Demos/Modeling3D/TaskListDisplay.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D.meta +8 -0
- package/Runtime/Demos/NearbyService/Nearby.unity +1563 -0
- package/Runtime/Demos/NearbyService/Nearby.unity.meta +7 -0
- package/Runtime/Demos/NearbyService/NearbyDemoManager.cs +192 -0
- package/Runtime/Demos/NearbyService/NearbyDemoManager.cs.meta +11 -0
- package/Runtime/Demos/NearbyService/NearbyDemoUIView.cs +73 -0
- package/Runtime/Demos/NearbyService/NearbyDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/NearbyService.meta +8 -0
- package/Runtime/Demos/Push/PushDemo.unity +720 -0
- package/Runtime/Demos/Push/PushDemo.unity.meta +7 -0
- package/Runtime/Demos/Push/PushDemoManager.cs +123 -0
- package/Runtime/Demos/Push/PushDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Push.meta +8 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.cs +120 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.cs.meta +11 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.unity +2259 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.unity.meta +7 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigUIView.cs +109 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigUIView.cs.meta +11 -0
- package/Runtime/Demos/RemoteConfig.meta +8 -0
- package/Runtime/Demos/Scan/ScanKitDemo.cs +69 -0
- package/Runtime/Demos/Scan/ScanKitDemo.cs.meta +11 -0
- package/Runtime/Demos/Scan/ScanKitDemo.unity +803 -0
- package/Runtime/Demos/Scan/ScanKitDemo.unity.meta +7 -0
- package/Runtime/Demos/Scan/ScanKitUIView.cs +38 -0
- package/Runtime/Demos/Scan/ScanKitUIView.cs.meta +11 -0
- package/Runtime/Demos/Scan.meta +8 -0
- package/Runtime/Demos.meta +8 -0
- package/Runtime/Dlls/EPPlus.dll +0 -0
- package/Runtime/Dlls/EPPlus.dll.meta +69 -0
- package/Runtime/Dlls/HuaweiMobileServices.dll +0 -0
- package/Runtime/Dlls/HuaweiMobileServices.dll.meta +38 -0
- package/Runtime/Dlls/HuaweiMobileServices.pdb +0 -0
- package/Runtime/Dlls/HuaweiMobileServices.pdb.meta +7 -0
- package/Runtime/Dlls/link.xml +5 -0
- package/Runtime/Dlls/link.xml.meta +7 -0
- package/Runtime/Dlls.meta +8 -0
- package/Runtime/HuaweiMobileServices.Core.asmdef +16 -0
- package/Runtime/HuaweiMobileServices.Core.asmdef.meta +7 -0
- package/Runtime/Plugins/Android/BookInfo.java +100 -0
- package/Runtime/Plugins/Android/BookInfo.java.meta +32 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin/AndroidManifest.xml +13 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin/build.gradle +31 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin/project.properties +2 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin.meta +80 -0
- package/Runtime/Plugins/Android/ObjectTypeInfoHelper.java +33 -0
- package/Runtime/Plugins/Android/ObjectTypeInfoHelper.java.meta +32 -0
- package/Runtime/Plugins/Android/app-debug.aar +0 -0
- package/Runtime/Plugins/Android/app-debug.aar.meta +32 -0
- package/Runtime/Plugins/Android/hmsLauncherTemplate.gradle +32 -0
- package/Runtime/Plugins/Android/hmsLauncherTemplate.gradle.meta +7 -0
- package/Runtime/Plugins/Android/hmsMainTemplate.gradle +13 -0
- package/Runtime/Plugins/Android/hmsMainTemplate.gradle.meta +7 -0
- package/Runtime/Plugins/Android.meta +8 -0
- package/Runtime/Plugins.meta +8 -0
- package/Runtime/Prefabs/HuaweiIDButton.prefab +355 -0
- package/Runtime/Prefabs/HuaweiIDButton.prefab.meta +7 -0
- package/Runtime/Prefabs/HuaweiIDCircleButton.prefab +274 -0
- package/Runtime/Prefabs/HuaweiIDCircleButton.prefab.meta +7 -0
- package/Runtime/Prefabs/Modeling3DTaskListItem.prefab +1881 -0
- package/Runtime/Prefabs/Modeling3DTaskListItem.prefab.meta +7 -0
- package/Runtime/Prefabs/SplashAdPreview.prefab +591 -0
- package/Runtime/Prefabs/SplashAdPreview.prefab.meta +7 -0
- package/Runtime/Prefabs/native_large_image.prefab +1172 -0
- package/Runtime/Prefabs/native_large_image.prefab.meta +7 -0
- package/Runtime/Prefabs.meta +8 -0
- package/Runtime/Resources/Huawei/CircleCorner.png +0 -0
- package/Runtime/Resources/Huawei/CircleCorner.png.meta +135 -0
- package/Runtime/Resources/Huawei/Huawei-White.png +0 -0
- package/Runtime/Resources/Huawei/Huawei-White.png.meta +135 -0
- package/Runtime/Resources/Huawei/RoundedCorner.png +0 -0
- package/Runtime/Resources/Huawei/RoundedCorner.png.meta +135 -0
- package/Runtime/Resources/Huawei.meta +8 -0
- package/Runtime/Resources/close.png +0 -0
- package/Runtime/Resources/close.png.meta +116 -0
- package/Runtime/Resources/coins100.png +0 -0
- package/Runtime/Resources/coins100.png.meta +121 -0
- package/Runtime/Resources/coins1000.png +0 -0
- package/Runtime/Resources/coins1000.png.meta +121 -0
- package/Runtime/Resources/info.png +0 -0
- package/Runtime/Resources/info.png.meta +116 -0
- package/Runtime/Resources/no_ads.png +0 -0
- package/Runtime/Resources/no_ads.png.meta +135 -0
- package/Runtime/Resources/premium.png +0 -0
- package/Runtime/Resources/premium.png.meta +135 -0
- package/Runtime/Resources/xml/remoteConfig.xml +5 -0
- package/Runtime/Resources/xml/remoteConfig.xml.meta +7 -0
- package/Runtime/Resources/xml.meta +8 -0
- package/Runtime/Resources.meta +8 -0
- package/Runtime/Scripts/APM/HMSAPMManager.cs +31 -0
- package/Runtime/Scripts/APM/HMSAPMManager.cs.meta +11 -0
- package/Runtime/Scripts/APM.meta +8 -0
- package/Runtime/Scripts/Account/HMSAccountKitManager.cs +194 -0
- package/Runtime/Scripts/Account/HMSAccountKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Account.meta +8 -0
- package/Runtime/Scripts/Ads/HMSAdsKitManager.cs +977 -0
- package/Runtime/Scripts/Ads/HMSAdsKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Ads/LargeImageNative.cs +166 -0
- package/Runtime/Scripts/Ads/LargeImageNative.cs.meta +11 -0
- package/Runtime/Scripts/Ads.meta +8 -0
- package/Runtime/Scripts/Analytics/HMSAnalyticsKitManager.cs +98 -0
- package/Runtime/Scripts/Analytics/HMSAnalyticsKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Analytics.meta +8 -0
- package/Runtime/Scripts/AppMessaging/HMSAppMessagingManager.cs +60 -0
- package/Runtime/Scripts/AppMessaging/HMSAppMessagingManager.cs.meta +11 -0
- package/Runtime/Scripts/AppMessaging.meta +8 -0
- package/Runtime/Scripts/AuthService/HMSAuthServiceManager.cs +142 -0
- package/Runtime/Scripts/AuthService/HMSAuthServiceManager.cs.meta +11 -0
- package/Runtime/Scripts/AuthService.meta +8 -0
- package/Runtime/Scripts/CloudDB/BookInfo.cs +58 -0
- package/Runtime/Scripts/CloudDB/BookInfo.cs.meta +11 -0
- package/Runtime/Scripts/CloudDB/HMSCloudDBManager.cs +343 -0
- package/Runtime/Scripts/CloudDB/HMSCloudDBManager.cs.meta +11 -0
- package/Runtime/Scripts/CloudDB.meta +8 -0
- package/Runtime/Scripts/CloudStorage/HMSCloudStorageManager.cs +349 -0
- package/Runtime/Scripts/CloudStorage/HMSCloudStorageManager.cs.meta +11 -0
- package/Runtime/Scripts/CloudStorage.meta +8 -0
- package/Runtime/Scripts/Crash/HMSCrashManager.cs +61 -0
- package/Runtime/Scripts/Crash/HMSCrashManager.cs.meta +11 -0
- package/Runtime/Scripts/Crash.meta +8 -0
- package/Runtime/Scripts/Drive/CredentialManager.cs +55 -0
- package/Runtime/Scripts/Drive/CredentialManager.cs.meta +11 -0
- package/Runtime/Scripts/Drive/HMSDriveKitManager.cs +248 -0
- package/Runtime/Scripts/Drive/HMSDriveKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Drive.meta +8 -0
- package/Runtime/Scripts/Game/HMSAchievementsEntry.cs +14 -0
- package/Runtime/Scripts/Game/HMSAchievementsEntry.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSAchievementsManager.cs +147 -0
- package/Runtime/Scripts/Game/HMSAchievementsManager.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSGameServiceManager.cs +314 -0
- package/Runtime/Scripts/Game/HMSGameServiceManager.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSLeaderboardEntry.cs +14 -0
- package/Runtime/Scripts/Game/HMSLeaderboardEntry.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSLeaderboardManager.cs +272 -0
- package/Runtime/Scripts/Game/HMSLeaderboardManager.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSSaveGameManager.cs +236 -0
- package/Runtime/Scripts/Game/HMSSaveGameManager.cs.meta +11 -0
- package/Runtime/Scripts/Game.meta +8 -0
- package/Runtime/Scripts/IAP/HMSIAPManager.cs +715 -0
- package/Runtime/Scripts/IAP/HMSIAPManager.cs.meta +11 -0
- package/Runtime/Scripts/IAP/HMSIAPProductType.cs +21 -0
- package/Runtime/Scripts/IAP/HMSIAPProductType.cs.meta +11 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiPurchasingModule.cs +28 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiPurchasingModule.cs.meta +11 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiStore.cs +305 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiStore.cs.meta +11 -0
- package/Runtime/Scripts/IAP/UnityPurchase.meta +8 -0
- package/Runtime/Scripts/IAP.meta +8 -0
- package/Runtime/Scripts/Location/GeofenceReceiver.cs +29 -0
- package/Runtime/Scripts/Location/GeofenceReceiver.cs.meta +11 -0
- package/Runtime/Scripts/Location/HMSLocationManager.cs +96 -0
- package/Runtime/Scripts/Location/HMSLocationManager.cs.meta +11 -0
- package/Runtime/Scripts/Location/LocationReceiver.cs +40 -0
- package/Runtime/Scripts/Location/LocationReceiver.cs.meta +11 -0
- package/Runtime/Scripts/Location.meta +8 -0
- package/Runtime/Scripts/ML/LangDetector/HMSMLLanguageDetectionManager.cs +180 -0
- package/Runtime/Scripts/ML/LangDetector/HMSMLLanguageDetectionManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/LangDetector.meta +8 -0
- package/Runtime/Scripts/ML/MLDownloadListenerManager.cs +17 -0
- package/Runtime/Scripts/ML/MLDownloadListenerManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextRecognition/HMSMLTextRecognitionKitManager.cs +163 -0
- package/Runtime/Scripts/ML/TextRecognition/HMSMLTextRecognitionKitManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextRecognition.meta +8 -0
- package/Runtime/Scripts/ML/TextToSpeech/HMSMLTextToSpeechKitManager.cs +276 -0
- package/Runtime/Scripts/ML/TextToSpeech/HMSMLTextToSpeechKitManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextToSpeech/MLTextToSpeechListenerManager.cs +94 -0
- package/Runtime/Scripts/ML/TextToSpeech/MLTextToSpeechListenerManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextToSpeech.meta +8 -0
- package/Runtime/Scripts/ML/Translate/HMSMLTranslateKitManager.cs +203 -0
- package/Runtime/Scripts/ML/Translate/HMSMLTranslateKitManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/Translate.meta +8 -0
- package/Runtime/Scripts/ML.meta +8 -0
- package/Runtime/Scripts/Modeling3D/HMSModeling3dKitManager.cs +557 -0
- package/Runtime/Scripts/Modeling3D/HMSModeling3dKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dDTO.cs +38 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dDTO.cs.meta +11 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dListenerManager.cs +172 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dListenerManager.cs.meta +11 -0
- package/Runtime/Scripts/Modeling3D.meta +8 -0
- package/Runtime/Scripts/NearbyService/HMSNearbyServiceManager.cs +80 -0
- package/Runtime/Scripts/NearbyService/HMSNearbyServiceManager.cs.meta +11 -0
- package/Runtime/Scripts/NearbyService.meta +8 -0
- package/Runtime/Scripts/Push/HMSPushKitManager.cs +134 -0
- package/Runtime/Scripts/Push/HMSPushKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Push.meta +8 -0
- package/Runtime/Scripts/RemoteConfig/HMSRemoteConfigManager.cs +157 -0
- package/Runtime/Scripts/RemoteConfig/HMSRemoteConfigManager.cs.meta +11 -0
- package/Runtime/Scripts/RemoteConfig.meta +8 -0
- package/Runtime/Scripts/Scan/HMSScanKitManager.cs +60 -0
- package/Runtime/Scripts/Scan/HMSScanKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Scan.meta +8 -0
- package/Runtime/Scripts/Settings/HMSAchievementsSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSAchievementsSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSAdsKitSettings.cs +56 -0
- package/Runtime/Scripts/Settings/HMSAdsKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSConnectAPISettings.cs +44 -0
- package/Runtime/Scripts/Settings/HMSConnectAPISettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSGameServiceSettings.cs +40 -0
- package/Runtime/Scripts/Settings/HMSGameServiceSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSIAPKitSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSIAPKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSIAPProductListSettings.cs +74 -0
- package/Runtime/Scripts/Settings/HMSIAPProductListSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSLeaderboardSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSLeaderboardSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSMLKitSettings.cs +42 -0
- package/Runtime/Scripts/Settings/HMSMLKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSMainEditorSettings.cs +38 -0
- package/Runtime/Scripts/Settings/HMSMainEditorSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSModelingKitSettings.cs +38 -0
- package/Runtime/Scripts/Settings/HMSModelingKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSPluginSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSPluginSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSRemoteConfigSettings.cs +40 -0
- package/Runtime/Scripts/Settings/HMSRemoteConfigSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSRemoteDefaultValueSettings.cs +53 -0
- package/Runtime/Scripts/Settings/HMSRemoteDefaultValueSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/Settings.cs +75 -0
- package/Runtime/Scripts/Settings/Settings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/SettingsScriptableObject.cs +14 -0
- package/Runtime/Scripts/Settings/SettingsScriptableObject.cs.meta +11 -0
- package/Runtime/Scripts/Settings.meta +8 -0
- package/Runtime/Scripts/Utils/HMSExceptionHandler.cs +120 -0
- package/Runtime/Scripts/Utils/HMSExceptionHandler.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSManagerStart.cs +36 -0
- package/Runtime/Scripts/Utils/HMSManagerStart.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSSafeArea.cs +63 -0
- package/Runtime/Scripts/Utils/HMSSafeArea.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSSingleton.cs +56 -0
- package/Runtime/Scripts/Utils/HMSSingleton.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSSplashAdPreview.cs +37 -0
- package/Runtime/Scripts/Utils/HMSSplashAdPreview.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HuaweiConstants.cs +204 -0
- package/Runtime/Scripts/Utils/HuaweiConstants.cs.meta +11 -0
- package/Runtime/Scripts/Utils/JsonHelper.cs +23 -0
- package/Runtime/Scripts/Utils/JsonHelper.cs.meta +11 -0
- package/Runtime/Scripts/Utils/PlayerPrefsJsonDatabase.cs +130 -0
- package/Runtime/Scripts/Utils/PlayerPrefsJsonDatabase.cs.meta +11 -0
- package/Runtime/Scripts/Utils/ScriptableHelper.cs +58 -0
- package/Runtime/Scripts/Utils/ScriptableHelper.cs.meta +11 -0
- package/Runtime/Scripts/Utils/SerializableDictionary.cs +129 -0
- package/Runtime/Scripts/Utils/SerializableDictionary.cs.meta +11 -0
- package/Runtime/Scripts/Utils.meta +8 -0
- package/Runtime/Scripts.meta +8 -0
- package/Runtime/Settings/Resources.meta +8 -0
- package/Runtime/Settings.meta +8 -0
- package/Runtime/VERSION +1 -0
- package/Runtime/VERSION.meta +7 -0
- package/Runtime.meta +8 -0
- package/package.json +13 -0
- package/package.json.meta +7 -0
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using System.IO;
|
|
4
|
+
using System.Threading.Tasks;
|
|
5
|
+
using UnityEditor;
|
|
6
|
+
using UnityEditor.Callbacks;
|
|
7
|
+
using UnityEngine;
|
|
8
|
+
using UnityEngine.Networking;
|
|
9
|
+
|
|
10
|
+
namespace HmsPlugin.PublishingAPI
|
|
11
|
+
{
|
|
12
|
+
public class QueryingAppInfoEditor : VerticalSequenceDrawer
|
|
13
|
+
{
|
|
14
|
+
private Label.Label ReleaseState;
|
|
15
|
+
private Label.Label AppName;
|
|
16
|
+
private CategoryLevel categoryLevel;
|
|
17
|
+
private Label.Label parentTypeString;
|
|
18
|
+
private Label.Label childTypeString;
|
|
19
|
+
private Label.Label grandChildTypeString;
|
|
20
|
+
private Toggle.Toggle uploadPackage;
|
|
21
|
+
|
|
22
|
+
public QueryingAppInfoEditor()
|
|
23
|
+
{
|
|
24
|
+
InitializeCategoryLevels();
|
|
25
|
+
|
|
26
|
+
ReleaseState = new Label.Label();
|
|
27
|
+
AppName = new Label.Label();
|
|
28
|
+
parentTypeString = new Label.Label("Error - Not Assigned");
|
|
29
|
+
childTypeString = new Label.Label("Error - Not Assigned");
|
|
30
|
+
grandChildTypeString = new Label.Label("Error - Not Assigned");
|
|
31
|
+
uploadPackage = new Toggle.Toggle("Upload After Build", HMSConnectAPISettings.Instance.Settings.GetBool(HMSConnectAPISettings.UploadAfterBuild, false), onUploadAfterBuildChecked);
|
|
32
|
+
|
|
33
|
+
AddDrawer(new HorizontalLine());
|
|
34
|
+
AddDrawer(new HorizontalSequenceDrawer(new Label.Label("App Name:"), new Spacer(), AppName, new Space(10)));
|
|
35
|
+
AddDrawer(new Space(5));
|
|
36
|
+
AddDrawer(new HorizontalSequenceDrawer(new Label.Label("Release State:"), new Spacer(), ReleaseState, new Space(10)));
|
|
37
|
+
AddDrawer(new Space(5));
|
|
38
|
+
AddDrawer(new HorizontalSequenceDrawer(new Label.Label("Parent Type:"), new Spacer(), parentTypeString, new Space(10)));
|
|
39
|
+
AddDrawer(new Space(5));
|
|
40
|
+
AddDrawer(new HorizontalSequenceDrawer(new Label.Label("Child Type:"), new Spacer(), childTypeString, new Space(10)));
|
|
41
|
+
AddDrawer(new Space(5));
|
|
42
|
+
AddDrawer(new HorizontalSequenceDrawer(new Label.Label("Grand Child Type:"), new Spacer(), grandChildTypeString, new Space(10)));
|
|
43
|
+
AddDrawer(new Space(5));
|
|
44
|
+
AddDrawer(new HorizontalLine());
|
|
45
|
+
AddDrawer(new HorizontalSequenceDrawer(uploadPackage, new Spacer()));
|
|
46
|
+
AddDrawer(new Space(5));
|
|
47
|
+
AddDrawer(new HelpBoxEnablingApp());
|
|
48
|
+
AddDrawer(new Space(5));
|
|
49
|
+
|
|
50
|
+
_ = RequestAppInfoAsync();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
private void onUploadAfterBuildChecked(bool state)
|
|
54
|
+
{
|
|
55
|
+
HMSConnectAPISettings.Instance.Settings.SetBool(HMSConnectAPISettings.UploadAfterBuild, state);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[PostProcessBuildAttribute(1)]
|
|
59
|
+
public async static Task AfterBuildNotificationAsync(BuildTarget target, string pathToBuiltProject)
|
|
60
|
+
{
|
|
61
|
+
if (target == BuildTarget.Android && HMSConnectAPISettings.Instance.Settings.GetBool(HMSConnectAPISettings.UploadAfterBuild))
|
|
62
|
+
{
|
|
63
|
+
if (!AskBeforeUploadProcess(pathToBuiltProject))
|
|
64
|
+
{
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
await GetUploadUrl(pathToBuiltProject);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
private static bool AskBeforeUploadProcess(string filePath)
|
|
72
|
+
{
|
|
73
|
+
float bytesToMegabytes = 1024f * 1024f;
|
|
74
|
+
float megabytesToGigabytes = 1024f;
|
|
75
|
+
float fileSize = (new FileInfo(filePath).Length) / bytesToMegabytes;
|
|
76
|
+
bool isPackageAAB = UnityEditor.EditorUserBuildSettings.buildAppBundle;
|
|
77
|
+
|
|
78
|
+
if (!isPackageAAB && fileSize >= 4 * megabytesToGigabytes ||
|
|
79
|
+
isPackageAAB && fileSize >= 150)
|
|
80
|
+
{
|
|
81
|
+
if (isPackageAAB)
|
|
82
|
+
{
|
|
83
|
+
EditorUtility.DisplayDialog("Cannot upload AAB", "Your AAB file exceeds file size limit.\nLimit: 150MB for AAB and 4GB for APK", "Okay");
|
|
84
|
+
return false;
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
else
|
|
88
|
+
{
|
|
89
|
+
EditorUtility.DisplayDialog("Cannot upload APK", "Your APK file exceeds file size limit.\nLimit: 150MB for AAB and 4GB for APK", "Okay");
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return EditorUtility.DisplayDialog("Upload After Build?", "Are you sure uploading package to AGC after build?\nFile Size: " +
|
|
95
|
+
fileSize + " MB", "Ok", "Cancel");
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
private static void UploadAnAppPackage(string filePath, string uploadUrl, string authCode)
|
|
99
|
+
{
|
|
100
|
+
int fileCount = 1;
|
|
101
|
+
string fileName = Path.GetFileName(filePath);
|
|
102
|
+
int parseType = 0;
|
|
103
|
+
byte[] fileByte = UnityEngine.Windows.File.ReadAllBytes(Path.Combine("", filePath));
|
|
104
|
+
string contentTypeHeader = "multipart/form-data";
|
|
105
|
+
MultipartFormFileSection file = new MultipartFormFileSection("file", fileByte, fileName, contentTypeHeader);
|
|
106
|
+
HMSWebRequestHelper.Instance.PostFormRequest(uploadUrl, file, authCode, fileCount.ToString(), parseType.ToString(),
|
|
107
|
+
async (response) => await UploadAnAppPackageResAsync(response),
|
|
108
|
+
"Uploading The Package",
|
|
109
|
+
"Uploading Package to URL..."
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
private static void UpdatingAppFileInfoRes(UnityWebRequest response)
|
|
114
|
+
{
|
|
115
|
+
var responseJson = JsonUtility.FromJson<UpdateFileInfoRes>(response.downloadHandler.text);
|
|
116
|
+
|
|
117
|
+
if (responseJson.ret.code == 0)
|
|
118
|
+
{
|
|
119
|
+
string versionLog = "";
|
|
120
|
+
if (responseJson.pkgVersion != null)
|
|
121
|
+
{
|
|
122
|
+
foreach (string version in responseJson.pkgVersion)
|
|
123
|
+
{
|
|
124
|
+
versionLog += version + ", ";
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
EditorUtility.ClearProgressBar();
|
|
128
|
+
Debug.Log("[HMS ConnectAPI] UpdatingAppFile Successful, retCode: " + responseJson.ret.code + ", retMessage " + responseJson.ret.msg + ", Versions: " + versionLog);
|
|
129
|
+
}
|
|
130
|
+
else
|
|
131
|
+
{
|
|
132
|
+
Debug.LogError("[HMS ConnectAPI] UpdatingAppFile Failed, retCode: " + responseJson.ret.code + ", retMessage " + responseJson.ret.msg);
|
|
133
|
+
EditorUtility.ClearProgressBar();
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
private static async Task UploadAnAppPackageResAsync(UnityWebRequest response)
|
|
138
|
+
{
|
|
139
|
+
var responseJson = JsonUtility.FromJson<UploadAppPackage>(response.downloadHandler.text);
|
|
140
|
+
|
|
141
|
+
if (!int.TryParse(responseJson.result.resultCode, out int resultCode) || resultCode != 0)
|
|
142
|
+
{
|
|
143
|
+
Debug.LogError($"[HMS ConnectAPI] GetUploadURL failed. Error Code: {responseJson.result.resultCode}.");
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
var fileInfo = new UpdateFileInfo
|
|
148
|
+
{
|
|
149
|
+
fileType = 5,
|
|
150
|
+
files = new Files
|
|
151
|
+
{
|
|
152
|
+
fileName = PlayerSettings.productName + (EditorUserBuildSettings.buildAppBundle ? ".aab" : ".apk"),
|
|
153
|
+
fileDestUrl = responseJson.result.UploadFileRsp.fileInfoList[0].fileDestUlr
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
string jsonValue = JsonUtility.ToJson(fileInfo);
|
|
158
|
+
string accessToken = await HMSWebUtils.GetAccessTokenAsync();
|
|
159
|
+
|
|
160
|
+
var headers = new Dictionary<string, string>
|
|
161
|
+
{
|
|
162
|
+
{"client_id", HMSConnectAPISettings.Instance.Settings.Get(HMSConnectAPISettings.ClientID)},
|
|
163
|
+
{"Authorization", "Bearer " + accessToken}
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
HMSWebRequestHelper.Instance.PutRequest(
|
|
167
|
+
$"https://connect-api.cloud.huawei.com/api/publish/v2/app-file-info?appId={HMSEditorUtils.GetAGConnectConfig().client.app_id}",
|
|
168
|
+
jsonValue,
|
|
169
|
+
headers,
|
|
170
|
+
UpdatingAppFileInfoRes
|
|
171
|
+
);
|
|
172
|
+
|
|
173
|
+
EditorUtility.DisplayProgressBar("Uploading The Package", "Uploading Package to AGC...", 0.3f);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
private static async Task GetUploadUrl(string filePath)
|
|
177
|
+
{
|
|
178
|
+
string accessToken = await HMSWebUtils.GetAccessTokenAsync();
|
|
179
|
+
string suffix = (UnityEditor.EditorUserBuildSettings.buildAppBundle) ? "aab" : "apk";
|
|
180
|
+
HMSWebRequestHelper.Instance.GetRequest("https://connect-api.cloud.huawei.com/api/publish/v2/upload-url?appId=" + HMSEditorUtils.GetAGConnectConfig().client.app_id + "&suffix=" + suffix,
|
|
181
|
+
new Dictionary<string, string>()
|
|
182
|
+
{
|
|
183
|
+
{"client_id", HMSConnectAPISettings.Instance.Settings.Get(HMSConnectAPISettings.ClientID) },
|
|
184
|
+
{"Authorization", "Bearer " + accessToken }
|
|
185
|
+
}, (res) =>
|
|
186
|
+
{
|
|
187
|
+
EditorUtility.DisplayProgressBar("Uploading The Package", "Getting Upload URL...", 0.3f);
|
|
188
|
+
onGetUploadUrl(res, filePath);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
private async Task RequestAppInfoAsync()
|
|
193
|
+
{
|
|
194
|
+
string accessToken = await HMSWebUtils.GetAccessTokenAsync();
|
|
195
|
+
HMSWebRequestHelper.Instance.GetRequest("https://connect-api.cloud.huawei.com/api/publish/v2/app-info?appId=" + HMSEditorUtils.GetAGConnectConfig().client.app_id,
|
|
196
|
+
new Dictionary<string, string>()
|
|
197
|
+
{
|
|
198
|
+
{"client_id", HMSConnectAPISettings.Instance.Settings.Get(HMSConnectAPISettings.ClientID) },
|
|
199
|
+
{"Authorization", "Bearer " + accessToken }
|
|
200
|
+
}, OnQueryingInfoResponse);
|
|
201
|
+
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
private static void onGetUploadUrl(UnityWebRequest response, string filePath)
|
|
205
|
+
{
|
|
206
|
+
var responseJson = JsonUtility.FromJson<UploadUrl>(response.downloadHandler.text);
|
|
207
|
+
|
|
208
|
+
if (responseJson.ret.code == 0)
|
|
209
|
+
{
|
|
210
|
+
Debug.Log("[HMS ConnectAPI] GetUploadURL Succeed. Trying to upload the package now...");
|
|
211
|
+
UploadAnAppPackage(filePath, responseJson.uploadUrl, responseJson.authCode);
|
|
212
|
+
EditorUtility.ClearProgressBar();
|
|
213
|
+
}
|
|
214
|
+
else
|
|
215
|
+
{
|
|
216
|
+
Debug.LogError($"[HMS ConnectAPI] GetUploadURL failed. Error Code: {responseJson.ret.code}, Error Message: {responseJson.ret.msg}.");
|
|
217
|
+
EditorUtility.ClearProgressBar();
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
private void OnQueryingInfoResponse(UnityWebRequest response)
|
|
222
|
+
{
|
|
223
|
+
var responseJson = JsonUtility.FromJson<QueryingAppInfoResJson>(response.downloadHandler.text);
|
|
224
|
+
|
|
225
|
+
if (responseJson.ret.code == 0)
|
|
226
|
+
{
|
|
227
|
+
|
|
228
|
+
if (responseJson.languages.Count > 0)
|
|
229
|
+
{
|
|
230
|
+
AppName.SetText(responseJson.languages[0].appName);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
Debug.Log("[HMS ConnectAPI] QueryingAppInfo parsed successfully.");
|
|
234
|
+
ReleaseState.SetText(((ReleaseStates)responseJson.appInfo.releaseState).ToString().Replace("_", " "));
|
|
235
|
+
|
|
236
|
+
foreach (var category in categoryLevel.Level1)
|
|
237
|
+
{
|
|
238
|
+
if (category.Key == responseJson.appInfo.parentType)
|
|
239
|
+
{
|
|
240
|
+
parentTypeString.SetText(category.Value);
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
foreach (var category in categoryLevel.Level2)
|
|
246
|
+
{
|
|
247
|
+
if (category.Key == responseJson.appInfo.childType)
|
|
248
|
+
{
|
|
249
|
+
childTypeString.SetText(category.Value);
|
|
250
|
+
break;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
foreach (var category in categoryLevel.Level3)
|
|
255
|
+
{
|
|
256
|
+
if (category.Key == responseJson.appInfo.grandChildType)
|
|
257
|
+
{
|
|
258
|
+
grandChildTypeString.SetText(category.Value);
|
|
259
|
+
break;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
}
|
|
264
|
+
else
|
|
265
|
+
{
|
|
266
|
+
Debug.LogError($"[HMS ConnectAPI] QueryingAppInfo failed. Error Code: {responseJson.ret.code}, Error Message: {responseJson.ret.msg}.");
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
#region JsonStuff
|
|
270
|
+
|
|
271
|
+
[Serializable]
|
|
272
|
+
private class UpdateFileInfo
|
|
273
|
+
{
|
|
274
|
+
public Files files;
|
|
275
|
+
public int fileType;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
[Serializable]
|
|
279
|
+
private class UpdateFileInfoRes
|
|
280
|
+
{
|
|
281
|
+
public Ret ret;
|
|
282
|
+
public string[] pkgVersion;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
[Serializable]
|
|
286
|
+
private class Files
|
|
287
|
+
{
|
|
288
|
+
public string fileName;
|
|
289
|
+
public string fileDestUrl;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
[Serializable]
|
|
293
|
+
private class FileInfoList
|
|
294
|
+
{
|
|
295
|
+
public string disposableURL;
|
|
296
|
+
public string fileDestUlr;
|
|
297
|
+
public int size;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
[Serializable]
|
|
301
|
+
private class UploadFileRsp
|
|
302
|
+
{
|
|
303
|
+
public List<FileInfoList> fileInfoList;
|
|
304
|
+
public int ifSuccess;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
[Serializable]
|
|
308
|
+
private class Result
|
|
309
|
+
{
|
|
310
|
+
public UploadFileRsp UploadFileRsp;
|
|
311
|
+
public string resultCode;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
[Serializable]
|
|
315
|
+
private class UploadAppPackage
|
|
316
|
+
{
|
|
317
|
+
public Result result;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
[Serializable]
|
|
322
|
+
private class Ret
|
|
323
|
+
{
|
|
324
|
+
public int code;
|
|
325
|
+
public string msg;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
[Serializable]
|
|
329
|
+
private class QueryingAppInfoResJson
|
|
330
|
+
{
|
|
331
|
+
public Ret ret;
|
|
332
|
+
public AppInfo appInfo;
|
|
333
|
+
public List<Languages> languages;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
[Serializable]
|
|
337
|
+
private class UploadUrl
|
|
338
|
+
{
|
|
339
|
+
public Ret ret;
|
|
340
|
+
public string uploadUrl;
|
|
341
|
+
public string chunkUploadUrl;
|
|
342
|
+
public string authCode;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
[Serializable]
|
|
346
|
+
private class AppInfo
|
|
347
|
+
{
|
|
348
|
+
public int releaseState;
|
|
349
|
+
public int parentType;
|
|
350
|
+
public int childType;
|
|
351
|
+
public int grandChildType;
|
|
352
|
+
public string contentRate;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
[Serializable]
|
|
356
|
+
private class Languages
|
|
357
|
+
{
|
|
358
|
+
public string appName;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
private enum ReleaseStates
|
|
362
|
+
{
|
|
363
|
+
released,
|
|
364
|
+
release_rejected,
|
|
365
|
+
removed,
|
|
366
|
+
releasing,
|
|
367
|
+
reviewing,
|
|
368
|
+
updating,
|
|
369
|
+
removal_requested,
|
|
370
|
+
draft,
|
|
371
|
+
update_rejected,
|
|
372
|
+
removal_rejected,
|
|
373
|
+
removed_by_developer,
|
|
374
|
+
release_canceled
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
private class CategoryLevel
|
|
378
|
+
{
|
|
379
|
+
public List<KeyValuePair<int, string>> Level1;
|
|
380
|
+
public List<KeyValuePair<int, string>> Level2;
|
|
381
|
+
public List<KeyValuePair<int, string>> Level3;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
private void InitializeCategoryLevels()
|
|
385
|
+
{
|
|
386
|
+
categoryLevel = new CategoryLevel();
|
|
387
|
+
|
|
388
|
+
categoryLevel.Level1 = new List<KeyValuePair<int, string>>();
|
|
389
|
+
categoryLevel.Level1.Add(new KeyValuePair<int, string>(-1, "Not Assigned"));
|
|
390
|
+
categoryLevel.Level1.Add(new KeyValuePair<int, string>(0, "Not Assigned"));
|
|
391
|
+
categoryLevel.Level1.Add(new KeyValuePair<int, string>(2, "Game"));
|
|
392
|
+
categoryLevel.Level1.Add(new KeyValuePair<int, string>(13, "App"));
|
|
393
|
+
|
|
394
|
+
categoryLevel.Level2 = new List<KeyValuePair<int, string>>();
|
|
395
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(-1, "Not Assigned"));
|
|
396
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(0, "Not Assigned"));
|
|
397
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(15, "Puzzle & casual"));
|
|
398
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(16, "Strategy"));
|
|
399
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(18, "Action"));
|
|
400
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(20, "Role-playing"));
|
|
401
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(21, "Card & board"));
|
|
402
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(22, "Sports games"));
|
|
403
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(23, "Entertainment"));
|
|
404
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(24, "Tools"));
|
|
405
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(25, "Finance"));
|
|
406
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(26, "Social"));
|
|
407
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(27, "Lifestyle"));
|
|
408
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(28, "Navigation & transport"));
|
|
409
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(29, "Personalized themes"));
|
|
410
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(30, "Education"));
|
|
411
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(31, "Sports & health"));
|
|
412
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(33, "Photo & video"));
|
|
413
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(345, "News & reading"));
|
|
414
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(358, "Shopping"));
|
|
415
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(359, "Food & drink"));
|
|
416
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(360, "Cars"));
|
|
417
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(361, "Travel"));
|
|
418
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(362, "Business"));
|
|
419
|
+
categoryLevel.Level2.Add(new KeyValuePair<int, string>(363, "Kids"));
|
|
420
|
+
|
|
421
|
+
categoryLevel.Level3 = new List<KeyValuePair<int, string>>();
|
|
422
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(-1, "Not Assigned"));
|
|
423
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(0, "Not Assigned"));
|
|
424
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10043, "Casual"));
|
|
425
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10044, "Puzzle"));
|
|
426
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10046, "Tile-matching"));
|
|
427
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10047, "Music"));
|
|
428
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10048, "Mystery"));
|
|
429
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10113, "IO"));
|
|
430
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10062, "Tower defense"));
|
|
431
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10122, "Historical strategy"));
|
|
432
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10123, "Modern strategy"));
|
|
433
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10063, "Business management"));
|
|
434
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10064, "Life simulation"));
|
|
435
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10065, "MOBA"));
|
|
436
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10053, "Fighting"));
|
|
437
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10054, "Running"));
|
|
438
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10055, "Shooting"));
|
|
439
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10056, "Flying"));
|
|
440
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10118, "Xianxia"));
|
|
441
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10120, "Legend"));
|
|
442
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10121, "Fantasy"));
|
|
443
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10119, "Wuxia"));
|
|
444
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10057, "Adventure"));
|
|
445
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10058, "Action"));
|
|
446
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10059, "Turn-based strategy"));
|
|
447
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10060, "Online multiplayer"));
|
|
448
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10061, "Trading cards"));
|
|
449
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10114, "Survival games"));
|
|
450
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10115, "Incremental games"));
|
|
451
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10108, "Fight the landlord"));
|
|
452
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10109, "Mahjong"));
|
|
453
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10110, "Board & chess"));
|
|
454
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10111, "Cards"));
|
|
455
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10500, "Fishing"));
|
|
456
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10049, "Racing"));
|
|
457
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10050, "Basketball"));
|
|
458
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10051, "Soccer"));
|
|
459
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10052, "Sports"));
|
|
460
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10066, "Music"));
|
|
461
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10067, "Videos"));
|
|
462
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10068, "TV"));
|
|
463
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10069, "Radio"));
|
|
464
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10070, "Karaoke"));
|
|
465
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10071, "Streaming"));
|
|
466
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10019, "Browsers"));
|
|
467
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10020, "Keyboards"));
|
|
468
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10021, "Wi-Fi"));
|
|
469
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10022, "Tools"));
|
|
470
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10023, "Alarms"));
|
|
471
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10024, "Security"));
|
|
472
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10034, "Banking"));
|
|
473
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10035, "Equity funds"));
|
|
474
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10036, "Personal finance"));
|
|
475
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10037, "Accounting"));
|
|
476
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10038, "Lottery"));
|
|
477
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10112, "Loans"));
|
|
478
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10039, "Chatting"));
|
|
479
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10040, "Community"));
|
|
480
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10041, "Communication"));
|
|
481
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10042, "Love & marriage"));
|
|
482
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10079, "Housekeeping"));
|
|
483
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10080, "Local life"));
|
|
484
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10081, "Rent and buy houses"));
|
|
485
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10082, "House refurbishment"));
|
|
486
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10083, "Movie tickets"));
|
|
487
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10084, "Weather & calendars"));
|
|
488
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10014, "Maps"));
|
|
489
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10015, "Navigation"));
|
|
490
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10016, "Transport & tickets"));
|
|
491
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10017, "Cars"));
|
|
492
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10018, "Public transport"));
|
|
493
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10001, "Ringtones"));
|
|
494
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10002, "Screen locks"));
|
|
495
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10003, "Wallpapers"));
|
|
496
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10004, "Launchers"));
|
|
497
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10095, "Learning"));
|
|
498
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10096, "English"));
|
|
499
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10097, "Translation"));
|
|
500
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10098, "Exams"));
|
|
501
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10005, "Health"));
|
|
502
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10006, "Well-being"));
|
|
503
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10007, "Sports"));
|
|
504
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10013, "Healthcare"));
|
|
505
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10025, "Photography"));
|
|
506
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10026, "Short videos"));
|
|
507
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10027, "Beautification"));
|
|
508
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10028, "AV editors"));
|
|
509
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10029, "Photo galleries"));
|
|
510
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10085, "Books"));
|
|
511
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10086, "News"));
|
|
512
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10087, "Anime & comics"));
|
|
513
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10088, "Audiobooks"));
|
|
514
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10089, "Magazines"));
|
|
515
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10090, "Humor"));
|
|
516
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10091, "Sports"));
|
|
517
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10501, "Directories"));
|
|
518
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10030, "Malls"));
|
|
519
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10116, "Shopping guides"));
|
|
520
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10031, "Group purchasing"));
|
|
521
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10032, "International shopping"));
|
|
522
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10117, "Deliveries and packages"));
|
|
523
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10033, "Discounts"));
|
|
524
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10075, "Recipes"));
|
|
525
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10076, "Take-out"));
|
|
526
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10077, "Catering"));
|
|
527
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10078, "Fresh food"));
|
|
528
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10099, "Car care"));
|
|
529
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10100, "Traffic violations"));
|
|
530
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10101, "Car info"));
|
|
531
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10102, "Driving test"));
|
|
532
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10072, "Travel"));
|
|
533
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10073, "Accommodation"));
|
|
534
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10074, "Travel assistance"));
|
|
535
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10103, "Business software"));
|
|
536
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10104, "Efficiency"));
|
|
537
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10105, "Notes"));
|
|
538
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10106, "Email"));
|
|
539
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10107, "Jobs"));
|
|
540
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10092, "Early learning"));
|
|
541
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10093, "Nursery rhymes"));
|
|
542
|
+
categoryLevel.Level3.Add(new KeyValuePair<int, string>(10094, "Mom & baby"));
|
|
543
|
+
}
|
|
544
|
+
#endregion
|
|
545
|
+
}
|
|
546
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
using HmsPlugin.Window;
|
|
2
|
+
|
|
3
|
+
using UnityEditor;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
|
|
6
|
+
namespace HmsPlugin
|
|
7
|
+
{
|
|
8
|
+
public class QueryingAppInformationWindow : HMSEditorWindow
|
|
9
|
+
{
|
|
10
|
+
[MenuItem("Huawei/Connect API/Publishing API/Querying App Information")]
|
|
11
|
+
public static void ShowQueryingAppInformationWindow()
|
|
12
|
+
{
|
|
13
|
+
GetWindow(typeof(QueryingAppInformationWindow), false, "Querying App Information").minSize = new UnityEngine.Vector2(400, 700);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Validate the menu item defined by the function above.
|
|
17
|
+
// The menu item will be disabled if this function returns false.
|
|
18
|
+
[MenuItem("Huawei/Connect API/Publishing API/Querying App Information", true)]
|
|
19
|
+
static bool ValidateShowQueryingAppInformationWindow()
|
|
20
|
+
{
|
|
21
|
+
Debug.Log("ValidateShowQueryingAppInformationWindow");
|
|
22
|
+
return !string.IsNullOrEmpty(HMSConnectAPISettings.Instance.Settings.Get(HMSConnectAPISettings.AccessToken, ""));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
public override IDrawer CreateDrawer()
|
|
26
|
+
{
|
|
27
|
+
var tabBar = new TabBar();
|
|
28
|
+
HMSPublishingAPITabFactory.CreateQueryingAppInformationTab(tabBar);
|
|
29
|
+
return tabBar;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|