Skip to content

Releases: EvilMindDevs/hms-unity-plugin

v2.3.9 - Unity 2019/2020/2021/2022

09 Aug 12:42
Compare
Choose a tag to compare

HMS Unity Plugin Version 2.3.9 Release Announcement

We are excited to announce the release of HMS Unity Plugin Version 2.3.9, which includes several new features, enhancements, and fixes aimed at improving your development experience. We extend our appreciation to @Andronovo-bit, @qinhanlei, and @Aziz-T for their valuable contributions. Below is a summary of the key updates:

New Features and Updates:

  • [HUP-866] Text Recognition Integration:

    • Text Recognition Scene: Created a new scene and demo manager dedicated to text recognition, enhancing the plugin's capabilities in processing and recognizing text from images.
    • Menu Enhancements: Added a Text Recognition menu to the Huawei plugin for easier access and management.
    • Gradle and DLL Additions: Integrated the necessary Gradle packages and added the required DLL files to support text recognition features.
    • AAR Library Update: Included a new AAR library that provides a FilePicker bridge, allowing users to select images directly within Unity.
  • [HUP-869] Language Detection Plugin Development:

    • Language Detection: Developed both online and offline language detection scripts and UI, expanding the ML Kit's functionality.
    • New Managers: Created a language kit manager, demo manager, and listener to streamline the language detection process.
    • Scene Hierarchy: Edited the main MLKit scene to incorporate these new modules as game objects, improving modularity and ease of use.
  • CSV Import/Export in IAP Menu:

    • New Buttons: Added "Import from CSV" and "Export to CSV" buttons in the IAP menu, making it easier to import and export In-App Purchase products, streamlining product management within the plugin.

Fixes and Improvements:

  • [HUP-874] Splash Ad Icon and Kit Settings Fix:

    • Splash Ad Icon: Added a default icon base64 to resolve issues where the splash ad icon was missing, which previously caused all ads to fail loading.
    • Kit Settings Refresh: Implemented additional controls in ScriptableHelper to address errors caused by kit settings not refreshing properly.
    • Ad Loading Fixes: Corrected the load methods for banner and interstitial ads, which were previously added to the wrong locations.
    • Manual Script Compilation Button: Added a manual script compilation button in the Huawei/Utils menu to assist in refreshing scripts when files do not update automatically.
  • Code Optimization:

    • Log Cleanup: Removed unnecessary log lines and comments, resulting in cleaner and more efficient code.
    • Try-Catch Implementation: Added try-catch blocks to enhance error handling and stability across the plugin.

This release brings significant advancements in text recognition and language detection capabilities, along with improved data management features and critical fixes. We encourage all users to update to HMS Unity Plugin Version 2.3.9 to take full advantage of these new tools and improvements.

What's Changed

  • Added Text Recognition scene, demo manager, and related components.
  • Developed Language Detection plugin with comprehensive online and offline support.
  • Integrated CSV import/export functionality in the IAP menu for easy management of In-App Purchase products.
  • Resolved splash ad icon issues and implemented critical fixes in ad loading and kit settings.
  • Implemented try-catch blocks for enhanced stability and error management.

Full Changelog: v2.3.8-2024-07-25...v2.3.9-2024-08-01

We look forward to your feedback and can't wait to see how you utilize these new features in your projects. Thank you for your continued support and contributions to the HMS Unity Plugin!

v2.3.8 - Unity 2019/2020/2021/2022

26 Jun 13:27
Compare
Choose a tag to compare

MLKit Integration and Module Enhancements - Version 2.3.8

We are thrilled to announce the release of HMS Unity Plugin Version 2.3.8, packed with numerous updates, fixes, and enhancements to streamline your development workflow. We extend our gratitude to @Andronovo-bit and @emineinan for their significant contributions. Below is an overview of the key updates:

New Features and Updates:

  • ML Kit Module Update:

    • Upgraded ML Kit module to version 2.3.8, ensuring better performance and compatibility.
    • Edited the README file to include the latest changes.
  • ML Kit Base Module Integration:

    • Added Gradle implementation to support seamless dependency management.
    • Enhanced UI in the Kit settings panel for a more intuitive user experience.
    • Introduced a new base scene to facilitate ML Kit module integration.
  • Text to Speech Module:

    • Created and designed the ML Kit Text to Speech module scene for enhanced interaction.
    • Developed a demo scene and manager to simplify testing and demonstration.
    • Integrated new DLL files and fixed existing issues for improved functionality.
    • Added listeners and a kit manager to provide better control and user experience.
  • Translate Module:

    • Introduced a new ML Kit Translate module scene with both online and offline capabilities.
    • Developed a translate kit manager, demo manager, and listener for efficient translation tasks.
    • Edited the scene hierarchy and created the main ML Kit scene, incorporating modules as game objects.
    • Improved the TextToSpeech demo manager name and globalized the download listener for use across ML Kit modules.

