可以从ios应用程序一侧以编程方式获取bigquery或Firebase分析数据吗? [英] Can bigquery or Firebase analytics data acessible from ios app side programmatically?

查看:44
本文介绍了可以从ios应用程序一侧以编程方式获取bigquery或Firebase分析数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Firebase分析数据并启用了BigQuery.但是我需要在自动UI测试下在应用程序端验证事件和屏幕的数量.是否通过编程快速或客观地在ios应用程序端访问和验证Firebase分析数据?

解决方案

没有用于通过Firebase检索Google Analytics(分析)数据的API.请参见我可以使用查询获取Firebase分析数据吗?

BigQuery也没有API可以直接从您的客户端应用程序进行安全访问.这将带来巨大的安全风险,因为您将向所有用户公开所有用户的数据.

实现功能的通常方法是创建一个自定义终结点(使用您已经拥有的服务器或Cloud Functions for Firebase),该终结点仅公开客户端需要访问的信息

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?

解决方案

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

这篇关于可以从ios应用程序一侧以编程方式获取bigquery或Firebase分析数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