[NFC] peer found before sharable context

RESOLVED INVALID

Status

Firefox OS
NFC
RESOLVED INVALID
4 years ago
4 years ago

People

(Reporter: johnhu, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

When touching two devices and entering sharable context, to put the onpeerready callback doesn't work.

STR:
1. open sharable app, like video, gallery, music in list view.
2. touch two devices
3. tap any item to enter sharable context <== nothing happened, no shrinking UI.

As the author of NFC sharing patch of video app, we have no way to tell NFC handover manager to shrink the UI when a peer had already been found. We had put the onpeerready callback when app enters sharable context.
Created attachment 8370581 [details]
peer found at list view and enter player view

The video of this STR.
ni? for Juwei for UX input.

Hi Juwei, from the Video, the two device tapping at 00:13, but now the device is in List View, so no Shrinking-UI is happening.
Then at 00:17, user choose some video to play, while the other NFC phone is still in proximity.

Should we pop up Shrinking UI at 00:17?
Flags: needinfo?(jhuang)

Updated

4 years ago
Blocks: 949293

Updated

4 years ago
Blocks: 933640
No longer blocks: 949293

Comment 3

4 years ago
That's make things simple:
If the device is not paired from the valid UI, shrinking UI would not be activated, which means only paring NFC at the moment of correct view (such as video/gallery detail view) can enable shrinking UI.

So no need for shrinking UI at 00:17 since the device is paired from List view.
Flags: needinfo?(jhuang)
Thanks Juwei
I'll close this as INVALID.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.