WebAPI/WebNFC: Difference between revisions

Line 187: Line 187:
To write NDEF or to use NFCPeer, '''nfc-write''' is required.
To write NDEF or to use NFCPeer, '''nfc-write''' is required.


For those APIs used by the nfc_manager in System app, '''nfc-manager''' permission is required.
For those APIs used by the nfc_manager in System app, '''nfc-manager''' permission is required, and is available to certified applications only. It must *not* be used in any other application besides System App.


System level apps declare an additional certified system message permissions, as it fires the nfc-ndef-discovered WebActivities to applications that declare NFC NDEF support:
System level apps declare an additional certified system message permissions, as it fires the nfc-ndef-discovered WebActivities to applications that declare NFC NDEF support:
Line 194: Line 194:


   "permissions": {
   "permissions": {
     "nfc": { "access": "readwrite" },
     "nfc": { "access": "readwrite" }
    "nfc-manager": {}
   }
   }


Confirmed users
153

edits