mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 17:25:13 +03:00
updated intent filters to support custom app link paths
rest of paths like faq and proposals open up in browser just like we did in iOS
This commit is contained in:
parent
b6036afe07
commit
1046e94b60
@ -28,18 +28,53 @@
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
<intent-filter android:label="Ecency">
|
||||
|
||||
<intent-filter android:label="Ecency" android:autoVerify="true">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data
|
||||
android:scheme="https"
|
||||
android:host="ecency.com"
|
||||
android:pathPattern="/@.*"
|
||||
/>
|
||||
<data
|
||||
android:scheme="https"
|
||||
android:host="ecency.com"
|
||||
android:pathPattern="/.*/@.*/.*"
|
||||
/>
|
||||
<data
|
||||
android:scheme="https"
|
||||
android:host="ecency.com"
|
||||
android:pathPattern="/hot/.*"
|
||||
/>
|
||||
<data
|
||||
android:scheme="https"
|
||||
android:host="ecency.com"
|
||||
android:pathPattern="/trending/.*"
|
||||
/>
|
||||
<data
|
||||
android:scheme="https"
|
||||
android:host="ecency.com"
|
||||
android:pathPattern="/created/.*"
|
||||
/>
|
||||
<data
|
||||
android:scheme="https"
|
||||
android:host="ecency.com"
|
||||
android:path="/trending"
|
||||
/>
|
||||
<data
|
||||
android:scheme="https"
|
||||
android:host="ecency.com"
|
||||
android:path="/hot"
|
||||
/>
|
||||
</intent-filter>
|
||||
<intent-filter android:label="Ecency" >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="ecency" />
|
||||
</intent-filter>
|
||||
<intent-filter android:label="Ecency">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="https" android:host="ecency.com" />
|
||||
</intent-filter>
|
||||
<intent-filter android:label="Ecency">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
Loading…
Reference in New Issue
Block a user