就像我有一个URL:myapp:// abc /,我想在检测到架构后运行Flutter App。我知道解决此问题的唯一方法是在AndroidManifest.xml中添加Intent-Filter。 我对在Android和iOS上编写不同的代码不太感兴趣。那么有什么方法可以只使用Flutter来解决问题?
答案 0 :(得分:0)
使用此插件https://pub.dartlang.org/packages/uni_links。
它可以让您编写代码以应对混乱的应用程序网址,但是您仍然需要在AndroidManifest.xml中设置Intent-Filter,并在Info.plist中设置网址方案