问题标签 [dynamic-links]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
firebase - 为什么以编程方式创建的动态链接未在 Firebase 控制台的“动态链接”中列出?
当我从 Firebase 控制台手动创建动态链接时,它会列在“动态链接”部分中,但是当以编程方式创建链接时,它不会列在 Firebase 控制台的“动态链接”部分中。
这些以编程方式创建的链接可以正常工作,但未列出。
我已关注此博客以在我的 Flutter 应用程序中设置动态链接。链接:https ://www.filledstacks.com/post/dynamic-links-in-flutter-a-complete-guide/
firebase - Flutter Firebase Dynamic Link Navigator.push 不导航
我正在尝试实现 Firebase 动态链接。但是当我单击链接时,它会调用函数但不会将我带到指定的页面。
代码实现
main.dart
主条目决赛申请
动态链接管理器.dart
另一个处理动态链接的类。
控制台输出 这是您可以看到的输出,它的返回数据是由动态链接捕获的。我不认为这是 firebase 动态链接的问题,感觉更像是 Navigator 问题,但我无法在此处识别问题,因为此Navigator在整个项目中正常工作,期望在这里。
EaseInOutSinePageRoute只是为导航添加动画。
swift - FirebaseDynamicLink:长链接有效,但短链接无效
我正在构建一个具有邀请链接的应用程序。
链接在 Android 应用程序中有效,但在 iOS 中,长链接有效,但短链接无效。
这是我在 appdelegate 中处理动态链接的代码
我已经在 didFinishLaunchingWithOptions 添加了这些代码
在 info.plist 我添加了这些
当我单击长链接时,它可以工作,但短链接返回 nil,并且我收到类似“动态链接 Web URL 查询项为空”的错误
react-native - 添加 efr=1 后反应原生 firebase 动态链接不起作用
您好,我正在使用动态链接,这些链接按预期工作,问题是它在 ios 中向我显示预览页面,我不想显示预览页面,这就是我在链接中添加 efr=1 的原因但是我在浏览器中收到无效 url 链接的错误
添加efr后分享url
https://reelweb.page.link/mJCyiFDrr78MGoye8&efr=1
所以请建议我如何删除共享网址中的预览页面。
错误页面
必须是可解析的 URI,但作为 DynamicLink 可能不完整。
如果您是此应用的开发者,请确保您的动态链接域配置正确并且此 URL 的路径组件有效。
firebase - Handling different scenarios for app redirection using Firebase Dynamic Links
I am trying to create a streaming app. I am integrating Firebase Dynamic links, so hosts can share a link to join their session. But I am kinda lost on how to implement it, and I would like to know your insights about this.
So let me start with the structure, this is the main pages:
- MainApp
- Authenticate
- LoginPage
- HomePage
- Profile
- JoinPage
- Authenticate
This is how I setup my app, they are all wrap to Authenticate widget, this widget determines if user should be redirected to login or the home page. Pretty simple eh. :)
Then here comes the Dynamic links. My dynamic links has a query params on it to determine which session to join. It looks like this:
https://my.app.link/join-session?sessionId=\<some random keys>
And this is what I want to handle it.
This is how my code looks:
MainApp.dart logic
And this is my Authenticate Page:
I have also create a separate service for handling the dynamic links:
DynamicLinkService.dart
I also have another UtilService that generates dynamic links:
Utils.dart
On my home page I have this method that will should be called whenever user lands in the homepage:
HomePage.dart:
The issue on this implementation is that sometimes it works and sometimes it does not work and I am not sure why. :(
Should I just use a simple class instead of a provider? If yes, how can I persists the sessionId?
Other Scenarios that I want to handle is when user is in different page like the Profile Page. At this point, user can minimize the app and can click the dynamic link from other sites or from messenger. When the app resumes, it will open in the ProfilePage where it doesn't have handling for dynamic links (only HomePage and LoginPage has handling on it). How can I remedy this? Should I add handling of dynamic links to all my pages? Or perhaps can I create a dynamic link that can redirect to a certain page in my app? If yes, how can I do that?
I am kinda new in implementing the dynamic links (as well as Providers) and would like your opinion on this issue.Thanks in advance and I hope someone can help me or give me some insights on best practices on how to do this.
string-interpolation - 如何使用 routeLink 导航到动态链接
我像这样在 app.module.ts 中定义路由
然后我给 routeLink 如下
但是当我单击按钮时,它显示的 urlhttp://localhost:4200/property-detail/undefined
没有显示id
如何解决这个问题的值。
react-native - 动态链接反应使用未安装的模块
尝试创建 dynamicLink 时,会弹出此错误:
您尝试通过调用 firebase.app() 使用未安装在您的 Android 项目上的 firebase 模块 确保您有:
在“MainApplication.java”文件中导入了“io.invertase.firebase.app.ReactNativeFirebaseAppPackage”模块。
在 RN 'getPackages()' 方法列表中添加了 'new ReactNativeFirebaseAppPackage()' 行。
有关完整设置说明,请参阅http://invertase.link/android。
我尝试安装、导入和配置@react-native-firebase/dynamic-links
, react-redux-firebase
, @firebase/app
, firebase/app
.
目前react-redux-firebase
正在工作,我可以检索数据并将其发送到 firebase 数据库。有什么方法可以使用firebase
来自这个模块的添加动态链接?现在,我尝试创建一个这样的链接:
我react-redux-firebase
在我的App.js
:
firebase - 如何使用带有自定义 URL 方案的动态链接?
由于“myapp://”,动态链接无效。API 文档声明我只能在此处使用 https 或 http,但是当我这样做时,我无法在 iOS 中打开它,因为 iOS 需要自定义 URL 方案才能使通用链接正常工作,所以我觉得我在这里不理解某些东西. 我尝试将“https”添加到我的 Info.plist 中的方案列表中,但它仍然拒绝打开应用程序,并直接进入浏览器。
将动态链接中的参数设置ius
为“myapp”也不起作用。
我怎样才能使这项工作?
firebase-dynamic-links - 使用动态链接 API 获取原始链接
如果我有“短链接”(例如https://abc.page.link/xyz123 ),是否可以使用动态链接 API 获取原始链接(长链接)?谢谢。
excel - IFNA 函数包含两个 LINK 函数时的未知错误
TLDR: 如果您有这样构造的公式,则会出现未知错误:
但是,下面的示例工作基本上是一样的,
编辑:当 IFNA 函数包含两个 LINK 函数时 URLTEXT 中的公式可能是罪魁祸首。
任何想法为什么会这样?
你好,
我正在尝试在单元格 C1 上建立动态链接。从搜索字符串中,它通过列 A 查找单元格 A1 上的搜索字符串。我添加了一个 IFNA 函数,用于检查 A 列中是否缺少 entery。如果发生这种情况,它会再次查找搜索字符串 A1,但在 B 列中。
问题和未知错误,
当它与 B 列上的字符串匹配时,动态链接会引发错误:
(瑞典语粗略翻译)
但是,每个动态链接都是单独工作的。正是当我将它们与 IFNA 结合使用时,才会出现此问题。
看起来构造的链接等于第一次查找中的 URLTEXT,而它应该是第二次查找中的行号。
我怀疑这是链接失败的原因。不过我可能是错的,我不明白为什么会发生这种情况。
当把组件分解成更小的部分时,一切看起来都很好:
以下是复制此问题的设置。公式及其所属单元格:
重命名单元格:
B1:
C1:
C4:
C5:
D4:
D5: