-
Notifications
You must be signed in to change notification settings - Fork 151
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
FIDO UAF Client (Android) is not handling UAFIntentType.DISCOVER properly #21
Comments
Hi Emerson, This is a good point. It would be nice to have implemented handling of the DISCOVER UAF intent type. It looks like you are on the way to implement it. Let me know if you run into any issues. Thanks, |
Hi Neb, Yes, I already did that in a "new FIDO UAF Client", but I can do that on Marvin UAF Client. Probably this new code will imply in some changes on Android RP Client as well. I guess that is a good opportunity to split Marvin from RP Client. What do you think? BTW, should I get/work UAFClient from master branch or from f_android_uaf_client branch? Cheers, |
Hi, I have fix the use permission in manifest and android Intent as https://fidoalliance.org/specs/fido-uaf-v1.0-ps-20141208/fido-uaf-client-api-transport-v1.0-ps-20141208.html#android-intent-api: Why when i use conformance test tool from fido, i alway meet this error and can not get the return result JSON from my uaf server (this is an FIDO UAF server have certified): "E/UAFClientAPI: Malformed response: mandatory field IEN_COMPONENT_NAME is missing". Can you help me? Is there any more configuration for UAF Intent? |
@silverstar235 your app response missing componentName in extra
|
Hi, i have used Intent.setComponent(myComponen). Expected that, i created
my new component for MainActivity and add it to Bundle but it still not be
okay to send data to Conformance App.
Best regards,
NhuPhuong Tran
[image: Kết quả hình ảnh cho vtc smarttech]
Smart Technologies Investment & Development Co., Ltd. - R&D Department
614 Dien Bien Phu, District 10, Ho Chi Minh City, Viet Nam
Phone: 0166 7971 488
2017-06-15 14:27 GMT+07:00 Ackermann Yuriy <[email protected]>:
… @silverstar235 <https://github.com/silverstar235> your app response
missing componentName in extra
The component name of the responding FIDO UAF Client. It must be
serialized using ComponentName.flattenString()
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ATD1ZknPyN3KS5ZGNRCgCzZ88Xcsrh16ks5sENzzgaJpZM4IjXuN>
.
|
Try to look at intent response and check that it's actually contains componentName field |
Bug fix/014 missing fields
According to FIDO UAF Application API and Transport Binding Specification:
Current ExampleFidoUafClient class is not handling
UAFIntentType
properly and there is nothing to catchUAFIntentType.DISCOVER
. As consequence a 3rd party Android RP App is not able to discovery and use Marvin UAF Client.It is my suggestion to be included in finishWithResult method:
But it will implicate in a lot of modifications in onActivityResult method in MainActivity class.
The text was updated successfully, but these errors were encountered: