-
Notifications
You must be signed in to change notification settings - Fork 556
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
ICS - NFC tag opens app but does not trigger onNFC event #22
Comments
I can't duplicate this. I'm using phonegap-nfc-0.4.0, cordova-1.6.1, sdk-version 15, samsung galaxy nexus (GSM). Can you send me some info about your setup so I can duplicate this? Can you post or email me the intent from your manifest and the log file from adb logcat? Android Manifest
adb logcat
|
Hi, I am useing phonegap-nfc-0.4.0 and PhoneGap 1.7.0 (I have tried also on I have attached project folder where you can find manifest file. CatLog from my phone is also attached. First I have put NFC card to the I hope this will help you evaluate issue. Thank you for your quick support. I really like your work! Best regards, On Wed, Jun 6, 2012 at 3:59 PM, Don Coleman <
|
Dejan - It looks like the attachments didn't make it. Can you mail them to don at chariotsolutions dot com? |
Hi, I put it on Dropbox : https://dl.dropbox.com/u/72440/nfc.zip regards, On Wed, Jun 6, 2012 at 4:59 PM, Don Coleman <
|
Got it. I'll take a look later today. On Wed, Jun 6, 2012 at 11:02 AM, dejanmauer
|
Here's what's happening: Your intent filter in the manifest has a
Your code is listening for
You can use the same
You can keep both the You could switch your code to only have the mimeTypeListener if you don't want it to scan other ndef tags. Are you creating the NFC tags? You might consider using your own unique mime type "text/centsi", so that your application scans your tags and other applications ignore your tags. |
Thank you very much for the explanation and help me solve my issue. Have a nice day, On Wed, Jun 6, 2012 at 9:16 PM, Don Coleman <
|
First of all this is a great plugin!
One issue that I have (Samsung Galaxy Nexus) is that I wrote app that reads NFC tag. It works just fine when I first start app and put the tag to the phone.
Since I would like to make user experience better, I added Intent to manifest file which actually opens my application when I put NFC tag to my phone. But it seems that it does not trigger onNFC event.
Am I doing something wrong or is anyone experiencing the same issue?
The text was updated successfully, but these errors were encountered: