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,111 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using System.Linq;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
|
|
6
|
+
namespace HmsPlugin
|
|
7
|
+
{
|
|
8
|
+
public interface IIAPProductManipulator : ICollectionManipulator
|
|
9
|
+
{
|
|
10
|
+
IEnumerable<HMSIAPProductEntry> GetAllProducts();
|
|
11
|
+
void RemoveProduct(HMSIAPProductEntry product);
|
|
12
|
+
AddIAPProductValueResult AddProduct(string identifier, HMSIAPProductType type);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
public class IAPProductManipulator : IIAPProductManipulator
|
|
17
|
+
{
|
|
18
|
+
public event Action OnRefreshRequired;
|
|
19
|
+
|
|
20
|
+
private HMSSettings _settings;
|
|
21
|
+
private List<HMSIAPProductEntry> _productList;
|
|
22
|
+
public IAPProductManipulator(HMSSettings settings)
|
|
23
|
+
{
|
|
24
|
+
_settings = settings;
|
|
25
|
+
_productList = new List<HMSIAPProductEntry>();
|
|
26
|
+
for (int i = 0; i < _settings.Keys.Count(); i++)
|
|
27
|
+
{
|
|
28
|
+
if (Enum.TryParse(_settings.Values.ElementAt(i), out HMSIAPProductType productType))
|
|
29
|
+
{
|
|
30
|
+
_productList.Add(new HMSIAPProductEntry(_settings.Keys.ElementAt(i), productType));
|
|
31
|
+
}
|
|
32
|
+
else
|
|
33
|
+
{
|
|
34
|
+
// Handle the case where the value could not be parsed to a HMSIAPProductType
|
|
35
|
+
// This could be logging an error, throwing an exception, etc.
|
|
36
|
+
Debug.LogError($"Invalid HMSIAPProductType value: {_settings.Values.ElementAt(i)}");
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public AddIAPProductValueResult AddProduct(string identifier, HMSIAPProductType type)
|
|
42
|
+
{
|
|
43
|
+
identifier = identifier.PreprocessValue();
|
|
44
|
+
var canAdd = CanAdd(identifier);
|
|
45
|
+
if (canAdd == AddIAPProductValueResult.OK)
|
|
46
|
+
{
|
|
47
|
+
_productList.Add(new HMSIAPProductEntry(identifier, type));
|
|
48
|
+
_settings.Set(identifier, type.ToString());
|
|
49
|
+
RequireRefresh();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return canAdd;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
private void RequireRefresh()
|
|
56
|
+
{
|
|
57
|
+
OnRefreshRequired.InvokeSafe();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
private AddIAPProductValueResult CanAdd(string identifier)
|
|
61
|
+
{
|
|
62
|
+
if (string.IsNullOrEmpty(identifier)) return AddIAPProductValueResult.Invalid;
|
|
63
|
+
|
|
64
|
+
foreach (var products in _productList)
|
|
65
|
+
{
|
|
66
|
+
if (products.Identifier.Equals(identifier))
|
|
67
|
+
{
|
|
68
|
+
return AddIAPProductValueResult.AlreadyExists;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return AddIAPProductValueResult.OK;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public void Dispose()
|
|
75
|
+
{
|
|
76
|
+
OnRefreshRequired = null;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public IEnumerable<HMSIAPProductEntry> GetAllProducts()
|
|
80
|
+
{
|
|
81
|
+
return _productList;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public int GetProductCount()
|
|
85
|
+
{
|
|
86
|
+
return _productList.Count;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
public void RemoveProduct(HMSIAPProductEntry product)
|
|
90
|
+
{
|
|
91
|
+
Debug.Assert(_productList.Contains(product), "Failed to find " + product.Identifier + " in IAP Product Settings file!");
|
|
92
|
+
_productList.Remove(product);
|
|
93
|
+
_settings.Remove(product.Identifier);
|
|
94
|
+
RequireRefresh();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public void ClearAllProducts()
|
|
98
|
+
{
|
|
99
|
+
_productList.Clear();
|
|
100
|
+
_settings.Clear();
|
|
101
|
+
RequireRefresh();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public enum AddIAPProductValueResult
|
|
106
|
+
{
|
|
107
|
+
OK,
|
|
108
|
+
AlreadyExists,
|
|
109
|
+
Invalid
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using System.Diagnostics;
|
|
4
|
+
using System.IO;
|
|
5
|
+
using System.Linq;
|
|
6
|
+
using System.Text.RegularExpressions;
|
|
7
|
+
using UnityEditor;
|
|
8
|
+
using UnityEngine;
|
|
9
|
+
|
|
10
|
+
namespace HmsPlugin
|
|
11
|
+
{
|
|
12
|
+
public class HMSKeyToolWindow : EditorWindow
|
|
13
|
+
{
|
|
14
|
+
#region Variables
|
|
15
|
+
private const string KeyToolHelpCommand = "-help";
|
|
16
|
+
|
|
17
|
+
// File and password information.
|
|
18
|
+
private string filePath = string.Empty;
|
|
19
|
+
private string password = string.Empty;
|
|
20
|
+
private string aliasPassword = string.Empty;
|
|
21
|
+
private List<string> aliases = new List<string>();
|
|
22
|
+
private int selectedAliasIndex = 0;
|
|
23
|
+
|
|
24
|
+
// Drag-and-drop state.
|
|
25
|
+
private bool isKeystoreDropped = false;
|
|
26
|
+
|
|
27
|
+
// SHA-256 result and command execution.
|
|
28
|
+
private string sha256 = string.Empty;
|
|
29
|
+
private bool isExecutable = false;
|
|
30
|
+
|
|
31
|
+
#endregion
|
|
32
|
+
|
|
33
|
+
void OnGUI()
|
|
34
|
+
{
|
|
35
|
+
GUILayout.Label("Key Tool Drag & Drop Tool", EditorStyles.boldLabel);
|
|
36
|
+
EditorGUILayout.Space();
|
|
37
|
+
EditorGUILayout.HelpBox("Drag and drop your keystore file below to generate SHA-256.", MessageType.Info);
|
|
38
|
+
EditorGUILayout.Space();
|
|
39
|
+
|
|
40
|
+
// Drag and drop area.
|
|
41
|
+
Rect dropArea = GUILayoutUtility.GetRect(0.0f, 50.0f, GUILayout.ExpandWidth(true));
|
|
42
|
+
GUI.Box(dropArea, "Drag & Drop Keystore File Here");
|
|
43
|
+
HandleDragAndDrop(dropArea);
|
|
44
|
+
|
|
45
|
+
if (isKeystoreDropped)
|
|
46
|
+
{
|
|
47
|
+
ShowPasswordField("Keystore", ref password, ref isExecutable);
|
|
48
|
+
if (aliases.Count > 0)
|
|
49
|
+
{
|
|
50
|
+
ShowAliasSelection();
|
|
51
|
+
ShowPasswordField("Alias", ref aliasPassword, ref isExecutable);
|
|
52
|
+
}
|
|
53
|
+
ShowActionButton();
|
|
54
|
+
ShowSHA256Result();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
private void ShowPasswordField(string label, ref string passwordField, ref bool controlState)
|
|
58
|
+
{
|
|
59
|
+
EditorGUILayout.Space();
|
|
60
|
+
string enteredPassword = EditorGUILayout.PasswordField($"{label} Password", passwordField);
|
|
61
|
+
|
|
62
|
+
if (!string.IsNullOrWhiteSpace(enteredPassword))
|
|
63
|
+
{
|
|
64
|
+
passwordField = enteredPassword;
|
|
65
|
+
controlState = true;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
private void ShowAliasSelection()
|
|
69
|
+
{
|
|
70
|
+
EditorGUILayout.Space();
|
|
71
|
+
GUILayout.Label("Select your alias:");
|
|
72
|
+
EditorGUI.BeginChangeCheck();
|
|
73
|
+
selectedAliasIndex = EditorGUILayout.Popup("Alias", selectedAliasIndex, aliases.ToArray());
|
|
74
|
+
if (EditorGUI.EndChangeCheck())
|
|
75
|
+
{
|
|
76
|
+
sha256 = string.Empty;
|
|
77
|
+
aliasPassword = string.Empty;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
private void ShowActionButton()
|
|
81
|
+
{
|
|
82
|
+
if (isExecutable)
|
|
83
|
+
{
|
|
84
|
+
EditorGUILayout.Space();
|
|
85
|
+
string buttonName = aliases.Count > 0 ? "Obtain SHA-256" : "Run";
|
|
86
|
+
if (GUILayout.Button(buttonName))
|
|
87
|
+
{
|
|
88
|
+
ExecuteKeyTool();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
private void ShowSHA256Result()
|
|
93
|
+
{
|
|
94
|
+
if (!string.IsNullOrWhiteSpace(sha256))
|
|
95
|
+
{
|
|
96
|
+
EditorGUILayout.Space();
|
|
97
|
+
GUILayout.Label("Selected File: " + Path.GetFileName(filePath));
|
|
98
|
+
EditorGUILayout.Space();
|
|
99
|
+
GUILayout.Label("Your SHA-256: \n" + sha256, EditorStyles.wordWrappedLabel);
|
|
100
|
+
EditorGUILayout.Space();
|
|
101
|
+
if (GUILayout.Button("Copy SHA-256 to Clipboard"))
|
|
102
|
+
{
|
|
103
|
+
GUIUtility.systemCopyBuffer = sha256;
|
|
104
|
+
EditorUtility.DisplayDialog("SHA-256 Copied", "The SHA-256 hash has been copied to clipboard.", "OK");
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
private void HandleDragAndDrop(Rect dropArea)
|
|
109
|
+
{
|
|
110
|
+
Event evt = Event.current;
|
|
111
|
+
if ((evt.type == EventType.DragUpdated || evt.type == EventType.DragPerform) && dropArea.Contains(evt.mousePosition))
|
|
112
|
+
{
|
|
113
|
+
DragAndDrop.visualMode = DragAndDropVisualMode.Copy;
|
|
114
|
+
if (evt.type == EventType.DragPerform || evt.type == EventType.DragUpdated)
|
|
115
|
+
{
|
|
116
|
+
DragDropOperations();
|
|
117
|
+
}
|
|
118
|
+
else if (evt.type == EventType.DragExited)
|
|
119
|
+
{
|
|
120
|
+
DragAndDrop.PrepareStartDrag();
|
|
121
|
+
}
|
|
122
|
+
evt.Use();
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
private void DragDropOperations()
|
|
126
|
+
{
|
|
127
|
+
DragAndDrop.AcceptDrag();
|
|
128
|
+
DragAndDrop.activeControlID = GUIUtility.GetControlID(FocusType.Passive);
|
|
129
|
+
|
|
130
|
+
filePath = DragAndDrop.paths.FirstOrDefault() ?? string.Empty;
|
|
131
|
+
isKeystoreDropped = !string.IsNullOrWhiteSpace(filePath) && filePath.EndsWith(".keystore", StringComparison.OrdinalIgnoreCase);
|
|
132
|
+
if (!isKeystoreDropped)
|
|
133
|
+
{
|
|
134
|
+
EditorUtility.DisplayDialog("Invalid File", "Please drop a .keystore file.", "OK");
|
|
135
|
+
}
|
|
136
|
+
else
|
|
137
|
+
{
|
|
138
|
+
isExecutable = false;
|
|
139
|
+
sha256 = string.Empty;
|
|
140
|
+
aliases = new List<string>();
|
|
141
|
+
password = string.Empty;
|
|
142
|
+
aliasPassword = string.Empty;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
private void ExecuteKeyTool()
|
|
146
|
+
{
|
|
147
|
+
// Check if KeyTool executable is available.
|
|
148
|
+
string keytoolPath = CheckKeyTool();
|
|
149
|
+
if (keytoolPath == "Keytool is not available.")
|
|
150
|
+
{
|
|
151
|
+
EditorUtility.DisplayDialog("Keytool Not Found", "Unable to find Keytool in your environment.", "OK");
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
string arguments = $"-list -v -keystore \"{filePath}\" -storepass {password}";
|
|
156
|
+
if (aliases.Count > 0)
|
|
157
|
+
{
|
|
158
|
+
arguments += $" -keypass {aliasPassword} -alias {aliases[selectedAliasIndex]}";
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// Start the KeyTool process.
|
|
162
|
+
ProcessStartInfo startInfo = new ProcessStartInfo
|
|
163
|
+
{
|
|
164
|
+
FileName = keytoolPath,
|
|
165
|
+
Arguments = arguments,
|
|
166
|
+
UseShellExecute = false,
|
|
167
|
+
RedirectStandardOutput = true,
|
|
168
|
+
RedirectStandardError = true,
|
|
169
|
+
CreateNoWindow = true
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
using (Process process = Process.Start(startInfo))
|
|
173
|
+
{
|
|
174
|
+
string output = process.StandardOutput.ReadToEnd();
|
|
175
|
+
string errorOutput = process.StandardError.ReadToEnd();
|
|
176
|
+
var errorCheck = errorOutput.ToLower().Contains("error") || output.ToLower().Contains("error");
|
|
177
|
+
process.WaitForExit();
|
|
178
|
+
|
|
179
|
+
if (errorCheck)
|
|
180
|
+
{
|
|
181
|
+
string errorMessage = !string.IsNullOrWhiteSpace(errorOutput) ? errorOutput : output;
|
|
182
|
+
|
|
183
|
+
EditorUtility.DisplayDialog("Keytool Error", $"An error occurred: {errorMessage}", "OK");
|
|
184
|
+
}
|
|
185
|
+
else
|
|
186
|
+
{
|
|
187
|
+
if (aliases.Count > 0)
|
|
188
|
+
{
|
|
189
|
+
sha256 = ExtractSHA256(output);
|
|
190
|
+
}
|
|
191
|
+
else
|
|
192
|
+
{
|
|
193
|
+
aliases = GetAliasNames(output);
|
|
194
|
+
if (aliases.Count == 0)
|
|
195
|
+
EditorUtility.DisplayDialog("No Aliases Found", "No aliases found in the keystore file.", "OK");
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
private string ExtractSHA256(string input)
|
|
201
|
+
{
|
|
202
|
+
var match = Regex.Match(input, @"SHA-?256:\s*(\S+)");
|
|
203
|
+
return match.Success ? match.Groups[1].Value : null;
|
|
204
|
+
}
|
|
205
|
+
private List<string> GetAliasNames(string text)
|
|
206
|
+
{
|
|
207
|
+
return Regex.Matches(text, @"Alias name: (.+)")
|
|
208
|
+
.Cast<Match>()
|
|
209
|
+
.Select(m => m.Groups[1].Value.Trim())
|
|
210
|
+
.ToList();
|
|
211
|
+
}
|
|
212
|
+
private string CheckKeyTool()
|
|
213
|
+
{
|
|
214
|
+
string keytoolPath = "keytool";
|
|
215
|
+
try
|
|
216
|
+
{
|
|
217
|
+
ProcessStartInfo startInfo = new ProcessStartInfo
|
|
218
|
+
{
|
|
219
|
+
FileName = keytoolPath,
|
|
220
|
+
Arguments = KeyToolHelpCommand,
|
|
221
|
+
UseShellExecute = false,
|
|
222
|
+
RedirectStandardOutput = true,
|
|
223
|
+
CreateNoWindow = true
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
using (Process process = Process.Start(startInfo))
|
|
227
|
+
{
|
|
228
|
+
process.WaitForExit();
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
return keytoolPath;
|
|
232
|
+
}
|
|
233
|
+
catch (Exception)
|
|
234
|
+
{
|
|
235
|
+
//if windows
|
|
236
|
+
return Path.GetDirectoryName(Path.Combine(EditorApplication.applicationContentsPath, "PlaybackEngines\\AndroidPlayer\\OpenJDK\\bin\\keytool.exe\\")).Replace("\\", "/");
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
namespace HmsPlugin
|
|
2
|
+
{
|
|
3
|
+
public class APMToggleEditor : ToggleEditor, IDrawer
|
|
4
|
+
{
|
|
5
|
+
|
|
6
|
+
public const string APMEnabled = "APM";
|
|
7
|
+
|
|
8
|
+
public APMToggleEditor()
|
|
9
|
+
{
|
|
10
|
+
bool enabled = HMSMainEditorSettings.Instance.Settings.GetBool(APMEnabled);
|
|
11
|
+
_toggle = new Toggle.Toggle("APM", enabled, OnStateChanged, true);
|
|
12
|
+
Enabled = enabled;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
private void OnStateChanged(bool value)
|
|
16
|
+
{
|
|
17
|
+
if (value)
|
|
18
|
+
{
|
|
19
|
+
EnableToggle();
|
|
20
|
+
}
|
|
21
|
+
else
|
|
22
|
+
{
|
|
23
|
+
DisableToggle();
|
|
24
|
+
}
|
|
25
|
+
HMSMainEditorSettings.Instance.Settings.SetBool(APMEnabled, value);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public void Draw()
|
|
29
|
+
{
|
|
30
|
+
_toggle.Draw();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public override void EnableToggle()
|
|
34
|
+
{
|
|
35
|
+
if (!HMSPluginSettings.Instance.Settings.GetBool(PluginToggleEditor.PluginEnabled, true))
|
|
36
|
+
return;
|
|
37
|
+
|
|
38
|
+
Enabled = true;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public override void DisableToggle()
|
|
42
|
+
{
|
|
43
|
+
Enabled = false;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public override void RemoveToggleTabView(bool removeTabs)
|
|
47
|
+
{
|
|
48
|
+
//throw new NotImplementedException(); Not Implemented because not needed.
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public override void RefreshToggles()
|
|
52
|
+
{
|
|
53
|
+
if (_toggle != null)
|
|
54
|
+
{
|
|
55
|
+
_toggle.SetChecked(HMSMainEditorSettings.Instance.Settings.GetBool(APMEnabled));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
using UnityEditor;
|
|
2
|
+
|
|
3
|
+
namespace HmsPlugin
|
|
4
|
+
{
|
|
5
|
+
public class AccountToggleEditor : ToggleEditor, IDrawer, IDependentToggle
|
|
6
|
+
{
|
|
7
|
+
public const string AccountKitEnabled = "AccountKit";
|
|
8
|
+
|
|
9
|
+
public AccountToggleEditor()
|
|
10
|
+
{
|
|
11
|
+
bool enabled = HMSMainEditorSettings.Instance.Settings.GetBool(AccountKitEnabled);
|
|
12
|
+
_toggle = new Toggle.Toggle("Account Kit", enabled, OnStateChanged, true);
|
|
13
|
+
Enabled = enabled;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
private void OnStateChanged(bool value)
|
|
17
|
+
{
|
|
18
|
+
if (value)
|
|
19
|
+
{
|
|
20
|
+
EnableToggle();
|
|
21
|
+
}
|
|
22
|
+
else
|
|
23
|
+
{
|
|
24
|
+
if (HMSMainEditorSettings.Instance.Settings.GetBool(GameServiceToggleEditor.GameServiceEnabled))
|
|
25
|
+
{
|
|
26
|
+
EditorUtility.DisplayDialog("Error", "Game Service is dependent on AccountKit. Please disable Game Service first.", "OK");
|
|
27
|
+
_toggle.SetChecked(true);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (HMSMainEditorSettings.Instance.Settings.GetBool(DriveKitToggleEditor.DriveKitEnabled))
|
|
31
|
+
{
|
|
32
|
+
EditorUtility.DisplayDialog("Error", "DriveKit is dependent on AccountKit. Please disable DriveKit first.", "OK");
|
|
33
|
+
_toggle.SetChecked(true);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
DisableToggle();
|
|
38
|
+
}
|
|
39
|
+
HMSMainEditorSettings.Instance.Settings.SetBool(AccountKitEnabled, value);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public void Draw()
|
|
43
|
+
{
|
|
44
|
+
_toggle.Draw();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public void SetToggle()
|
|
48
|
+
{
|
|
49
|
+
_toggle.SetChecked(true);
|
|
50
|
+
HMSMainEditorSettings.Instance.Settings.SetBool(AccountKitEnabled, true);
|
|
51
|
+
EnableToggle();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public override void EnableToggle()
|
|
55
|
+
{
|
|
56
|
+
if (!HMSPluginSettings.Instance.Settings.GetBool(PluginToggleEditor.PluginEnabled, true))
|
|
57
|
+
return;
|
|
58
|
+
Enabled = true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public override void DisableToggle()
|
|
62
|
+
{
|
|
63
|
+
Enabled = false;
|
|
64
|
+
}
|
|
65
|
+
public override void RemoveToggleTabView(bool removeTabs)
|
|
66
|
+
{
|
|
67
|
+
//throw new NotImplementedException();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public override void RefreshToggles()
|
|
71
|
+
{
|
|
72
|
+
if (_toggle != null)
|
|
73
|
+
{
|
|
74
|
+
_toggle.SetChecked(HMSMainEditorSettings.Instance.Settings.GetBool(AccountKitEnabled));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
namespace HmsPlugin
|
|
2
|
+
{
|
|
3
|
+
public class AdsToggleEditor : ToggleEditor, IDrawer
|
|
4
|
+
{
|
|
5
|
+
private TabBar _tabBar;
|
|
6
|
+
private TabView _tabView;
|
|
7
|
+
|
|
8
|
+
public const string AdsKitEnabled = "AdsKit";
|
|
9
|
+
|
|
10
|
+
public AdsToggleEditor(TabBar tabBar)
|
|
11
|
+
{
|
|
12
|
+
bool enabled = HMSMainEditorSettings.Instance.Settings.GetBool(AdsKitEnabled);
|
|
13
|
+
_tabView = HMSAdsTabFactory.CreateTab("Ads");
|
|
14
|
+
_tabBar = tabBar;
|
|
15
|
+
_toggle = new Toggle.Toggle("Ads Kit", enabled, OnStateChanged, true);
|
|
16
|
+
Enabled = enabled;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
private void OnStateChanged(bool value)
|
|
20
|
+
{
|
|
21
|
+
if (value)
|
|
22
|
+
{
|
|
23
|
+
EnableToggle();
|
|
24
|
+
}
|
|
25
|
+
else
|
|
26
|
+
{
|
|
27
|
+
DisableToggle();
|
|
28
|
+
}
|
|
29
|
+
HMSMainEditorSettings.Instance.Settings.SetBool(AdsKitEnabled, value);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public void Draw()
|
|
33
|
+
{
|
|
34
|
+
_toggle.Draw();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public override void EnableToggle()
|
|
38
|
+
{
|
|
39
|
+
if (!HMSPluginSettings.Instance.Settings.GetBool(PluginToggleEditor.PluginEnabled, true))
|
|
40
|
+
return;
|
|
41
|
+
|
|
42
|
+
if (_tabBar != null && _tabView != null)
|
|
43
|
+
_tabBar.AddTab(_tabView);
|
|
44
|
+
Enabled = true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public override void DisableToggle()
|
|
48
|
+
{
|
|
49
|
+
if (_tabBar != null && _tabView != null)
|
|
50
|
+
_tabBar.RemoveTab(_tabView);
|
|
51
|
+
Enabled = false;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public override void RemoveToggleTabView(bool removeTabs)
|
|
55
|
+
{
|
|
56
|
+
if (removeTabs)
|
|
57
|
+
{
|
|
58
|
+
if (_tabBar != null && _tabView != null)
|
|
59
|
+
_tabBar.RemoveTab(_tabView);
|
|
60
|
+
}
|
|
61
|
+
else
|
|
62
|
+
{
|
|
63
|
+
if (_tabBar != null && _tabView != null)
|
|
64
|
+
_tabBar.AddTab(_tabView);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
public override void RefreshToggles()
|
|
69
|
+
{
|
|
70
|
+
if (_toggle != null)
|
|
71
|
+
{
|
|
72
|
+
_toggle.SetChecked(HMSMainEditorSettings.Instance.Settings.GetBool(AdsKitEnabled));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|