Explorar o código

Merge pull request #14 from ilikeorangutans/allow_urls_to_be_shared

Allow URLs to be shared to the app
zadam %!s(int64=3) %!d(string=hai) anos
pai
achega
c2999cc144
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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>