HIVE SDK v4.7.0 Update

  Download

Release Notes

  • Version: v4.7.0
  • Date: 2018-Apr-03
New Features
  • All
    • [Auth v4] Added AuthV4.Helper Class for easy use of Authentication API.
      • Simplified the required parts for functioning authentication by implementing signIn() method from AuthV4.Helper Class as mentioned in the relevant guidelines.
      • Simplified the required parts for troubleshooting conflicts by implementing connect() method from AuthV4.Helper Class.
        • Resolve the conflicts by implementing showConflict(), switchAccount() and resolveConflict() method from AuthV4.Helper Class.
      • Simplified the required parts for troubleshooting conflicts in the case as follows:
        • In the case of using achievements and leaderboard from ProviderGoogle Class, using the method relevant to achievements and leaderboard from ProviderApple Class are replaced by implementing showLeaderboard() and showAchievements() method from AuthV4.Helper Class.
        • In the case of account change, it is replaced by implementing showLeaderboard() and showAchievements() method from AuthV4.Helper Class.
      • Simplified the required parts by implementing syncAccount() method from AuthV4.Helper Class when changing application state from background to foreground or confirming GooglePlay or GameCenter account.
    • [Promotion] Added a new function to play video clips from Youtube.
  • Android
    • [IAP v2/IAP v4] Added WeChat Pay, a new charging means of Lebi.
Changed Features
  • All
    • Updated the third-party libraries in use to the latest version.
    Library Platform Version in Use Latest Version
    Facebook SDK All 4.18.0 4.31.0
    GooglePlay Services-Games, Auth Android 10.3.1 11.8.0
    Google Sign-in SDK iOS 4.0.0 4.1.2
    Adjust All 4.11.4 4.12.1
    PartyTrack Android 1.12.0 1.15.0
    PartyTrack iOS 1.66 1.82
  • iOS
    • Excluded all properties saved on Client from the target of iCloud backup.
Bug Fixes
  • Android
    • [Auth v1] Fixed to display a popup to opt in receiving SMS when game needs to request the agreement on receiving SMS to users again.
    • [Push] Fixed to register local push when setting color values manually.
  • iOS
    • [Auth v1/Auth v4] Fixed to process logout for guest users.
      • Matched the API functions to those for Android.
    • [Auth v4] Fixed to send cancellation callback, CANCELED, through tapping close button when implementing showSignIn() method from AuthV4 Class.
    • [Auth v4] Fixed to send error callback, INVALID_SESSION, when one of of methods from AuthV4 Class is implemented without using SignIn() method from AuthV4 Class.
    • [Push] Fixed not to crash when initializing the game. Changing the format of NotificationCompat.Builder constructor from Android Support v4 library with API 26 and later causes the crash.