Search results for

nfc

1,176 results found

Post

Replies

Boosts

Views

Activity

Unexpected session termination "NFFieldNotification" not loaded or does not exist
While scanning an NFC device sending out an NFC NDEF message the session unexpectedly closes. This happens for both NFCTagReaderSession with .PollingOption.iso14443 as it does with NFCNDEFReaderSession. What causes this behavior and how to fix it? 2020-10-05 16:25:02.859298+0200 NFC[680:58085] [xpc.exceptions] connection to service on pid 89 named com.apple.nfcd.service.corenfc: Exception caught during decoding of received selector didDetectExternalReaderWithNotification:, dropping incoming message. Exception: Exception while decoding argument 0 (#2 of invocation): Exception: decodeObjectForKey: class NFFieldNotification not loaded or does not exist ( 0 CoreFoundation 0x000000018f77e5c0 472C9193-115D-34CD-AD1D-0E7E091C9432 + 1185216 1 libobjc.A.dylib 0x00000001a37f842c objcexceptionthrow + 60 2 Foundation 0x0000000190b96ab0 095C09DD-6436-3270-B062-A150203FDEED + 2280112 3 Foundation 0x000000019097eff4 095C09DD-6436-3270-B062-A150203FDEED + 86004 4 Foundation 0x0000000190a5ff90 095C
0
0
532
Oct ’20
Reply to NFC tag iOS 14 beta 2
I think I found the cause of the problem: @Environment(.scenePhase) private var scenePhase If you want to detect app scenePhase changes as are available in iOS14, you probably added this line to your main swift file. The moment this line exists NFC stops detecting tags even if the prompt appears and the delegate method gets triggered. My solution was to remove it and instead use for my purpose @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
Reply to NFC reads once, then no longer works.
I think I found the cause of the problem: @Environment(.scenePhase) private var scenePhase If you want to detect app scenePhase changes as are available in iOS14, you probably added this line to your main swift file. The moment this line exists NFC stops detecting tags even if the prompt appears and the delegate method gets triggered. My solution was to remove it and instead use for my purpose @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
Topic: App & System Services SubTopic: General Tags:
Oct ’20
Apple Watch NFC Tags
Dear Community / Apple, I would like to ask in the name of many Smart Home Community, There is any developing / There is any future plan about make Apple Watches able to read NFC Tags / Stickers? Many of us would like to use Apple Watch to use Home Automations with NFC Stickers, but we have to use our iPhone instead of the Watch, what would be the most logical way to use these things. We does not really understand why this was not added by default, and why we cannot find any official information about this? Please provide us some answer, at least we should know should we still wait for this feature or this is not gonna be enabled by Apple?! Thank you very much, Gery
59
0
55k
Oct ’20
Reply to How many advanced AppClip URL's are we allowed to configure
Hi Ian, According to Apple documentation - https://developer.apple.com/documentation/app_clips/confirming_the_user_s_physical_location the simple answer is: no. If you scroll down to the code snippet in the link above you'll find this code, which catches the option of location services not enabled: if confirmationError.code == .doesNotMatch { t // The scanned URL wasn't registered for the App Clip. } else { t // The user denied location access, or the source of the tttttttt// App Clip’s invocation wasn’t an NFC tag or visual code. } Good luck
Topic: App & System Services SubTopic: General Tags:
Oct ’20
Testing an App Clip as a non-developer
I have been piecing together information from various official articles, blog posts and developer forum posts about how to test App Clips as a non-developer. My understanding is that the only way for a non-developer to test App Clips is via the (up to) three experiences configured in TestFlight. Is it correct that there is therefore no way for a non-developer to do any of the following: Test invoking an App Clip via a QR code or NFC tag Observe an App Clip Card of an App Clip under development Test the behaviour of an App Clip invocation on the full app
2
0
1.2k
Oct ’20
How to test default App Clip experience
I have configured three Advanced App Clip experiences on TestFlight, and these reflect launching my App Clip from an NFC tag or QR code. However after launching one of these advanced experiences, there is no way to then launch the App Clip from the device drawer as it will be possible to do in production. How can I test my default App Clip launch experience either via TestFlight or using Local Experiences, or some other way?
3
0
1.3k
Oct ’20
Feed Apple Health data through NFC/Bluetooth
I have a digital body weight scale that I want to make IoT. Getting the weight shouldn't be an issue, but I want to feed that data directly to Apple Health, without an app in the middle. I was thinking about using either Bluetooth or NFC so when someone weights him/herself, it sends the weight data directly to the iPhone. Is this a capability? Could this ever be implemented in future iOS/Health versions? I can see how this would greatly increase the use of Apple Health by devices in-the-wild. Sending information directly to the device would greatly reduce both time and cost for a developer and keep it somewhat future-proof, while also removing constraints (having an app, registering an account etc) for the user. I imagine having some specific data packet for Apple Health data that could be transmitted via NFC or Bluetooth that would trigger an event on the user's device showing the data/data-type and asking him to allow/add it to his Health app.
1
0
881
Nov ’20
Reply to Apple Watch NFC Tags
I, too, would like to have some information on this. As a user of the Shortcuts App and many smart home devices connected through HomeKit, triggering automations by tapping an NFC tag with the iPhone is very convenient. It would be even better if this was possible with the Watch somehow. Thank you.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’20
Reply to Testing an App Clip as a non-developer
Hi @fukybro, Basically you are correct. There is NO WAY for a non-developer to test the full App Clip life cycle, when the app is not published yet. Test invoking an App Clip via a QR code or NFC tag - only a developer can do through local experiences while connected to Xcode dev environment Observe an App Clip Card of an App Clip under development - only a developer can do through local experiences while connected to Xcode dev environment Test the behaviour of an App Clip invocation on the full app - not sure what this is. Do you mean using an invocation (e.g. scanning a QR code) while the parent app is already installed? This is a good question actually, never tested. But I believe the answer is still no.
Topic: App & System Services SubTopic: General Tags:
Nov ’20