Fixes and Improvements:

  • Module Disable Mechanism:
    • Updated various settings assets to enable or disable ML Kit modules as required.
    • Enhanced control mechanisms in the GradleWorker for submodules.
    • Updated the TextToSpeechDemoManager to accurately display download progress percentages.
    • Refreshed the HMS DLL file for better compatibility and performance.

This release addresses several key tasks and sub-tasks, ensuring a more robust and versatile integration of the ML Kit modules. For detailed information on related issues and specific changes, please refer to the corresponding commit messages and documentation.

We appreciate your continuous support and feedback as we strive to improve our project. Thank you for your contributions!

What's Changed

  • Disabled ML Kit modules in settings for better control and management.
  • Updated TextToSpeechDemoManager to display correct download progress.
  • Integrated new translate UI and created relevant managers and listeners.
  • Added new scenes and assets for both Text to Speech and Translate modules.

Full Changelog: v2.3.7-2024-06-25...v2.3.8-2024-06-26

This release marks our ongoing commitment to providing a robust and developer-friendly platform. We recommend updating to HMS Unity Plugin Version 2.3.8 to leverage these new features and improvements. Your feedback is invaluable to us, and we look forward to seeing the innovative experiences you create with the HMS Unity Plugin.

v2.3.7 - Unity 2018

16 Apr 07:59
2a32cd7
Compare
Choose a tag to compare

Notice: This is the latest 2018 version. We are stopping releasing new versions for 2018. If you want bug fix or changes to be made for 2018 in the version we published for 2019-2022, you can request us to publish a new 2018 version by opening a issue.

This version includes these changes:

v2.3.7 - Unity 2019/2020/2021/2022

05 Apr 10:53
Compare
Choose a tag to compare

HMS Unity Plugin Version 2.3.7 Release Announcement

We are thrilled to present the release of HMS Unity Plugin Version 2.3.7, featuring a range of updates, fixes, and enhancements designed to improve your development workflow. We extend our gratitude to @alihan98ersoy, @Andronovo-bit and @am1goo for their contributions. Below is an overview of the key updates:

New Features and Updates:

  • Gradle Worker for UNITY 2022.3: Integrated support for Unity 2022.3 in the gradle worker, enhancing the development workflow and compatibility. (ab566946)
  • Ads Kit Enhancements:
    • Moved the operation for getting userId to AdsDemoManager and introduced a builder pattern in HMSAdsKitManager for creating ads types, improving code readability and ease of use. (27d0a14)
    • Added a new method RewardVerifyConfig.LoadRewardedAd for server-side checks, ensuring more secure and reliable ad operations. Introduced AdLoadMethod Enum for specifying the type of rewarded ad loading method. (1c899bc)
    • Enhanced sign-in operations for obtaining userId (openId) using AccountKit, ensure seamless user authentication and data retrieval. (1c899bc)
  • CloudDB and In-App Comment Callback: Upgraded CloudDB to version 1.9.1.301 from 1.5.5.300 and added a callback for in-app comments, enabling better engagement and feedback collection. (5f93c81), (c469e86), (6f443d6)
  • Kit Updates: Significant upgrades to IAP & Ads kits: (cb89eca), (39ca1e3)
    • Upgraded IAP Kit to 6.13.0.300 from 6.4.0.301, introducing the BaseReq class as the new base class for various purchase request classes.

    • Upgraded Ads Kit to 13.4.69.300 from 13.4.61.300, adding new APIs in the NativeAd class for enhanced transparency and user data management.

      • 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
    • Push Kit & AuthService, enhanced with new versions and Twitter sign-in support.

      • 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
    • AppLinking, CloudStorage, DriveKit upgraded to provide additional features and improvements.

      • 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
    • AGCP, updated to ensure compatibility and performance enhancements.

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

Fixes:

  • Code Optimization: Implemented code formatting and optimization in HMSPluginUpdaterInit.cs and HMSAdsSettingsDrawer.cs, enhancing performance and maintainability. (a24da05)
  • Compatibility and Support: Disabled HMSPluginUpdater on gaming consoles (Microsoft Xbox, Sony Playstation 4/5, and Nintendo Switch) for improved platform compatibility and user experience. (d8151c6)

Other Improvements:

  • Updated several kits, including Push Kit, AuthService, AppLinking, CloudStorage, and DriveKit, to their latest versions, enhancing functionality and security.
  • Removed HMSGitStandards and updated .gitignore to foster better version control practices.

This release marks our continuous commitment to providing a robust and developer-friendly platform. We recommend updating to HMS Unity Plugin Version 2.3.7 to leverage these new features and improvements. Your feedback is invaluable to us, and we look forward to seeing the innovative experiences you create with the HMS Unity Plugin.

What's Changed

Full Changelog: v2.3.6-2019-2022...v2.3.7-2019-2022

v2.3.6 - Unity 2019/2020/2021

23 Feb 11:40
8f0a337
Compare
Choose a tag to compare

HMS Unity Plugin Version 2.3.6 Release Announcement

We are pleased to announce the availability of version 2.3.6 for the HMS Unity Plugin. This release encompasses a comprehensive array of enhancements, including the introduction of new features, improvements to existing functionalities, bug resolutions, and the deprecation of outdated elements. This significant update, contributed to EvilMindDevs:master, spans improvements in syntax, the addition of innovative features, and more. We extend our gratitude to @alihan98ersoy and @Andronovo-bit for their contributions. Below is an overview of the key updates:

Enhancements and New Features

  • Game Addiction Prevention Demo: A new demo scene illustrating game addiction prevention mechanisms has been introduced at Huawei/Demos/Game/GameAddictionPreventionDemo/, offering developers insights into incorporating such features into their games. (4118e255)
  • Updates to Game Service & Account Kit: The GameService and Account Kit have been upgraded to their latest versions, bringing forth enhancements that enrich the development experience:
  • FAQ Button: To enhance user support and accessibility, an FAQ button has been added. (02d82e52)
  • Enhanced Ad Removal Logic: The logic for ad removal post-purchase has been improved, including modifications to SplashAd behavior. (3e432947)
  • Refinements to HMSKeyToolWindow and Issue Templates: Enhancements have been made to HMSKeyToolWindow.cs and issue templates for increased usability and clarity. (#456, #461) (d275b46d)

Deprecations and Replacements

  • The CurrentPlayer API is now deprecated in favor of GamePlayer.
  • The SetGameTrialProcess method has been deprecated.
  • The PlayerId field has been deprecated in favor of OpenId.

Bug Fixes

  • Resolution of Enum.TryParse Compatibility Issue: A fix has been implemented for compatibility issues with older C# versions concerning Enum.TryParse. (e0d5c9e9)
  • Syntax Improvements: Various syntax errors and method naming issues have been addressed to enhance code quality and maintainability. (db2495c7)

Code Quality and Refactoring

  • Namespace Refactoring: All classes and structs have been organized within appropriate namespaces to minimize conflicts and promote orderly code structure. (HUP-799, 3b47aab6)
  • Adherence to Coding Standards: A thorough refactoring has been carried out to align with best practices, including the adoption of Any() for checks of emptiness, preference for .TryParse over .Parse, and more.
  • Development Environment Standardization: The introduction of .editorconfig, .vsconfig, and settings.json aims to unify development environments and elevate code standards. (HUP-784)

Documentation Updates

  • README Revision: The README document has been updated to accurately reflect the recent modifications and enhancements. 8f0a337d)

For an exhaustive list of modifications, we recommend reviewing the commit history and the associated pull requests.

We urge all users to upgrade to the latest version to benefit from these enhancements. Your feedback and contributions are invaluable to us as they facilitate the ongoing improvement and evolution of this plugin.

v2.3.5 - Unity 2018

06 Dec 13:01
Compare
Choose a tag to compare

Release Notes

General

This significant update to EvilMindDevs:master spans multiple aspects from syntax improvements to new feature additions. Primarily achieved by @alihan98ersoy, the update also includes contributions from @htpck and @Andronovo-bit. And also special thanks to @am1goo for his support.

Changelog

<@alihan98ersoy>

  • Meta files were added (6f9d6f9).
  • Added functionality to control consumption owned items on initialization of IAP process (43586db).
  • 3D model kit improvements

  • Fixed scenes and DLL.(c3ca06b).
  • Fixed syntax in TaskListDisplay (62ee1be).
  • Modeling3dDemoManager.cs was updated (561788f).
  • Update to Modeling3dMeterialDemoManager.cs includes changes to TaskID and APIKey logic and bugfixes (552471c).
  • Created a new Modeling tab (a57191c).
  • Updated ModelingManagers (cb021b6).
  • Removed ModelingKit Android Package (ba791be).
    Please remember that since the ModelingKit Android Package has been removed, Manifest&gradle.properties now need to be implemented manually.
  • Created HMSModelingKitSettings.cs (8d4943b).

@am1goo

  • Added ability to disable automatic consumption purchases while initialization IAP process. #451
  • Facilitated the passing of developer payload strings through the PurchaseProduct method #450

@Andronovo-bit

  • Added a quick access Key Tool for SHA-256 key retrieval (#446).
    for more please refer to Obtain the SHA-256 with HMS Key Tool.
  • Refactored toggle labels and key names for HMS Core Installer.
  • Added Google Play Release area in the Common Libraries tab where HMS Core Installer can be enabled or disabled.

@htpck

  • Introduced ask-for-star.yml in Github Action.
  • Fixed Consent methods issue in HMSAdsKitManager (364).

We appreciate your continued support and feedback as we strive to improve our platform's capabilities.

v2.3.5 - Unity 2019/2020/2021

05 Dec 13:15
Compare
Choose a tag to compare

Release Notes

General

This significant update to EvilMindDevs:master spans multiple aspects from syntax improvements to new feature additions. Primarily achieved by @alihan98ersoy, the update also includes contributions from @htpck and @Andronovo-bit. And also special thanks to @am1goo for his support.

Changelog

<@alihan98ersoy>

  • Meta files were added (6f9d6f9).
  • Added functionality to control consumption owned items on initialization of IAP process (43586db).
  • 3D model kit improvements

  • Fixed scenes and DLL.(c3ca06b).
  • Fixed syntax in TaskListDisplay (62ee1be).
  • Modeling3dDemoManager.cs was updated (561788f).
  • Update to Modeling3dMeterialDemoManager.cs includes changes to TaskID and APIKey logic and bugfixes (552471c).
  • Created a new Modeling tab (a57191c).
  • Updated ModelingManagers (cb021b6).
  • Removed ModelingKit Android Package (ba791be).
    Please remember that since the ModelingKit Android Package has been removed, Manifest&gradle.properties now need to be implemented manually.
  • Created HMSModelingKitSettings.cs (8d4943b).

@am1goo

  • Added ability to disable automatic consumption purchases while initialization IAP process. #451
  • Facilitated the passing of developer payload strings through the PurchaseProduct method #450

@Andronovo-bit

  • Added a quick access Key Tool for SHA-256 key retrieval (#446).
    for more please refer to Obtain the SHA-256 with HMS Key Tool.
  • Refactored toggle labels and key names for HMS Core Installer.
  • Added Google Play Release area in the Common Libraries tab where HMS Core Installer can be enabled or disabled.

@htpck

  • Introduced ask-for-star.yml in Github Action.
  • Fixed Consent methods issue in HMSAdsKitManager (364).

We appreciate your continued support and feedback as we strive to improve our platform's capabilities.

v2.3.4 - Unity 2018

22 Aug 06:47
aca83bd
Compare
Choose a tag to compare
  • If UNITY_2022_2_OR_NEWER added to HMSGradleFixer
    Gradle 7.2(Unity 2022.2 and upper) now supported -> Related with #426

IAP

  • Second IAP demo scene has been created to show how to use IAP and Account kit in multiple scenes.
  • 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.

v2.3.4 - Unity 2019/2020/2021

21 Aug 11:41
3fb733a
Compare
Choose a tag to compare
  • If UNITY_2022_2_OR_NEWER added to HMSGradleFixer
    Gradle 7.2(Unity 2022.2 and upper) now supported -> Related with #426

IAP

  • Second IAP demo scene has been created to show how to use IAP and Account kit in multiple scenes.
  • 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.

v2.3.3 - Unity 2018

24 May 08:16
Compare
Choose a tag to compare

Upgrade Guide

We recommend deleting the HMSKitSettings file in the Settings>Resources folder before updating the plugin because of the addition of the 3D Modeling kit.

Changes

  • A new kit 3D Modeling Kit added as a Beta version.