Closed Bug 1052309 Opened 10 years ago Closed 10 years ago

B2G NFC: MozNFCPeer.sendFile and mozNfc.notifySendFileStatus

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1054217

People

(Reporter: allstars.chh, Unassigned)

References

Details

We have to think how these two functions should work together.

Right now I think mozNfc.notifySendFileStatus *barely* works because when this function is called, the 'session information' kept in Nfc.js is invalid so nothing will happen actually(except showing some warnings)

[JavaScript Warning: "reference to undefined property this.nfc.sessionTokenMap[this.nfc._currentSessionId]" {file: "jar:file:///system/b2g/omni.ja!/components/Nfc.js" line: 390}]

And this causes the onsuccess of the MozNFCPeer.sendFile is never called.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.