简体   繁体   English

如何从浏览器和其他应用程序将数据共享到我的 Flutter 应用程序?

[英]How to share data to my Flutter app from browser and another apps?

Is it possible to share data from browser and another apps with "share" button to my Flutter app or it is only for native iOS apps?是否可以通过“共享”按钮将来自浏览器和其他应用程序的数据共享到我的 Flutter 应用程序,或者仅适用于本机 iOS 应用程序?

在此处输入图像描述

<activity android:name=".ShareActivity">
<intent-filter
    android:label="Share with my app">
    <action android:name="android.intent.action.SEND" />
    <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

Add this to your android manifest file to make it happen.将此添加到您的 android 清单文件中以实现它。

In case fo IOS use the more button and you can choose the app you need to appear on the list.如果 IOS 使用更多按钮,您可以选择需要出现在列表中的应用程序。

Refer this link on how to make it in IOS 请参阅此链接以了解如何在 IOS 中制作它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从 flutter 应用程序共享图像文件到其他应用程序 - How to share Image file from flutter app to other apps 如何从我的 Flutter 应用程序将图像分享到 Snapchat? - How to share image to Snapchat from my Flutter app? 如何将我的位置从 flutter app 分享到 whatsapp 号码? - How to share my location from flutter app to whatsapp number? 如何与我的颤振应用程序共享图库中的图像? - How to share an image from gallery with my flutter app? 如何从其他应用程序启动我的 Flutter 应用程序 - How can I Launch My Flutter App from other Apps 如何将数据从一个 flutter 应用程序发送到另一个 flutter 应用程序 - How to send data from one flutter app to another flutter app 如何在我的 flutter 应用程序(发送应用程序本身)中共享当前应用程序的 APK(或其他已安装应用程序的)apk 文件? - How to share current app's APK (or of other installed apps) apk file in my flutter app (sending app itself)? 如何从 Flutter 应用程序打开另一个应用程序(我自己的应用程序)? - how to open another app(my own app) from Flutter app? Flutter:如何在两个独立的 android 应用程序之间安全地共享数据? - Flutter: How to securely share data among two separate android apps? 如何在两个 Flutter 应用程序(凭证)之间安全地共享数据 - How to securely share data between two Flutter apps (credentials)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM