Remove Stack Wallet from list of apps with which to open file on Android (#268)

* remove content and http schemes, mimetype

* use content and http, not file

* use separate intent when opening file

* move files to their own intention
This commit is contained in:
sneurlax 2022-12-16 07:41:37 -06:00 committed by GitHub
parent aaba3a0933
commit dfb227adfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,14 +42,21 @@
android:label="Stack Wallet" android:label="Stack Wallet"
android:priority="1"> android:priority="1">
<action android:name="android.intent.action.VIEW"/> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="content" /> <category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="file" /> <data android:scheme="content" />
<data android:host="*" />
<data android:mimeType="*/*" /> <data android:mimeType="*/*" />
<data android:pathPattern=".*\\.swb" /> <data android:pathPattern=".*\\.swb" />
</intent-filter> </intent-filter>
<intent-filter>
<data android:scheme="file" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\\.swb" />
<data android:host="*" />
</intent-filter>
</activity> </activity>
<!-- Don't delete the meta-data below. <!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->