suport "open with" for files
This commit is contained in:
@@ -66,6 +66,8 @@
|
|||||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
android:windowSoftInputMode="adjustResize">
|
android:windowSoftInputMode="adjustResize">
|
||||||
|
<!-- We do want to ahndle "open with" by ourselfs. Prevents automatically pushing routes. -->
|
||||||
|
<meta-data android:name="flutter_deeplinking_enabled" android:value="false" />
|
||||||
<!-- Specifies an Android theme to apply to this Activity as soon as
|
<!-- Specifies an Android theme to apply to this Activity as soon as
|
||||||
the Android process has started. This theme is visible to the user
|
the Android process has started. This theme is visible to the user
|
||||||
while the Flutter UI initializes. After that, this theme continues
|
while the Flutter UI initializes. After that, this theme continues
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
final _domainRegex = RegExp(r'\.[a-zA-Z]{2,}$');
|
final _domainRegex = RegExp(r'\.[a-zA-Z]{2,}$');
|
||||||
const _supportedSchemes = {'https', 'http', 'ftp', 'file', 'about'};
|
const _supportedSchemes = {'https', 'http', 'ftp', 'file', 'content', 'about'};
|
||||||
|
|
||||||
Uri? tryParseUrl(String? input, {bool eagerParsing = false}) {
|
Uri? tryParseUrl(String? input, {bool eagerParsing = false}) {
|
||||||
if (input != null) {
|
if (input != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user