Skip to content
DiasFranciscoA edited this page Apr 28, 2023 · 3 revisions

Home

Google Play Pass is a subscription-based service offered by Google for Android devices that provides access to a collection of premium apps and games without ads or in-app purchases. With Google Play Pass, subscribers can download and use a wide range of apps and games. The service is available for a monthly fee and includes a free trial period. Google Play Pass is designed to offer users an affordable and convenient way to discover and enjoy high-quality apps and games on their Android devices.

By using this extension, you can verify whether a particular user has subscribed to Google Play Pass.

Functions

This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.



Back To Top

GooglePlayPassLicensing_CheckLicense

Use this functio to check if the current user is licensed or not. If the user is not subscribed a paywall will be shown so they can subscribe.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Social Async Event.


Syntax:

GooglePlayPassLicensing_CheckLicense()

Returns:

undefined


Triggers:

Social Async Event

Triggered if the user is subscribed to the play pass.

Key Type Description
type string The value "GooglePlayPassLicensing"
event string The value "LICENSED".

Triggered if the user is not subscribed to the play pass.

Key Type Description
type string The value "GooglePlayPassLicensing"
event string The value "NOT_LICENSED".
value boolean Wheather or not the paywall has been shown to the user.

Triggered if there was an error checking for the license.

Key Type Description
type string The value "GooglePlayPassLicensing"
event string The value "ERROR".
value string The error message.


Clone this wiki locally