Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Apache cordova 构建一个混合应用程序。我需要我的应用程序在 google chrome(mobile) 共享选项中列出,以将当前 url 共享到我的应用程序。我怎样才能做到这一点?帮助将不胜感激。
试试这个,可能对你有帮助
将下面的行放入
平台/android/android-manifest.xml
<intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="*/*" /> </intent-filter>