android - NFC based authorisation -


i`m working on university project implementing 2-step nfc based authorisation.

got couple of questions.

i`m using android hce feature pass login data nfc reader. nfc reader driven chrome extension.

  1. is there possibility launch chrome extension website in iframe example or in background?(chrome app uses usb feature, need launch in chrome , explicitly launch application, in other way can`t use nfc feature) way solve stuck url_handlers, seems not elegant.
  2. also if first fails - able pass nfc data validation server, fetch answer, set cookie, close app , redirect user main page?

update: website , extension opened on pc in chrome browser, android used hce emulating app

it's unclear environment trying on. mention android, if on device see google chrome faq

does chrome android support apps , extensions?     chrome apps , extensions not supported on chrome     android. have no plans announce @ time. 

if on chrome browser desktop , on page chrome loads content scripts on, content script can listen event. so, iframe fire event , chrome extension pick logic there.

for second question, doesn't sound chrome question, sounds simple ajax call , callback, though don't think cookies relevant in android app (there storage use though). there lot of android tutorials work through more versed in what's possible.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -