版本说明
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页提供了各版本 Play Install Referrer API 库的版本说明。
Play Install Referrer API 库 2.2 版 (2021-01-14)
2.2 版已发布。修复了 SecurityException
可能导致应用崩溃的问题(请参阅问题 #72926755)。
添加了新的 InstallReferrerResponse
常量:PERMISSION_ERROR
,每当系统不允许应用绑定到服务时便会返回此常量。
Play Install Referrer API 库 2.1 版 (2020-07-08)
2.1 版已发布。修复了在调用 InstallReferrerClient.startConnection()
方法时应用可能会崩溃并出现 NoClassDefFoundError
错误的问题(请参阅问题 145555612)。
Play Install Referrer API 库 2.0 版 (2020-07-06)
2.0 版已发布。在 getInstallReferrer()
方法的响应中添加了新字段,以帮助开发者了解和发现有关欺诈性点击的信息。
Play Install Referrer API 库 1.1 版 (2019-11-22)
1.1 版已发布。添加了 getGooglePlayInstantParam()
方法,用于检查用户在过去 7 天内是否曾与应用的免安装体验互动。
Play Install Referrer API 库 1.0 版 (2017-11-15)
1.0 版已发布。初始版本侧重于封装 Android 接口定义语言 (AIDL) API 的库。如需详细了解 AIDL 接口,请参阅 Play Install Referrer API 页面。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Release notes\n\nThis page provides release notes for each version of the Play Install Referrer\nAPI Library.\n\nPlay Install Referrer API Library 2.2 Release (2021-01-14)\n----------------------------------------------------------\n\nVersion 2.2 launched. Fixed an issue where apps could crash caused by a\n`SecurityException`\n(see [Issue #72926755)](https://issuetracker.google.com/issues/72926755)).\n\nAdded a new `InstallReferrerResponse` constant: `PERMISSION_ERROR`, which is\nreturned whenever the app is not allowed to bind to the Service.\n\nPlay Install Referrer API Library 2.1 Release (2020-07-08)\n----------------------------------------------------------\n\nVersion 2.1 launched. Fixed an issue where apps could crash with a\n`NoClassDefFoundError` error when the [`InstallReferrerClient.startConnection()`](/reference/com/android/installreferrer/api/InstallReferrerClient#startconnection)\nmethod was called (see [Issue #145557612](https://issuetracker.google.com/issues/145557612)).\n\nPlay Install Referrer API Library 2.0 Release (2020-07-06)\n----------------------------------------------------------\n\nVersion 2.0 launched. Added new fields to the response of the\n[`getInstallReferrer()`](/google/play/installreferrer/igetinstallreferrerservice#the_getinstallreferrer_method)\nmethod to help developers understand and discover information about fraudulent\nclicks.\n\nPlay Install Referrer API Library 1.1 Release (2019-11-22)\n----------------------------------------------------------\n\nVersion 1.1 launched. Added the\n[`getGooglePlayInstantParam()`](/reference/com/android/installreferrer/api/ReferrerDetails#getgoogleplayinstantparam)\nmethod, which checks whether the user has interacted with your app's [instant\nexperience](/topic/google-play-instant/overview) within the past 7 days.\n\nPlay Install Referrer API Library 1.0 Release (2017-11-15)\n----------------------------------------------------------\n\nVersion 1.0 launched. The initial version focuses on a library that wraps the\nAndroid Interface Definition Language (AIDL) API. For more information about the\nAIDL interface, refer to the\n[Play Install Referrer API](/google/play/installreferrer/igetinstallreferrerservice)\npage."]]