Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developed a "key tool" to the utils menu for quickly obtaining the SHA-256 key. #446

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Developed a "key tool" to the utils menu for quickly obtaining the SHA-256 key. #446

merged 2 commits into from
Nov 27, 2023

Conversation

Andronovo-bit
Copy link
Collaborator

This pull request adds a new feature called "Key Tool" to the utils menu. The "Key Tool" allows users to quickly obtain the SHA-256 key. It includes the following changes:

  • Created a new file called KeyToolTab under the Editor/View directory.

  • Added HMSKeyToolWindow.cs file for all key tool operations.

  • Added a new menu item "Huawei/Utils/Key Tool" for accessing the key tool.

These changes enhance the functionality of the application by providing an easy way to obtain the SHA-256 key.

…A-256 key.

-Created a KeyToolTab file under the Editor/View.
-Added HMSKeyToolWindow.cs for all operations.
-Added "Huawei/Utils/Key Tool" menu.
@alihan98ersoy alihan98ersoy merged commit 25393c0 into EvilMindDevs:master Nov 27, 2023
alihan98ersoy added a commit that referenced this pull request Apr 16, 2024
Changes in the master for 2019-2022 version merged to the 2018 branch to release a new version.

* Update README.md

* HUP-355 added for IAP subscriptions - redirecting editing and management screen methods

* HUP-354 Bee folder cause bug fixed

