Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Support for *.uPort file type #6

Merged
merged 4 commits into from
Nov 7, 2018

Conversation

simonas-notcat
Copy link
Contributor

No description provided.

@simonas-notcat
Copy link
Contributor Author

Unzip this file and send it to your self via email, and try to open it with uport mobile app
test2.uPort.zip

Copy link
Contributor

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested it yet but the code looks fine.

<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a heads-up,
The path-matcher in android is very primitive and won't match paths with multiple .
Additional <data> sections will have to be added at some point to compensate.

@simonas-notcat simonas-notcat merged commit 3970bcf into develop Nov 7, 2018
<key>public.filename-extension</key>
<string>uPort</string>
<key>public.mime-type</key>
<string>application/octet-stream</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be application/uport-vc or something similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly I have no idea. I just tested withapplication/octet-stream, and it worked fine. We can change it in the future if need to

@mirceanis mirceanis deleted the feature/161674947-custom-filetype-support branch January 22, 2020 11:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants