iOS TestFlight 上的 Firebase 动态链接中断查询、react-native、Expo
我从 Firebase 到 TestFlight 应用程序的动态链接最近停止工作。
链接:
{firebase_domain.page.link}/?link={my_site}/?type=password-reset&token={jwt}&ibi={apple_bunle_id}&isi={apple_ID}
在 Firefox 焦点中打开。所有其他选项 - 从嵌入到单独的站点到单击,或 gmail 或 safari 都会通过应用程序的 apple_ID 引导至 AppStore - 并且它是空的,因为它是 TestFlight。
问题是我从 firebase 收到格式错误的链接,如下所示:
{apple_bunle_id}://google/link?deep_link_id={my_site}%2F%3Ftype%3Dpassword-reset<=DDL_LONG&lid=temp_link_id&utm_medium=dynamic_link&utm_source=firebase
因此,我没有收到任何解析的令牌,而是什么也没有收到。
它最近可以运行,并且可以在 Android 上运行。 如果您将 {firebase_domain.page.link} 替换为本地 expo url,则链接可以在 Expo GO 上使用。 (可能是通用链接)
{firebase_domain.page.link}/apple-app-site-association
设置正确 {my_site} 和 {firebase_domain.page.link} 添加为关联域,而无需
从 app.json 格式化我的 iOS 配置
"ios": {
"bundleIdentifier": {apple_bunle_id},
"supportsTablet": false,
"googleServicesFile": "./GoogleService-Info.plist",
"buildNumber": "47.9",
"associatedDomains": ["applinks:{my_site}", "applinks:{firebase_domain.page.link}", "applinks:{my_site2}"]
}
我的链接前缀配置:
prefixes: ['{universal_link_name}', Linking.makeUrl({firebase_domain.page.link}), Linking.makeUrl({apple_bunle_id})],
My dynamic link from Firebase to TestFlight app recently stopped working.
Link:
{firebase_domain.page.link}/?link={my_site}/?type=password-reset&token={jwt}&ibi={apple_bunle_id}&isi={apple_ID}
Open in Firefox focus. All other options - from embed to separate site to click, or gmail, or safari lead to AppStore by apple_ID of app - and it’s empty, because it’s TestFlight.
The problem is that I receive a malformed link from firebase as:
{apple_bunle_id}://google/link?deep_link_id={my_site}%2F%3Ftype%3Dpassword-reset<=DDL_LONG&lid=temp_link_id&utm_medium=dynamic_link&utm_source=firebase
So instead of parsed token I receive nothing.
It was working recently, and works on Android.
Link works on Expo GO if you replace {firebase_domain.page.link} with local expo url. (Universal link probably)
{firebase_domain.page.link}/apple-app-site-association
set up properly
{my_site} and {firebase_domain.page.link} added to as associatedDomains without formatting
My iOS config from app.json
"ios": {
"bundleIdentifier": {apple_bunle_id},
"supportsTablet": false,
"googleServicesFile": "./GoogleService-Info.plist",
"buildNumber": "47.9",
"associatedDomains": ["applinks:{my_site}", "applinks:{firebase_domain.page.link}", "applinks:{my_site2}"]
}
My Linking prefixes config:
prefixes: ['{universal_link_name}', Linking.makeUrl({firebase_domain.page.link}), Linking.makeUrl({apple_bunle_id})],
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论