UIDs with iOS13 and Ionic Cordova
See original GitHub issueHi, tried to create an ios-ionic-cordova app to simply read out an UID from an NFC Chip using this Code:
iosNfcButton.addEventListener('click', function() {
thisNFC.beginSession((data) => {},
(err) => {}
).subscribe((event) => {
thisNFC.addNdefListener(() => {
console.log('connected ndef listener?!')
}, (err) => {
console.log('error attaching ndef listener', err);
}).subscribe((event) => {
alert(JSON.stringify(event))
}
});
})
})
});
Baiscally just alert anything from the event in JSON so I can read it without a console. What I got back was:
{
"isTrusted":false,
"tag":{
"ndefMessage":[{
"tnf": 1,
"id": [],
"payload": [33,23,23,2,3],
"type": [85]
}]
}
}
As you can see the ID is empty. Is there any way I can access this now or maybe in future releases?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Uid - Ionic Native
Get unique identifiers: UUID, IMEI, IMSI, ICCID and MAC. Repo: https://github.com/lionelhe/cordova-plugin-uid. Installation. Install the Cordova and Ionic ...
Read more >Ionic Email Composer Plugin Not Working for iOS 13+ ...
I am using Ionic's Email Composer Plugin for Cordova. ... subject: 'Reporting User ' + uid, body: 'Message: ' + message + '/n/r'...
Read more >My App is getting stuck on Splash Screen in iOS 13 · Issue #680
Ionic cordova App is working fine with iOS< 13 and all the androids. But after updating to iOS 13, It is getting stuck...
Read more >"Xcode couldn't find a provisionin… | Apple Developer Forums
I am trying to test an ionic app on an iPhone but I don't have a developer account. I tried following all the...
Read more >FullStory for Mobile Apps Release Notes
iOS: 13 - 15. FullStory may be included with apps targeting iOS 9+; FullStory will capture sessions on iOS 13 - 15. New...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello together. Thank you all for your great work. We are really happy to use your work daily.
But we need to read out the UID of the NFC Chips. But this is now not possible. Do you have any Idea how this app had solved the issue about scanning out the UID? https://apps.apple.com/de/app/nfc-tools/id1252962749
Or what is missing in the Cordova plugin in order to read out the NFC UID?
Thank you.
@don I just created a forked repo to return the uid, can you check it out and add this feature. Thanks
https://github.com/vuptt/phonegap-nfc