Преглед изворни кода

Allow URLs to be shared to the app

Jakob Külzer пре 3 година
родитељ
комит
bb47e7e4be
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      app/src/main/AndroidManifest.xml

+ 8 - 0
app/src/main/AndroidManifest.xml

@@ -56,6 +56,14 @@
 
                 <data android:mimeType="text/plain" />
             </intent-filter>
+            <intent-filter>
+                <action android:name="android.intent.action.SEND" />
+
+                <category android:name="android.intent.category.DEFAULT" />
+
+                <data android:scheme="http" />
+                <data android:scheme="https" />
+            </intent-filter>
         </activity>
     </application>