Skip to content

Android & iOS

v4.23.0.0


Download


Cocos2d-x Android/iOS
Download Hive SDK v4 Cocos2d-x Android+iOS 23.0.0
Release Date 2024-04-25

 

Development Environment


Cocos2d-x

  • 3.17.2

Android

Gradle Android Gradle Plugin Kotlin Gradle Plugin
v7.5 v7.4.2 v1.8.0

iOS

 

Changed Features


Hive SDK Common

  • Android Access to the Java Enum interface ResultAPI class is changed. See the example below.
    • Previously: Only ResultAPI.Companion.getSUCCESS() was supported.
    • Changed: Both ResultAPI.Companion.getSUCCESS() and ResultAPI.SUCCESS are supported.
  • Android Both instance method style and class method style are supported in Java. See the example below.
    • Previously: Only IAPV4.INSTANCE.getProductInfo was supported.
    • Changed: Both IAPV4.INSTANCE.getProductInfo and IAPV4.getProductInfo are supported.
  • Android Adjustments are made so that inquiry windows, chatbots, and adult authentication windows do not exceed the screen range on Z-Flip 5 front display.
  • iOS The supported development environment is changed to Xcode 15 or higher. It can be used on macOS Ventura13.5 or higher. The supported OSs are as follows:
    • iOS 12 or higher
    • iPadOS 13 or higher

Authentication

  • All For device management, real-name verification for China, and etc., the send button is disabled if the user does not enter the SMS within the time limit for SMS verification.
  • Android Each IDP is separated into libraries for optional application. The following libraries can be additionally applied:
    • Apple Sign-In
    • Weverse
    • Membership
  • Android Changes are made to trust only login information directly verified by Hive Server during Google Play Games login, resolving some cases of AuthV4ServerResponseError.
  • iOS The reCAPTCHA library used by Hive SDK is updated to the official version.
  • iOS Each IDP is separated into libraries for optional application. The following libraries can be additionally applied:
    • Apple Sign-In
    • GameCenter
    • Membership

Promotion

  • All Changes are made so that only one of either the news or the interstitial banner appears on the screen. Only the window called first will appear, and windows called later will not appear.
  • All Includes campaignId in UA campaign information.
  • iOS Updates the SDWebImage library and applies LRU cache policy related to image caching and downloading.

Billing

  • All No longer supports the IAPv2 interface and features.
  • Android Changes are made so that when there is a pending purchase, the delayed purchase result does not affect the current ongoing payment.

Provisioning

  • All Adds the feature to expose terms of service based on accounts

Hercules

  • All Updates the Hercules library version.
    • Android: 20231122
    • iOS: 20231116


Fixed Bugs


Authentication

  • Android Fixed an issue where buttons are displayed incorrectly when the usage restriction popup is shown in Portuguese.
  • iOS Fixed an issue where the app crashes when the camera capture button is tapped rapidly while editing the profile image.

Promotion

  • Android Fixed an error where line breaks do not work correctly when the app is changed from foreground > background > foreground again while the game exit popup is displayed.
  • iOS Fixed an issue where the top notch area is cut off when displaying community webviews, etc., through promotion banners.

Provisioning

  • iOS Modified not to display the remaining time until the suspension is lifted for suspended users.

Datastore

  • iOS If you put an empty value to the set method as an argument, it now deletes the previously set value, ensuring proper operation.

Notification

  • Android Fixed an issue where the push message contents do not appear due to a problem in the process of retrieving push messages for displaying when the app is relaunched.

Analytics

  • All In the concurrent user log transmission, changed the country code sent for unknown countries from Unknown to two space characters.


Known Issues


There are no known issues with this release of this Hive SDK version.

Developer Guide Changes


Common

  • Changed COPPA ageGateU13 to a value that can be set directly.
  • Updated the hive_config.xml example.
  • Removed content related to the unsupported IdP, WEIBO, from here.
  • Revised the description of in-app updates.

Android

  • Added minimum versions for Gradle, Android Gradle Plugin, Kotlin Gradle Plugin here.
  • Changed the content of the Android Gradle file as Hive SDK features were internally separated into separate libraries.
  • Removed related content from AndroidManifest.xml settings as WeChat Auth is automatically added by Hive SDK. Also removed content as Hive SDK does not directly use FOREGROUND SERVICE.
  • Changed the content related to setting required libraries in build.gradle for Facebook Cloud Game builds here.
  • Changed the content of the module-level build.gradle file for adding Firebase Analytics here.
  • Updated adding Huawei build settings.
  • Changed the content related to setting required libraries in build.gradle for Google Play Games on PC builds here.
  • Changed the content of the module-level build.gradle file for supporting Google login here.
  • Revised the description as the ONE Store version was updated to 21.01.00 here.

iOS

  • Added Apple Game Center to the IdP integration guide.
  • Changed the content of the iOS Podfile as Hive SDK features were internally divided into separate libraries.