Search results for

nfc

1,175 results found

Post

Replies

Boosts

Views

Activity

Reply to How to create QR code and NFC pass
are you trying to make something that uses Apple wallet? if so, I would start at about 15 minutes into this - https://developer.apple.com/wwdc18/720 session. if you are trying to do something within your app, you can’t do NFC passes without Apple Wallet, but you can make a QR code. here is a example function that generates a QR code from a string: func generateQRCode(from string: String) -> UIImage? { ttlet data = string.data(using: String.Encoding.ascii) ttif let filter = CIFilter(name: CIQRCodeGenerator) { ttttfilter.setValue(data, forKey: inputMessage) ttttlet transform = CGAffineTransform(scaleX: 3, y: 3) ttttif let output = filter.outputImage?.transformed(by: transform) { ttttttreturn UIImage(ciImage: output) tttt} tt} ttreturn nil } after you have that function, you use it like this: let image = generateQRCode(from: i am going to be so helpful to st0321!) that generates a QR code with the text i am going to be so helpful to st0321! and gives it to you as a UIImage.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’20
Reply to iOS 13 CoreNFC ISO15963 customCommand 0x35
I have submitted a feature enhancement request on Feedback Assistant last year. It has been slow, but we already sent chip implants to Apple Engineers and private documents of how this chips work. They have everything to make the necessary changes. We have not hear back from Apple NFC Engineers since a while ago. Last word we had was that they needed an example data for the chip and what to expect from the chip. We have provided that and still waiting for their response on Feedback Assistant. We are still waiting and periodically messaging them to see if there are some news.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’20
Contactless way of signing users into my app
I am trying to find a contactless and easy way to recognize or sign people in to my tablet app. Are there any Apple tablets which can use NFC to do this with my app? The CoreNFC web page does not specify which devices are compatible with CoreNFC. If this is not an option, are there any other ways to sign someone into my app which are contactless using an iPad?
1
0
283
Jun ’20
Reply to App Clips
Hi there, Yes, what you describe is possible. You'd set up the app clip experience such that you register a generic URL, for example yourdomain.com. When a user invokes the app clip, for example from an NFC tag, you could encode info in the URL, for example, yourdomain.com/thing/otherthing/1234, and when the user allows the app clip to launch in the app clip card, you'd get the whole URL on launch. The session Configure and Link Your App Clips - https://developer.apple.com/videos/play/wwdc2020/10146 goes into more detail. The developer docs also describes this in Configuring Your App Clip's Launch Experience - https://apple.com/documentation/app_clips/configuring_your_app_clip_s_launch_experience and Responding to Invocations - https://apple.com/documentation/app_clips/responding_to_invocations.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’20
Is there a way to preview an App Clip invocation with a NFC or QR code?
In the video Streamline your App Clip at 16:05 - https://developer.apple.com/videos/play/wwdc2020/10120/?t=965 Luming demonstrates how scanning a QR code will invoke the App Clip he just build with XCode. I can't reproduce this. So far I've: Adding a smart banner to our website Added entry to apple-app-site-association Created an App Clip Declared the Associated Domains capability Implemented func respondTo(_ activity: NSUserActivity?) { Am I missing something, or is this just not possible with debug apps? Or should we rely on passing the _XCAppClipURL variable - https://developer.apple.com/documentation/app_clips/distributing_your_app_clip_to_testers and using the actions in testflight later when using Testflight when App Clips will be available later this year?
2
0
960
Jun ’20
Reply to iOS 14 CoreNFC ISO15963 Authenticate command.
0x35 is the Command code of the Authenticate command and 0x20 is the Request Flag per ISO15693 specification. You should specify the necessary flag setting using the NFCISO15693RequestFlag parameter. The authenticate function signature reflects the definition of the Authenticate command in the specification. Please consult to the ISO15693 specification for the full details. In iOS 14 Core NFC also offers sending custom command (https://developer.apple.com/documentation/corenfc/nfciso15693tag/3043799-customcommand). At this point I would recommend you to open a new Bug Report via Feedback Assistance. Attached a sample project illustrating the issue and attach related device log with indication of approximate timestamp when this issue occurs.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’20
[APPClIPS] COPPA/GDPR risk
Hey, as a kids app developer, App Clips are perfectly support the connection between offline scene and our app. However, for kids app, we are also facing the COPPA/GDPR issue, when the App Clips is asking permission for location, camera, photo album, etc. If we will produce an App Clip for our app, can they share the same privacy policy? Will pop-up all the permission requests when scanning the code or tapping the NFC avoid all the COPPA/GDPR issue? Do we need to put privacy policy link somewhere in the App Clip? I assume most of these actions(scan/NFC) will be done by parents, but here we cannot simply set a parent gate to divide parents and kids, will it trigger any review issue when we submit? Looking forward to hearing the reply. Thanks, Faye
0
0
446
Jun ’20
AppClip APActivationPayloadErrorCode -1 Meaning
I'm running location verification and getting a -1 error code, but this case isn't documented in the enum. What does it mean? payload.confirmAcquired(in: region) { (inRegion, error) in ttguard let confirmationError = error as? APActivationPayloadError else { ttttif inRegion { tttttt// The location of the NFC tag matches the user's location tttt} else { tttttt// The location of the NFC tag doesn't match the records; tttttt// for example, if someone moved the NFC tag. tttt} ttttreturn tt} tt ttprint((confirmationError.code.rawValue)) // -1 }
0
0
506
Jun ’20
Core NFC is not detecting TAG
I have been trying to read a NFC tag with NFCTagReaderSession because i need to get the uid of the tag. I already configured the formats on the entitlements file and the aids of the possible tags (of NXP), the reader session starts but the tagReaderSession didDetect is never been triggered. I am using iso 7816. It works if i use NFCNDEFReaderSession but it allows me to read just the info in the tag, like text, uris and others not the uid. I really don't know what is happening :( Configured aids: 1- A0000003964D66344D0002 2- D2760000850100 3- D2760000850101
5
0
2k
Jun ’20