![deleteBee](https://user-images.githubusercontent.com/39373386/198000432-534561e6-afa1-4831-be90-89fa2b2afa64.jpg)

* HUP: 329,377,379 (#381)

* HUP-379: Editor unitypackage exporting missing command about -Assets/Huawei/Prefabs-  has been added

* HUP-377: IAP Demo , add subscription management functionality

* HUP-329: when all kits were enabled there used to be build error . SOLVED

* update version file

* HUP-208: Unity Purchase - Demo Scene (#388)

A demo scene created for Unity Purchase

* Native ad added (#387)

* NativeAd added

* Upgraded the ads kit version
com.huawei.hms:ads-lite:13.4.54.300 => com.huawei.hms:ads-lite:13.4.58.301

* Update VERSION

* Update HMSGradleWorker.cs (#389)

com.huawei.hms:ads-consent:3.4.54.300 => com.huawei.hms:ads-consent:3.4.58.304

* Update VERSION (#390)

fixed

* HUP-403: Cloud Storage Byte Array Improvement

* Update HMSAnalyticsKitManager.cs

HUP-411 non Async sending events fixed.

* In app comment (#395)

* In-app comment fix

* Update version to 2.2.9 (#396)

* HUP376: Refactor and Improve IAP Kit and IAP Demo

* HUP328: CloudDB , remove dependencies from HMSCloudDBManager to classes (user-defined)

* Hup419 update kits (#400)

Kits updated

Auth Demo:
Null object fixed

* Update VERSION (#401)

* HUP337: Cloud Storage and demo Improvement (#403)

* HUP-581 NativeAds fix for clicking on it when real ads displayed (#404)

When real ads showed click was not working and click_catcher was fixed.

* V2.3.1 (#405)

* Update HMSCloudStorageManager.cs

* Update VERSION

* Update README.md

* GameServiceMinorChanges

- GetUserPlayState and IsAllowContinuePlayGames added. These functions should provide convenience for game developers who need to comply with China's age restriction policies for certain games.
- Logs and failure listeners redesigned.

* Ads kit minor changes (#410)

- InstallReferrerFail action's return type change from void to InstallReferrerResponse.
- Ads kit manager and scene scripts minor syntax changes

* HUP-598 : Unity IAP , providing purchase token after purchasing

* Updated Version V2.3.2

* [HUP-579] Create Scene and manager for Modeling3d and add to the plugin menu.
-HMSGradleWorker editing some improvement for  hmsLauncherTemplate and added Modeling3dkit dependency. in gradleSettings.
- Note: Necessary permissions should added to the manifest file.

* [HUP-579] Create PlayerPrefsJsonDatabase and JsonHelper for saving and loading JSON data to/from PlayerPrefs.
- PlayerPrefsJsonDatabase is a dynamic type database that uses PlayerPrefs to store JSON data, also fundumantal CRUD operations are supported.

* [HUP-579] Edited modeling3d reconstruct demo manager.
-Edited modeling3d reconstruct manager.
-Added TaskDisplay class.
-Added progressBar
-Added Mdeling3dDTO for modeling3d reconstruct.
-Edited Modelind3dListener class name.
-Resolved playerprefs json db update problem.
-Added manifest file for android 3d modeling. (Assets\Huawei\Plugins\Android\HMSUnityModelingKit.plugin\AndroidManifest.xml)

* [HUP-579] Added 3dModelingkit own manifest file importer and build.gradle file.

* Script changes before accept pr

* KitSettingsCleared

* Script Changes

* Update VERSION

* Update README.md

* Hup 529 gradle7.2 fix (#428)

* If UNITY_2022_2_OR_NEWER added to HMSGradleFixer
Gradle 7.2(Unity 2022.2 and upper) now supported -> Related with #426

* Iap second demo scene (#429)

* A bool input has been added to the PurchaseProduct method to prevent it from being consumed optionally. Thus, those who wish can make their own consumption.
* isUserOwnThisProduct method was added to see if the user has a specific product. (You need to call after initSuccess)
* isIapAvailable method added.
* GetAllOwnedPurchasesasList method added. This method will return owned products. (You need to call after initSuccess)
* GetProductsList method added. This method will return information on products as a list. (You need to call after initSuccess)

**_Reminder:_** You can still use the GetProductInfo method for specific products.

* OnObtainOwnedPurchasesSuccess & OnObtainOwnedPurchaseRecordSuccess callbacks fixed.

_**Reminder:**_ When testing non-consumable products with a sandbox, if you consume the product, you will not see that you have the product. If you don't consume, you can also see ownedpurchases. Just consume the product before you test repurchase. This is only for sandbox testing, in a normal process, you should consume after purchase.

* Second IAP demo scene has been created to show how to use IAP and Account kit in multiple scenes.

* V2.3.4 (#430)

* kit settings cleared (#431)

* Create IssueLabeling.yml

* Update README.md

* Update README.md

new discord url

* 3DModeling included even not enabled problem fixed (#440)

* 3DModeling included even not enabled problem fixed

* Update MainMenuManager.cs

* Added Google Play Release area that  HMS Core Installer is  can be "Enabled" or "Disabled" in Common Libraries tab.

- The toggle state is saved in the editor settings.
- Some made improvements BaseProjectGradleFile function. First created all json file using StringBuilder and then writing file.

* Refactored toggle labels and key names that wanted on Pull-Request

- Updated toggle label and key name for HMS Core Installer
- Updated method name for HMS Core Installer toggle event handler

* Github Action and Ads Kit Consent Null Check

ask-for-star.yml has added.
Consent methods issue error 364 fix for HMSAdsKitManager.

* Update ask-for-star.yml

"Resource not accessible by integration" fixed

* Developed a "key tool" to the utils menu for quickly obtaining the SHA-256 key. (#446)

* Developed a "key tool" to the utils menu for quickly obtaining the SHA-256 key.
-Created a KeyToolTab file under the Editor/View.
-Added HMSKeyToolWindow.cs for all operations.
-Added "Huawei/Utils/Key Tool" menu.

* HUP-448 added ability to pass developerPayload string into each InAppPurchaseData thru PurchaseProduct method. (#450)

* Added ability to pass developerPayload string into each InAppPurchaseData through PurchaseProduct method.

* Added a new callback named OnBuyProductFailurePurchaseResultInfo to return PurchaseResultInfo when purchase failure.

* added ability to disable automatic consumption purchases while initialization IAP process (#451)

* Consume toggle added to disable automatic consumption purchases during initialization IAP process

* 3d model improvement & fixes (#452)

* Scenes and DLL changed

* Update TaskListDisplay to fix syntax

* Update Modeling3dDemoManager.cs

* Success condition fixed for tasklist.
* TaskID logic changed.
* Syntax fixed.

* Update Modeling3dMeterialDemoManager.cs

* TaskID logic changed.
* APIKey logic changed.
* Result & Progress & Error listener added to upload as an example.
* Modeling3dTextureSetting null issue fixed.
* Added folder picker for uploading & downloading material.
* MaterialPreview method added.
* Syntax fixed.

* Modeling tab created

* ModelingManagers updated.

* Material upload listener fixed.
* Path logic fixed.
* ProgressStatus, and RestrictStatus added.
* Syntax fixed.

* ModelingKit Android package removed.

It has manifest and gradleTemplate.properties.
* Manifest for permissions.
* gradleTemplate.properties for enabling AndroidX.
Now they need to implement it manually.

* Meta files added

* Create HMSModelingKitSettings.cs

* Delete HMSUnityModelingKit.plugin.meta

* IdentifyProgressStatus method added
* No API key causing NullPointerexception fixed
* Task list no TASKID Download fixed
* Task list status meaning added.
* Getting APIKEY from ModelingKitSetting fixed.
* TaskList reorganized

* Updated Version V2.3.5

* Update HMSKeyToolWindow.cs

* Update IssueLabeling.yml

* Created HMSManagerStart and HMSException handler for global exception handle and common start operation for HMSManagers.
HMSSingleton edited the Lazy<T> structure instead of the IF check for class instance.

* 17 HMS kit managers were updated according to the new HMS common start.
-And some managers added common tags.
-fixed some spelling mistakes in the RemoteConfigDemo file.

* Made some improvement HMSExceptionHandler. And some made a few fixes.
-Added ExceptionName Enum for exception name standards.
-Added ExceptionLog inner class for the exception and url matches.
-Used Application.logMessageReceivedThreaded instead of standard for multi thread operation.
-Used IndexOf with comparisonType instead of Contains because of Contains function don't support with comparison type c#8 and before version.
-Listeners Log didn't trigger automatically so added new methods for listeners log.
-Added some helpers method for more readable code.

* Created Huawei SignIn buttons as prefabs one them normal button one them circle just include logo button.

* Update issue templates

* Maded necessary changes for the Unity Purchase cross-platform package.
- The Huawei Store class was edited and refactored, so now it is working and also edited demo scene related to it.

* When ad removal is purchased, a structure has been added to prevent H… (#460)

* When ad removal is purchased, a structure has been added to prevent HMSAdsKitManager from showing ads by transferring a boolean when creating the Instance.

* When ad removal is purchased, a structure has been added to prevent HMSAdsKitManager from showing ads by transferring a boolean when creating the Instance.
* SplashAd now checks when loading to see if ad removal has been purchased.

* [HUP-785] Feature: Created git hooks pre-commit and prepare-commit-msg and added git commit message templates.

-Added gitconfig for make a settings other changes like githooks, commit-message-template.
-Added pre-commit hooks for checking branch names like "main, master and production". If branch names are these names not allowed commit.
-Added prepare-commit-msg hooks for checking commit message template. If doesn't follow this template that gives an error message.
-Also created some classes for unity project start event and added some git configuration for applying to local git configuration for just developer.

* [HUP-784] Feature: Created infrastructure of editorconfig, vscode and vsconfig configs.

-Created editorconfig file and added fundamental settings.
-Created vsconfig file and added common components for visual studio.
-Created extensions.json for common extension recommendation.
-Created settings.json file added common settings for tho using vscode.

* [HUP-784] Refactor: Formatted all file in HuaweiMobileService.Core project.

-Fixed space, whitespace, indention and tabs, mean formatted all these file.
-Deleted unused usings

Notes: There are many file in this commit but just a little changes in files.

* [HUP-784] Refactor: Formatted all file in HuaweiMobileService.Editor project.

-Fixed space, whitespace, indention and tabs, mean formatted all these file.
-Deleted unused usings

Notes: There are many file in this commit but just a little changes in files.

* [HUP-784] Refactor: Formatted all file in Assembly-CSharp.Editor project.

-Fixed space, whitespace, indention and tabs, mean formatted all these file.
-Deleted unused usings

* FAQ button added

* AddictionPreventionDemo added

* Update agconnect-services.json

* syntax changes

* [HUP-796] Refactor : Async methods should not have a return type of void and name ends with "async".

Related Issues:
- [HUP-821] : Main Task

* [HUP-798] Refactor: Use string.IsNullOrWhiteSpace or string.IsNullOrEmpty to check for empty string.

Related Issues:
- [HUP-821] : Main Task

* [HUP-797] Refactor: Fixed empty interpolated string and incorrectly formatted string.

Related Issues:
- [HUP-821]: Main Task

* [HUP-800] Refactor: Using throw instead of throw ex for resets the Exception's stack trace.

Related Issues:
- HUP-821: Main task

* [HUP-801] Refactor: Parameters marked as in, out or ref should always be placed after all the required parameters

Related Issues:
- [HUP-821]: Main Task

* [HUP-803] Refactor: Found the usage of DateTime.Now that relies on system-specific information and changed with DateTime.UtcNow.

Related Issues:
- [HUP-821]: Main Task

* [HUP-804] Refactor: Consider using .TryParse over .Parse when converting types and fix some method name, creating object style and duplicate methods.

Related Issues:
- [HUP-821]: <Description>

* [HUP-805] Refactor: Empty default label without a comment is redundant in switch-case statement and fix some duplicate codes.

Related Issues:
- [HUP-821]: Main Task

* [HUP-806] Refactor: Consider using Any() to check for emptiness

Related Issues:
- [HUP-821]: Main Task

* [HUP-821] Fix: Fix null reference exception in HMSModeling3dKitManager.cs for C# 7.3 version.

* [HUP-809] Refactor: Getters and setters with a single statement in their bodies can be simplified.
-Refactor collection and account classes

Related Issues:
- [HUP-821]: Main Task

* [HUP-811] Refactor: Reserved Exception being thrown. Updated exception type in settings files.

Related Issues:
- [HUP-821]: Main Task

* [HUP-812] Refactor: Audit: Consider using System.URI instead of strings

-Update exception URLs to use Uri instead of string.

Related Issues:
- <[HUP-821]: Main Task

* [HUP-814] Refactor: Use brace initialization when creating a new object and setting its properties

Related Issues:
- [HUP-821]: Main Task

* [HUP-799] Refactor: Classes and structs should be declared within a namespace.

Namespaces are used to group related entities like classes and structs, providing scope and preventing name clashes. It is essential to declare a namespace to avoid placing entities in the global namespace.

Related Issues:
- [HUP-821]: Main Task

* [HUP-821] Fix: Fix import statements and add async support after fix merge

* [HUP-821] Fix: Fixed Enum.TryParse for lower C# versions.

* Update VERSION

* Disabled git hooks

* Update README.md

* disable HMSPluginUpdater on Microsoft Xbox, Sony Playstation 4/5 and Nintendo Switch

* Update kits for only version numbers (#471)

* Updates: Push Kit & AuthService

* com.huawei.hms:push: 6.7.0.300 -> 6.11.0.300
* com.huawei.agconnect:agconnect-auth: 1.8.0.300 -> 1.9.1.301
- Added the function to support Twitter account sign-in either in unified sign-in mode or based on the traditional OAuth 2.0 access mode.

* Update: AppLinking & CloudStorage & DriveKit

com.huawei.agconnect:agconnect-applinking: 1.8.0.300 -> 1.9.1.301
com.huawei.agconnect:agconnect-storage: 1.5.0.100 -> 1.9.1.301
com.huawei.hms:drive: 5.0.0.307 -> 5.2.0.300

* Update: DriveKit

com.huawei.hms:drive:5.0.0.307 - > 5.2.0.300

* Update: com.huawei.agconnect:agcp

com.huawei.agconnect:agcp: 1.6.1.300 -> 1.9.1.301

* HMSGitStandards removed

* Update .gitignore

* Update: IAP & Ads kit

IAP:
com.huawei.hms:iap:6.4.0.301 => 6.13.0.300
  * Added the BaseReq class, which is now the base class for ConsumeOwnedPurchaseReq, OwnedPurchasesReq, ProductInfoReq, and PurchaseIntentReq.

Ads:
com.huawei.hms:ads-lite:13.4.61.300 => 13.4.69.300
  * Added the isTransparencyOpen and getTransparencyTplUrl APIs in the NativeAd class.
  * Added PromoteInfo and abilityInfo return values to the NativeAd class.

com.huawei.hms:ads-consent:3.4.61.300 => 3.4.69.300
com.huawei.hms:ads-identifier:3.4.58.301 => 3.4.62.300
com.huawei.hms:ads-installreferrer:3.4.58.301 => 3.4.62.300

* RewardAd - RewardVerifyConfig.builder added for SetRewardVerifyConfig method

* Update AdsDemoManager.cs

* Fix:  Code formatting and optimize code in HMSPluginUpdaterInit.cs and HMSAdsSettingsDrawer.cs

* CloudDB update

com.huawei.agconnect:agconnect-cloud-database:1.5.5.300 => 1.9.1.301

* Update CloudDBDemo to "String interpolation"

* In app comment callback (#480)

* CloudDB update

com.huawei.agconnect:agconnect-cloud-database:1.5.5.300 => 1.9.1.301

* CallbackAdded for InAppComment

* Fix: Added new method RewardVerifyConfig LoadRewardedAd for server-side check and provided select(assign) default load reward ad.

- Added RewardedAdLoadMethod Enum for type
- Added some signIn operation for getting userId(openId) using AccountKit.
-  If selected LoadRewardedAd with config, account kit should be active for can get userId.

* Update:  Getting userId operation had moved to AdsDemoManager and added builder pattern in HMSAdsKitManager for creating ads type.

- Added userId operation for rewardconfigverify in AdsDemoManager.
- HMSAdsKitManager edited using builder pattern and demo manger edited according to this.

* in gradle worker UNITY_2022_3 part added

* Update: Update plugin version to 2.3.7

* dll updated

* Update VERSION

* Update GameAddictionPreventionDemo.unity

* Update HMSWebRequestHelper.cs

* Update HMSAdsKitManager.cs

to fixed 2018 errors

* Demo scenes small fixes

---------

Co-authored-by: Bunyamin Eymen Alagoz <eymen_15@hotmail.com>
Co-authored-by: Seyyid Yiğit <seyyid364@gmail.com>
Co-authored-by: mmontesinos81 <miguel.montesinos@evil-mind.com>
Co-authored-by: Hilal <hayhilal@gmail.com>
Co-authored-by: Pavel "am1goo" Shestakov <5287406+am1goo@users.noreply.github.com>
Co-authored-by: p.shestakov <p.shestakov@gaijin.team>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants