我正在开发一个 Android 应用程序,我计划在其中集成 Google Analytics。目前,我的应用程序的最低 API 级别是 10。
我有以下问题:
- Google Analytics 所需的最低 API 级别是多少?
- 支持 API 级别 10 的 GA 的最佳替代方案是什么?
谢谢。
最佳答案
Google Analytics 没有 API 限制。据官方documentation ,似乎所有已集成 Google Play 服务 的设备将支持将 Google Analytics 集成到您的应用中。官方文档中也说
Google Analytics can be used and will work on devices that do not have Google Play Services. In this case you still download and use the Google Play Services SDK and Google Analytics will automatically fall back to local dispatching.
因此,它可以通过下载 Google Play Services SDK 来使用,最不用担心API 级别。
关于android - Google Analytics 的最低 Android API 级别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39940571/