DocumentationCheatsheet

VNGGames SDK Cheatsheet

Feature List

Supported features by platform:

CategoryFeatureiOSAndroidUnityUnrealWindows
AuthenticationShow login formβœ…βœ…βœ…βœ…βœ…
Auto loginβœ…βœ…βœ…βœ…βž–
Direct loginβœ…βœ…βœ…βž–βœ…
Log outβœ…βœ…βœ…βœ…βž–
Delete accountβœ…βž–βœ…βž–βž–
LevelUp multiple accountsβž–βž–βž–βœ…βœ…
Quick AuthenticationQuick login (v1)βœ…βœ…βœ…βž–βž–
Sign in (v2)βœ…βœ…βœ…βž–βž–
Play as guest (v2)βœ…βœ…βœ…βž–βž–
Show channel selection (v2)βœ…βœ…βœ…βž–βž–
Manage accountβœ…βœ…βœ…βž–βž–
In-App PurchasePurchase itemsβœ…βœ…βœ…βœ…βž–
Advanced Commerceβœ…βž–βœ…βž–βž–
ComplianceAge Assuranceβœ…βœ…βœ…βž–βž–
Decree 13βœ…βœ…βœ…βœ…βœ…
AnalyticsAppsFlyerβœ…βœ…βœ…βœ…βœ…
Firebaseβœ…βœ…βœ…βœ…βž–
Data Platformβœ…βœ…βœ…βœ…βœ…
Facebookβœ…βœ…βœ…βœ…βž–
CleverTapβœ…βœ…βœ…βœ…βž–
ThinkingDataβœ…βœ…βœ…βœ…βœ…
Customer SupportCS portalβœ…βœ…βœ…βœ…βœ…
MonitorFirebase Crashlyticsβœ…βœ…βœ…βœ…βž–
In-App AdsironSourceβœ…βœ…βœ…βž–βž–
Meta Audience Networkβœ…βœ…βœ…βž–βž–
EngagePre-registration rewardβž–βœ…βœ…βœ…βž–
Firebase Cloud Messagingβœ…βœ…βœ…βœ…βž–
CleverTap push notificationβœ…βœ…βœ…βž–βž–
Local push notificationβœ…βœ…βœ…βœ…βž–
Firebase in-app messageβœ…βœ…βœ…βœ…βž–
CleverTap in-app messageβœ…βœ…βœ…βž–βž–
CleverTap app inboxβœ…βœ…βœ…βž–βž–
Firebase remote configβœ…βœ…βœ…βœ…βž–
Apollo push notificationβœ…βœ…βœ…βœ…βž–
Apollo in-app messageβœ…βœ…βœ…βœ…βœ…
Apollo app inboxβœ…βœ…βœ…βœ…βœ…
In-app WebViewβœ…βœ…βœ…βœ…βœ…
SocialFacebookβœ…βœ…βœ…βœ…βž–
Instagramβœ…βœ…βœ…βž–βž–
User ExperienceIn-app reviewβœ…βœ…βœ…βœ…βž–
Google Translateβœ…βœ…βœ…βž–βœ…

βœ… Supported Β· βž– Not available on this platform

Authentication

VNGGames SDK authenticates players across Guest, Facebook, ZingID, Google, Sign in with Apple, and Email & Phone, returning the correct credentials and requested properties for each. Studios choose how sign-in behaves β€” show a login form, auto login, or direct login β€” and the SDK also covers the rest of the account lifecycle: logging out and deleting an account. On Windows and Unreal, LevelUp adds support for managing multiple accounts. For the quick-authentication entry points, see Quick Authentication; for Vietnam’s Decree 13 account protection, see Compliance.

Multi-channel Supported

  • Guest
  • Facebook
  • ZingID
  • Google
  • Sign in with Apple
  • Email & Phone

Login method

Support various login mechanism, game can choose one of them base on business requirement:

Show login form

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.4.1+Windows 1.7.0+
  • Each time app open and call login function, the login form will be shown so that user can choose login channel at anytime.

Auto login

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.0.0+
  • Login form will be shown at the first time user open app and login function is called. After that, SDK will process auto-login with the last login channel that user chose.

Direct login

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Windows 1.1.0+
  • Support call to Login Function in case of Product cannot use login form of VNG.

Log out

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.0.0+

Signs the current player out and clears the stored session.

Note that logout() is a no-op once the player has signed in through a quick-authentication call β€” see Quick Authentication.

Delete account

iOS 2.3.46+Unity 1.0.0+

Runs the account-deletion flow, letting players permanently remove their account and associated data from inside the game rather than through a separate web flow. This satisfies platform and regulatory account-deletion requirements.

