-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(android/app): Cleanup AndroidManifest handling of *.kmp #10624
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,9 @@ | |
<data | ||
android:mimeType="application/octet-stream" | ||
android:scheme="content" /> | ||
<data | ||
android:mimeType="application/x-keyman-package" | ||
android:scheme="content" /> | ||
</intent-filter> | ||
|
||
<!-- | ||
|
@@ -121,19 +124,7 @@ | |
|
||
<data android:scheme="file" /> | ||
<data android:host="*" /> | ||
|
||
<!-- | ||
Work around Android's ugly primitive PatternMatcher | ||
implementation that can't cope with finding a . early in | ||
the path unless it's explicitly matched. | ||
--> | ||
<data android:pathPattern=".*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern="/.*\\.kmp" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From https://developer.android.com/guide/topics/manifest/data-element pathSuffix has an API prereq
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The "/" at the start shouldn't be needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, the slash is what the Play Store is flagging:
😕 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ugh I see |
||
</intent-filter> | ||
|
||
<!-- | ||
|
@@ -154,19 +145,7 @@ | |
<data android:scheme="file" /> | ||
<data android:host="*" /> | ||
<data android:mimeType="*/*" /> | ||
|
||
<!-- | ||
Work around Android's ugly primitive PatternMatcher | ||
implementation that can't cope with finding a . early in | ||
the path unless it's explicitly matched. | ||
--> | ||
<data android:pathPattern=".*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.kmp" /> | ||
<data android:pathPattern="/.*\\.kmp" /> | ||
</intent-filter> | ||
<intent-filter> | ||
<action android:name="android.intent.action.VIEW" /> | ||
|
@@ -177,11 +156,11 @@ | |
<!-- http:// and https:// protocols --> | ||
<data | ||
android:host="*" | ||
android:pathPattern=".*\\.kmp" | ||
android:pathPattern="/.*\\.kmp" | ||
android:scheme="http" /> | ||
<data | ||
android:host="*" | ||
android:pathPattern=".*\\.kmp" | ||
android:pathPattern="/.*\\.kmp" | ||
android:scheme="https" /> | ||
</intent-filter> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a application/zip mime type? Given .kmp will be sniffed as a zip file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, I tried adding
application/zip
but then we'll need additional code handling in the engine to expect.zip
files instead of strictly.kmp
files.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feature for another day then