Meta tags:
description= This guide details how to set up the Play Integrity API for Android apps and SDKs, covering enabling API responses, integrating the API into various development environments, managing usage limits, and configuring optional API response features like device integrity and environment details.;
keywords= Android,Google Play,Play Integrity API,API Setup,Cloud Console,SDK Integration,API Integration,Unity,Unreal Engine,Device Integrity;
Headings (most frequently used words):
play, your, google, and, on, integrity, for, api, sdk, optional, games, encryption, environment, recommended, configure, apps, providers, console, unity, openupm, unreal, engine, verdicts, manage, keys, managed, android, supported, versions, set, up, development, setup, stay, organized, with, collections, save, categorize, content, based, preferences, enable, link, to, understand, usage, limits, integrate, into, app, responses, classic, request, settings, increase, daily, maximum, number, of, requests, kotlin, or, java, cli, import, from, github, native, default, pc, let, response, own, switch, between, self, more, discover, devices, releases, documentation, downloads, support, device, information, details,
Text of the page (most frequently used words):
the (229), play (169), and (116), google (101), your (82), #android (77), device (74), app (67), integrity (58), for (57), you (53), api (52), sdk (36), #console (35), not (31), apps (29), project (28), cloud (26), that (25), with (24), are (23), can (20), more (19), requests (19), all (17), installed (17), from (16), response (16), running (16), build (16), this (15), request (15), use (15), games (15), quota (15), get (14), libraries (14), keys (13), verdict (13), services (13), user (13), package (13), standardintegritymanager (12), protect (11), tools (11), have (11), core (11), unity (11), link (11), support (10), studio (10), other (10), standard (10), encryption (10), server (10), click (10), access (10), was (10), version (10), latest (10), com (10), manage (9), wear (9), select (9), will (9), such (9), could (9), following (9), used (9), value (9), set (9), updates (9), additional (9), how (9), projects (9), overview (9), experiences (9), cars (8), security (8), thumb (8), make (8), using (8), classic (8), open (8), environment (8), must (8), field (8), preloaded (8), enabled (8), details (8), unreal (8), engine (8), openupm (8), increase (8), learn (8), design (8), privacy (7), documentation (7), devices (7), developer (7), decrypt (7), these (7), between (7), responses (7), note (7), has (7), case (7), form (7), bit (7), development (7), integrate (7), manager (7), daily (7), compose (7), download (6), help (6), information (6), down (6), samples (6), changes (6), automatically (6), default (6), verdicts (6), plan (6), evaluated (6), trustworthy (6), enough (6), may (6), higher (6), requesting (6), write (6), recall (6), token (6), usage (6), data (6), versions (6), setup (6), supported (6), linking (6), enable (6), features (6), index (6), news (5), reference (5), releases (5), chromeos (5), health (5), blog (5), read (5), code (5), last (5), subject (5), next (5), managed (5), secure (5), when (5), optional (5), risk (5), accessibility (5), necessary (5), requirement (5), missed (5), turned (5), empty (5), including (5), system (5), recent (5), technical (5), number (5), meets_strong_integrity (5), high (5), add (5), plugin (5), step (5), started (5), apis (5), programs (5), explore (5), phones (5), tablets (5), foldables (5), quality (5), builder (5), standardintegritydialogrequest (5), integritydialogrequest (5), users (5), guidelines (4), platform (4), guides (4), community (4), updated (4), content (4), change (4), caution (4), save (4), recommended (4), edit (4), available (4), feature (4), skip (4), only (4), settings (4), being (4), unevaluated (4), store (4), happen (4), does (4), game (4), level (4), inputs (4), outputs (4), were (4), partition (4), description (4), new (4), activity (4), because (4), there (4), than (4), certified (4), into (4), meets_basic_integrity (4), label (4), returns (4), labels (4), criteria (4), create (4), choose (4), navigate (4), linked (4), powered (4), their (4), native (4), plugins (4), menu (4), install (4), testing (4), delivery (4), monetization (4), jetpack (4), areas (4), excellent (4), experience (4), glasses (4), world (4), brand (3), license (3), studies (3), developers (3), camera (3), media (3), fitness (3), enterprise (3), need (3), utc (3), even (3), production (3), before (3), sure (3), avoid (3), switch (3), update (3), backend (3), locally (3), public (3), self (3), protected (3), tokens (3), within (3), verify (3), own (3), meaning (3), verified (3), known (3), controlling (3), found (3), any (3), issues (3), doesn (3), account (3), unknown (3), factor (3), blank (3), might (3), overlays (3), control (3), capture (3), screen (3), which (3), manufacturer (3), after (3), opt (3), include (3), tells (3), whether (3), year (3), every (3), values (3), per (3), returned (3), attributes (3), requires (3), take (3), meets_device_integrity (3), checks (3), release (3), sdks (3), multiple (3), emulator (3), file (3), github (3), already (3), reviews (3), describe (3), import (3), selecting (3), option (3), command (3), gradle (3), kotlin (3), making (3), maximum (3), eligible (3), eligibility (3), providers (3), should (3), increases (3), 000 (3), stay (3), together (3), work (3), interfaces (3), gemini (3), preview (3), optimize (3), ide (3), adaptive (3), standardintegrityresponse (3), integrityresponse (3), develop (3), our (3), best (3), 한국어 (2), 日本語 (2), ภาษาไทย (2), বাংলা (2), हिंदी (2), فارسی (2), العربيّة (2), עברית (2), русский (2), türkçe (2), tiếng (2), việt (2), português (2), brasil (2), polski (2), italiano (2), indonesia (2), français (2), español (2), américa (2), latina (2), deutsch (2), english (2), tips (2), join (2), report (2), bug (2), guide (2), downloads (2), discover (2), connect (2), business (2), follow (2), understand (2), too (2), out (2), date (2), 2026 (2), page (2), java (2), trademarks (2), demo (2), switching (2), immediately (2), configured (2), handle (2), disruption (2), let (2), under (2), managing (2), decryption (2), client (2), strategy (2), correctly (2), servers (2), recommend (2), generate (2), calls (2), configure (2), trigger (2), but (2), been (2), yet (2), several (2), reasons (2), library (2), displaying (2), remote (2), recording (2), fields (2), false (2), specific (2), each (2), three (2), level_4 (2), fewer (2), level_1 (2), hour (2), deviceattributes (2), sdkversion (2), genuine (2), hardware (2), backed (2), proof (2), boot (2), patch (2), passes (2), bootloader (2), locked (2), cannot (2), provide (2), compatibility (2), trust (2), apply (2), custom (2), distribution (2), about (2), meets (2), example (2), one (2), receive (2), application (2), certificate (2), name (2), match (2), distributed (2), entitlement (2), playintegrity (2), publicdependencymodulenames (2), target (2), mygame (2), class (2), search (2), folder (2), repository (2), sections (2), terms (2), service (2), unitypackage (2), window (2), dependency (2), registry (2), cli (2), 2018 (2), newer (2), both (2), want (2), logic (2), volume (2), limit (2), side (2), shared (2), notes (2), different (2), upon (2), increased (2), button (2), configuration (2), options (2), first (2), events (2), tos (2), product (2), categories (2), authors (2), marketing (2), bundles (2), resources (2), referrer (2), asset (2), dev (2), center (2), policies (2), fundamentals (2), better (2), tech (2), bench (2), line (2), performance (2), test (2), debug (2), workflow (2), connectivity (2), files (2), background (2), multidevice (2), fraud (2), prevention (2), identity (2), permissions (2), multiplatform (2), modularization (2), navigation (2), introduction (2), architecture (2), widgets (2), headsets (2), desktop (2), mobile (2), sandbox (2), experimental (2), productivity (2), social (2), messaging (2), category (2), googlebook (2), training (2), verification (2), hello (2), standardintegritytokenrequest (2), tokenresponse (2), exceptiondetails (2), prepareintegritytokenrequest (2), integritytokenrequest (2), essentials (2), designed (2), grow (2), real (2), browse (2), factors (2), subscribe, email, cookies, products, firebase, chrome, research, ndk, large, screens, machine, learning, gaming, podcasts, source, linkedin, articles, industry, thoughts, team, medium, googleplaybiz, easy, easytounderstand, solved, problem, solvedmyproblem, otherup, missing, missingtheinformationineed, complicated, many, steps, toocomplicatedtoomanysteps, outofdate, issue, samplescodeissue, otherdown, licenses, described, openjdk, registered, oracle, its, affiliates, arrow_forward, arrow_back, previous, invalidates, previously, downloaded, encrypted, upload, key, still, fall, back, tip, never, expose, management, allowing, call, manages, alternatively, yourself, section, exempts, capturing, overlay, legitimate, flagged, risks, dangerous, high_risk, potentially, harmful, medium_risk, off, possible_risk, scan, performed, recently, reset, no_data, did, find, no_issues, parameter, verdictoptout, outdated, phone, tablet, foldable, appaccessriskverdict, unknown_overlays, unknown_controlling, unknown_capturing, unknown_installed, known_overlays, known_controlling, known_capturing, known_installed, malware, display, excluded, dates, accurate, month, time, true, removed, writedates, yyyymmfirst, yyyymmsecond, yyyymmthird, past, decide, bitfirst, bitsecond, bitthird, highest, level_3, level_2, lowest, unset, thus, maps, version_codes, lower, require, therefore, also, partitions, vendor, basic, unlocked, state, unverified, assurances, attestation, provided, root, beta, pricing, scale, general, lets, some, reliably, retrieve, again, later, same, ranging, low, levels, indicate, excessive, abusive, untrusted, future, extended, tell, single, tiered, enforcement, deviceintegrity, effect, prepared, accept, saving, visit, requirements, meets_virtual_integrity, distribute, opted, signs, attack, hooking, compromise, rooted, physical, pass, loaded, image, records, unrecognized_version, play_recognized, licensing, signed, happens, sideloads, acquire, unlicensed, words, licensed, includes, customize, see, base, readonlytargetrules, modulerules, unrealbuildtool, module, restart, check, checkbox, copy, inside, googleplay, final, supports, subsequent, downloading, agree, software, kit, importing, items, assets, list, press, scope, drop, registries, url, https, scopes, external, common, scoped, 2017, older, aren, 2019, 2020, covering, installation, methods, implementation, maven, depending, comments, type, often, complete, claimed, submit, implemented, proper, retry, strategies, relevant, addition, channels, unlinked, rejected, very, rolled, gradually, sudden, traffic, spikes, cause, throttling, continue, infrequent, actions, preserve, battery, generation, processing, week, monitoring, setting, interruptions, alerts, decryptions, preparations, action, total, tied, associated, anticipate, limits, five, consider, environments, attribute, rather, individual, isn, instructions, now, advanced, proceed, existing, calling, monitor, mandatory, integrations, directly, explains, begin, then, required, reporting, categorize, based, preferences, organized, collections, standardintegritywebviewrequestmode, standardintegrityverdictoptout, standardintegrityerrorcode, integrityerrorcode, integritydialogtypecode, integritydialogresponsecode, annotations, model, standardintegrityexception, integrityserviceexception, exceptions, standardintegritytoken, integritytokenresponse, integritymanagerfactory, classes, standardintegritytokenprovider, integritymanager, safety, remediation, dialogs, error, codes, sign, detailed, manuals, references, specifications, confidence, upcoming, webinars, workshops, meetups, special, initiatives, results, teams, achieve, goals, quick, deep, dive, tutorials, smarter, faster, stories, spotlight, collaborative, bring, loop, behind, scenes, looks, evolving, publishing, promoting, deliver, engage, monitize, publish, share, pipeline, docs, companion, safeguard, against, threats, ensure, align, robust, testable, maintainable, beautiful, interface, practices, touch, throughout, give, feedback, prescriptive, opinionated, guidance, main,
Text of the page (random words):
daily api quota open the google play console and select your app navigate to protected with play next to play integrity api select the get started button to go to play integrity api settings click the link cloud project button choose the google cloud project you plan to use with the play integrity api if the play integrity api isn t already enabled for the project it will be enabled automatically upon linking for sdk providers on play sdk console sdk providers using the google play sdk console can link their google cloud project to attribute api usage to the sdk rather than the individual apps using it enable additional features and request increased daily api quota note that access to the google play sdk console is subject to eligibility criteria open the google play sdk console and select your sdk navigate to sdk integrity under play integrity api click link a cloud project choose the google cloud project you plan to use with the play integrity api if the play integrity api is not already enabled for the project it will be enabled automatically upon linking note you can link up to a maximum of five google cloud projects to your app or sdk you should consider linking multiple projects if you need to support different environments for your testing and production understand play integrity api usage limits your app or sdk has a default daily limit of 10 000 total requests tied to the associated cloud project number if you anticipate a higher volume you can request a quota increase action daily quota notes token requests 10 000 shared between classic requests and standard token preparations token decryptions on google s servers 10 000 shared between classic and standard requests increase your daily maximum number of requests quota increase is subject to eligibility criteria quota increases apply to both client side token generation and server side decryption calls processing requests can take up to a week we recommend monitoring your play integrity api usage in your google cloud console and setting quota alerts to avoid interruptions to your service even with higher quota continue to limit classic requests to infrequent high value actions to preserve user battery and data usage caution very high volume changes should be rolled out gradually sudden traffic spikes may cause throttling for apps and games on google play to be eligible for a quota increase your app must be available on google play in addition to any other distribution channels you must link your google cloud project to your app in the play console quota requests from unlinked projects will be rejected to request an increase link the relevant google cloud project in the play console verify you have correctly implemented api logic including proper retry strategies submit the quota request form for sdk providers on play sdk console to be eligible for a quota increase your sdk must be claimed on the google play sdk console and your cloud project must be linked to your sdk there access to the google play sdk console is subject to eligibility criteria to request an increase link your google cloud project in the google play sdk console complete the developer support form in the open comments provide your sdk details describe your use case the type of api requests that you re making standard classic or both how often you re making requests and the daily maximum requests that you want integrate play integrity api into your app to integrate the play integrity api into your app or sdk do one of the following depending on your development environment kotlin or java the latest android library for the play integrity api is available from google s maven repository add the following dependency to your app s build gradle file implementation com google android play integrity 1 6 0 unity the following sections describe how to integrate and set up the google play integrity api for unity projects covering supported unity versions installation methods and environment setup supported unity versions all versions of 2019 x 2020 x and newer are supported if you use unity 2018 x version 2018 4 or newer are supported unity 2017 x and older aren t supported set up your development environment openupm cli if you have the openupm cli installed you can install the openupm registry with the following command openupm add com google play integrity openupm open the package manager settings by selecting the unity menu option edit project settings package manager add openupm as a scoped registry to the package manager window name package openupm com url https package openupm com scopes com google external dependency manager com google play common com google play core com google play integrity open the package manager menu by selecting the unity menu option window package manager set the manager scope drop down to select my registries select the google play integrity plugin for unity package from the package list and press install import from github download the latest unitypackage release from github import the unitypackage file by selecting the unity menu option assets import package custom package and importing all items note by downloading and using google play unity plugins you agree to the play core software development kit terms of service unreal engine the following sections describe how to integrate and set up the google play integrity api for unreal engine projects supported unreal engine versions the plugin supports unreal engine 5 0 and all subsequent versions set up your development environment note if you have already used the in app reviews or in app updates plugins in unreal engine you can skip to the final step download the play unreal engine plugin from the github repository copy the googleplay folder inside your plugins folder in your unreal engine project open your unreal engine project and click edit plugins search for google play and check the enabled checkbox restart the game project and trigger a build open your project s build cs file and add the playintegrity module to publicdependencymodulenames using unrealbuildtool public class mygame modulerules public mygame readonlytargetrules target base target publicdependencymodulenames add playintegrity native follow the native setup guide for more details see play integrity s native api reference documentation configure api responses optional the api response includes default verdicts returned in every request if you have linked your cloud project in the play console or play sdk console you can customize your api response to include additional information default integrity verdicts the following integrity verdicts are returned in the play integrity api response by default response field value description play account details licensed the user has an app entitlement in other words the user installed or updated your app from google play on their device unlicensed the user doesn t have an app entitlement this happens when for example the user sideloads your app or doesn t acquire it from google play unevaluated licensing details were not evaluated because a requirement was missed this could happen for several reasons including the following the device is not trustworthy enough the user is not signed in to google play the version of your app installed on the device is unknown to google play application integrity play_recognized the app and certificate match the versions distributed by google play unrecognized_version the certificate or package name does not match google play records unevaluated application integrity was not evaluated a necessary requirement was missed such as the device not being trustworthy enough device integrity meets_device_integrity the app is running on a genuine and certified android device on android 13 and higher there is hardware backed proof that the device bootloader is locked and the loaded android os is a certified device manufacturer image empty a blank value the app is running on a device that has signs of attack such as api hooking or system compromise such as being rooted or the app is not running on a physical device such as an emulator that does not pass google play integrity checks google play games for pc if you distribute to google play games for pc you will automatically be opted in to receive an additional label in the device integrity verdict response field label description device integrity meets_virtual_integrity the app is running on an android emulator powered by google play services the emulator passes system integrity checks and meets core android compatibility requirements optional integrity verdicts if you have linked your cloud project in the play console or play sdk console you can opt in to receive additional information to make changes visit the play console and navigate to protected with play next to play integrity api click manage click change responses edit and save your changes caution changes to integrity responses take effect immediately including for apps and sdks in production make sure your server is prepared to accept new responses before saving changes device information additional device labels in the deviceintegrity verdict tell you more about the device environment the app is running on a single device returns multiple labels if it meets the criteria for each you can use these labels to create a tiered enforcement strategy for example you might choose to trust a device that returns three labels meets_strong_integrity meets_device_integrity and meets_basic_integrity more than a device that returns only one label meets_basic_integrity device attributes tells you the android sdk version of the android os on the device in the future it may be extended with other device attributes recent device activity returns a level ranging from level_1 low number of requests to level_4 high number of requests high activity levels may indicate a device being used to generate excessive tokens for abusive distribution to untrusted devices device recall lets you store some custom per device data with specific devices that you can reliably retrieve when your app is installed again later on the same device note device recall is available in beta to apps and subject to change pricing for high scale usage may apply after general release sdks cannot use device recall after you opt in to optional information your api response will include new fields and responses in the verdict response field label description device integrity meets_basic_integrity the app is running on a device that passes basic system integrity checks the device bootloader can be locked or unlocked and the boot state can be verified or unverified the device may not be certified in which case google cannot provide any security privacy or app compatibility assurances on android 13 and higher the meets_basic_integrity verdict requires that the attestation root of trust is provided by google meets_strong_integrity the app is running on a genuine and certified android device with a recent security update on android 13 and higher the meets_strong_integrity verdict requires meets_device_integrity and security updates in the last year for all partitions of the device including an android os partition patch and a vendor partition patch on android 12 and lower the meets_strong_integrity verdict only requires hardware backed proof of boot integrity and does not require the device to have a recent security update therefore when using the meets_strong_integrity it is recommended to also take into account the android sdk version in the deviceattributes field device attributes sdkversion 19 20 37 the sdk version of the android os running on the device the number returned maps to build version_codes empty a blank value the sdk version is not evaluated because a necessary requirement was missed in this case the sdkversion field is unset thus the deviceattributes field is empty this could happen because the device is not trustworthy enough there were technical issues on the device standard api integrity token requests on this device in the last hour per app classic api integrity token requests on this device in the last hour per app recent device activity level_1 lowest 10 or fewer 5 or fewer level_2 between 11 and 25 between 6 and 10 level_3 between 26 and 50 between 11 and 15 level_4 highest more than 50 more than 15 unevaluated recent device activity was not evaluated this could happen because the device is not trustworthy enough the version of your app installed on the device is unknown to google play there were technical issues on the device device recall values bitfirst bitsecond bitthird these are the bit values that you set in the past for the specific device you decide the meaning of each bit the three bit values are false by default writedates yyyymmfirst yyyymmsecond yyyymmthird these are the bit value write dates in utc accurate to the year and month the write date of a recall bit is updated every time the bit is set to true and is removed when the bit is set to false environment details app access risk tells you whether other apps are running that could be used to capture the screen display overlays or control the device verified accessibility services that are known to google play are automatically excluded from this verdict play protect verdict tells you whether google play protect is enabled on the device and whether it has found known malware after you opt in to optional information your api response will include new fields and responses in the verdict response field value description app access risk verdict known_installed apps are installed by google play or preloaded on the system partition by the device manufacturer known_capturing apps installed by google play or preloaded on the device are running that could be used to read or capture inputs and outputs of the requesting app such as screen recording apps known_controlling apps installed by google play or preloaded on the device are running that could be used to control the device and inputs and outputs of the requesting app such as remote controlling apps known_overlays apps installed by google play or preloaded on the device are running that might be displaying overlays on the requesting app unknown_installed other apps are installed which were not installed by google play or preloaded on the system partition by the device manufacturer unknown_capturing other apps are running not installed by play or preloaded on the device that could be used to read or capture inputs and outputs of the requesting app such as screen recording apps unknown_controlling other apps are running not installed by play or preloaded on the device that could be used to control the device and inputs and outputs of the requesting app such as remote controlling apps unknown_overlays other apps are running not installed by play or preloaded on the device that might be displaying overlays on the requesting app empty a blank value app access risk is not evaluated if a necessary requirement wa...
|