A companion call reports whether deletion is enabled for the build, so the game can hide the entry point when it is not.

LevelUp multiple accounts

Unreal 1.4.1+Windows 1.7.0+

Manage and switch between multiple VNGGames accounts inside the game, for players who run more than one account through the LevelUp launcher. The game reads the available accounts and selects one.

Quick Authentication

Quick authentication gets a player into the game with the least possible interaction. Two generations ship side by side: v1 is the single quickLogin call, and v2 splits the flow into a sign-in sheet, a guest entry point, and a channel picker. Both are available on the VGA login platform only, on iOS, Android, and Unity.

One thing to plan for: a quick-authentication call latches the SDK into quick-login mode, after which the game’s own Log out becomes a permanent no-op. Players switch or unbind accounts through Manage account instead.

Quick login (v1)

iOS 3.3.0+Android 3.3.0+Unity 1.5.0+

Signs the player in with no form to load and no required interaction β€” the fastest way to start playing.

Sign in (v2)

iOS 3.9.0+Android 3.3.0+Unity 1.10.0+

Presents the quick-authentication sign-in UI so the player signs in with an available account.

Play as guest (v2)

iOS 3.9.0+Android 3.9.0+Unity 1.10.0+

Signs the player in as an anonymous guest: no account selection or credentials required.

Show channel selection (v2)

iOS 3.9.0+Android 3.9.0+Unity 1.10.0+

Presents the channel picker so the player chooses which sign-in channel to use. Guest is excluded from this list.

Manage account

iOS 3.3.0+Android 3.3.0+Unity 1.5.0+

Opens the VGA account-management screen and reports what the player did β€” bind an account, switch accounts, continue playing, or delete the account. Works for accounts signed in with either quick-auth version.

In-App Purchase

VNGGames SDK queries available products and guides players through payment using Google Play billing and App Store in-app purchase.

Purchase Items

iOS 2.3.40+Android 2.3.43+Unity 1.6.0+Unreal 1.4.1+

Efficiently query a list of available products ready for user purchase and guide the user through the payment process.

Advanced Commerce

iOS 3.20.0+Unity 1.20.0+

A second purchase entry point in which the game declares the item at purchase time instead of registering it with the store, so every purchase runs against one representative product id. Useful for catalogs too large or too dynamic to register up front.

A companion call reports whether the device can run the flow β€” check it before you offer the shop, so a player never reaches an unsupported device error. The existing Purchase Items call is untouched by this flow, and a game that never calls this pair sees no change.

Compliance

VNGGames SDK carries the regulatory obligations your game would otherwise implement itself: an age bracket read from the player’s app store, and Vietnam’s Decree 13 account protection enforced on our backend.

Age Assurance

iOS 3.20.0+Android 3.20.0+Unity 1.20.0+

Obtains the signed-in player’s age bracket from their app store, so the game can apply age-appropriate rules without collecting a birth date itself. The call is requestAgeSignals, and the bracket it returns is an age signal β€” see Request age signals in the integration guide for the full contract.

The result reports the access level (the bracket was shared, or the player must verify in their app store first), the bracket itself as a lower and upper bound β€” either of which may be absent β€” and, where none is returned, the reason why.

Decree 13

iOS 2.3.49+Android 2.3.43+Unity 1.0.0+Unreal 1.0.0+Windows 1.9.0+

Decree 13 covers Vietnam’s regulation on personal data protection. VNGGames SDK enforces the required account-protection status server-side, so compliance stays correct and up to date without a client release every time the rule changes.

Because the protection logic lives on the backend, your game does not need to implement or maintain any Decree 13-specific flows. The SDK raises the form inside the sign-in flow it already runs β€” the server decides whether it appears β€” and reflects the account’s protected status wherever it already handles authentication.

This is why the feature reaches every platform, including the two whose plugins expose no Decree 13 call of their own: there is nothing for a game to call. Windows implements it natively, and the Unity and Unreal plugins inherit it from the iOS and Android SDKs they wrap.

Analytics

VNGGames SDK Analytics connects your game to AppsFlyer, Firebase Analytics, Facebook App Events, Data Platform (VNG’s internal analytics tool), ThinkingData, and CleverTap. Use these providers to understand player behavior and measure campaign and ad performance.

AppsFlyer

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.1.0+Windows 1.1.0+

AppsFlyer analytics suite simplifies complex data and gives you a unified view of campaign performance so you can make better, faster marketing choices at every stage of the user journey

Firebase Analytics

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.0.0+

VNGGames SDK offers you the way to easily enable Firebase Analytics, an app measurement solution, available at no charge, that provides insight on app usage and user engagement.

