Can bigquery or Firebase analytics data acessible from ios app side programmatically?

半世苍凉 提交于 2020-01-30 11:25:26

问题


I have Firebase analytics data and enabled BigQuery. But I have a requirement to validate the number of events and screens at app side under automated UI testing. Anyway to access and validate the Firebase analytics data at ios app side programmatically either in swift or objective c?


回答1:


There is no API to retrieve Google Analytics data through Firebase. See Can I get firebase analytics data using query?

There is also no API for BigQuery to allow secure access directly from your client-side app. That would be a significant security risk, as you'd be exposing data about all of your users to all of your users.

The usual way to implement functionality is to create a custom endpoint (either using a server you already have, or Cloud Functions for Firebase) that exposes just the information your clients need access



来源:https://stackoverflow.com/questions/57947395/can-bigquery-or-firebase-analytics-data-acessible-from-ios-app-side-programmatic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!