Data Platform

iOS 3.1.0+Android 3.6.0+Unity 1.0.0+Unreal 1.1.0+Windows 2.6.0+

The Data Platform is an internal analytics tool provided by VNG, designed for easy data management and flexibility to meet your specific business requirements.

Facebook App Events

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.0.0+

App Events allows you to track actions that occur in your game such as app installs and purchase events. By tracking these events you can measure ad performance and build audiences for ad targeting.

CleverTap

iOS 3.1.0+Android 3.1.0+Unity 1.3.0+Unreal 1.1.0+

Use CleverTap as an analytics provider to track user engagement and segment players, alongside CleverTap’s push and in-app messaging features.

ThinkingData

iOS 3.3.0+Android 3.3.0+Unity 1.5.0+Unreal 1.1.0+Windows 2.6.0+

Enable ThinkingData as an additional analytics provider to track player behavior and game events alongside your other analytics platforms.

Customer support

VNGGames SDK keeps support in-game so players never have to leave the app. CS Portal opens the game’s support page (support.vnggames.com) in a webview, logs the player in automatically, and collects the details needed to raise a support ticket.

CS Portal

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.2.0+Windows 1.6.0+

This feature open the support page of game directly (which is the same as page https://support.vnggames.com) in webview.

Monitor

VNGGames SDK ships Firebase Crashlytics so stability problems surface without a separate crash-reporting integration.

Firebase Crashlytics

iOS 2.3.51+Android 2.3.43+Unity 1.0.4+Unreal 1.1.0+

Firebase Crashlytics is a real-time crash reporter that helps you track, prioritize, and fix the stability issues that erode app quality.

  • Spend less time troubleshooting crashes and ANRs. Crashlytics starts capturing crashes out of the box and groups them into manageable issues ranked by their impact on real users, so you can prioritize what to fix first.

  • Real-time release monitoring. Track a new release’s adoption and stability as it rolls out, and catch emerging problems before they reach a large number of players.

  • Alerts. Get real-time notifications for new errors, regressed errors, and errors that start happening at a higher rate.

Crashlytics ships with the SDK on iOS, Android, and Unity. On iOS it is merged into PassSDK.xcframework, so never add it again as a separate framework β€” doing so double-links the archive and causes a duplicate-symbol crash.

On Unreal it comes with the Android build target, which uses the same core Android dependency set. The plugin’s vendored iOS frameworks do not include Crashlytics, so an Unreal iOS build has no crash reporting from the SDK.

In-App Ads

VNGGames SDK turns gameplay into revenue with rewarded and interstitial ads β€” mediated through ironSource and served by Meta Audience Network β€” so you can reward players for watching ads with a lightweight integration.

ironSource

iOS 2.3.40+Android 2.3.53+Unity 1.0.4+

VNGGames SDK provides the IAA (In-app Ads) - Ads Reward feature using Iron Source - an Ad Mediation Platform. This feature facilitates easy implementation of reward mechanisms for players when they watch advertisements. Currently, the Ads Networks integrated into the SDK (via Iron Source) include:

Android

  • AdColony Network
  • Applovin Network
  • Digital Turbine (Fyber) Network
  • Google Ads Network
  • InMobi Network
  • Meta Audience (Facebook) Network
  • Mintegral Network
  • Pangle Network
  • Tapjoy Network
  • Vungle Network
  • UnityAds Network

iOS

  • Meta
  • GoogleAdMob
  • DT Exchange (Digital Turbine, Fyber)
  • Unity Ads

Meta Audience Network

iOS 3.5.0+Android 3.5.0+Unity 1.7.0+

Monetize your game with Meta Audience Network interstitial, rewarded video, and rewarded interstitial ads.

Engage

VNGGames SDK Engage brings your re-engagement tools into one place: pre-registration rewards, push notifications through Firebase Cloud Messaging, CleverTap, and Apollo (plus local push), in-app messaging via Firebase, CleverTap, and Apollo, an app inbox (CleverTap, Apollo), Firebase Remote Config, and an in-app WebView for surfacing content without leaving the game.

Pre-Registration Reward

Android 2.3.43+Unity 1.0.1+Unreal 1.4.1+

Verify a player’s pre-registration status and grant the reward β€” a Play Store–supported promotion that boosts viral efficiency during pre-registration campaigns before a game officially launches.

Firebase Cloud Messaging

iOS 2.3.40+Android 2.3.43+Unity 1.3.0+Unreal 1.0.0+
  • This feature support to receive and display Push notification content that is pushed from Firebase’s system through Firebase Console (similar to the usual Push Notification feature that games are using).

  • Push Notification’s content is displayed outside the app, when the app is not active (the user doesn’t open the app)

  • Supporting push to a set of users under certain conditions supported by Firebase Cloud Message system.

CleverTap push notification

iOS 3.1.0+Android 3.1.0+Unity 1.3.0+

Send push notifications through CleverTap, an additional push provider alongside Firebase Cloud Messaging and Apollo.

Local Push

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.0.0+
  • Message is set up as calendar in local device. The notification will be shown in time as define everyday.

  • Product can setup time to show notification and content of message on Operation Tool -> SDK Config.

Firebase in-app message

iOS 2.3.40+Android 3.11.0+Unity 1.12.0+Unreal 1.1.0+
  • This feature allow app to receive and display Push Notification’s content INSIDE APP WHEN THE APP IS ACTIVE (user is playing game).

  • Content is push from the Firebase Console tool.

  • You can push to 1 set of users under a number of conditions supported by the Firebase Console system.

CleverTap in-app message

iOS 3.1.0+Android 3.1.0+Unity 1.3.0+

Deliver targeted, contextual in-app messages through CleverTap, an additional in-app messaging provider alongside Firebase and Apollo.

CleverTap app inbox

iOS 3.1.0+Android 3.11.0+Unity 1.5.0+

Give players a persistent, in-app inbox (CleverTap-backed) to revisit push and in-app messages they may have missed.

Firebase Remote Config

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.4.1+
  • This is the feature that supports getting configuration information (actions to be taken) from the Firebase system. The Firebase system relies on tracking information (obtained from in-app tracking events of the Firebas Tracking feature) to determine which targeting group the user belongs to, and returns the client the corresponding configuration file (this configuration information is set up by the product’s Marketing administrator on Firebase Console).

  • The application when receiving configuration information will process to have the appropriate action (for example: show promotion information suitable loaded package / increase the rate of item in a short time …) for the user corresponding.

Apollo push notification

iOS 3.12.0+Android 3.9.0+Unity 1.12.0+Unreal 1.4.1+

Send push notifications through Apollo, an additional push provider alongside Firebase Cloud Messaging and CleverTap.

Apollo in-app message

iOS 3.12.0+Android 3.12.0+Unity 1.12.0+Unreal 1.4.1+Windows 2.10.0+

Deliver targeted, contextual in-app messages through Apollo, an additional in-app messaging provider alongside Firebase and CleverTap.

Apollo app inbox

iOS 3.12.0+Android 3.12.0+Unity 1.12.0+Unreal 1.4.1+Windows 2.10.0+

Give players an in-app inbox powered by Apollo, an alternative provider to the CleverTap-backed app inbox.

In-app WebView

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.4.1+Windows 2.6.0+

The VNGGames SDK supports two main types of WebView:

  • Display a custom URL within a WebView inside your game.

  • Show a WebView with a URL configured on the SDK server to gather information before displaying it in your game.

Social

VNGGames SDK lets players share and invite friends without leaving the game, using Facebook (profile, photo and link sharing, friend list, invite friends) and Instagram (share to feed or Stories).

Facebook

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.4.1+

Main supported features:

  • Get profile: get user’s profile.

  • Share photo: share the photo on your wall.

  • Share link: share the URL (URL website, URL app on store, Onelink URL…), combined with photo on your wall. When your friend click on your post, they will be redirect to the URL that you shared.

  • Get Friend List: get list of Facebook’s friend that is using app.

  • Invite friend: invite your Facebook friend to use this app.

Instagram

iOS 2.3.40+Android 2.3.43+Unity 1.0.1+

Main supported features:

  • Share feed: share the content to your feed.
  • Share stories: share the content to your story.

User Experience

VNGGames SDK smooths everyday interactions with In-App Reviews, so players can submit Play Store or App Store ratings without leaving the game, and Google Translator, which translates chat messages into the user’s language in-app.

In-App Reviews

iOS 2.3.40+Android 2.3.43+Unity 1.0.0+Unreal 1.0.0+

VNGGames SDK provides a convenient way for users to submit Play Store and App Store ratings and reviews without leaving your app or game, utilizing Google Play and App Store In-App Reviews.

Google Translator

iOS 2.3.40+Android 2.3.43+Unity 1.0.1+Windows 1.1.0+

Google Translator feature in VNGGames SDK is a powerful tool designed to seamlessly translate any text into any language, or the user’s preferred language. This feature make your game even cooler and more enjoyable for everyone!

  • Game need to design a button appear with each chat message so that user can click in it and game will call the translate function.

  • Each message just translate one time and show directly to user in chat.