Search results for

nfc

1,175 results found

Post

Replies

Boosts

Views

Activity

Reply to didFinishLaunchingWithOptions is called in background
thank you for reply。 I am sure not using content-available:1 in payload with push notifications。 also our App offers NFC functionality, but it has very few users. from the log,users terminate the app and then didFinishLaunchingWithOptions was called immediately。 I think something was doing in the App, but we have not find them。 the runtime logs from the real user, and i can not reproduce it,and i will log LaunchOptions to find if if has something usefully. The phenomenon is that after the app is terminated, a cold start is immediately triggered in the background. if have more informations, thank you for sharing it.
Sep ’24
Reply to didFinishLaunchingWithOptions is called in background
I don't know what you mean the application has not requested background execution. As seen there you have obviously declared Remote Notifications background capability. If you are sending push notifications with the content-available:1 entry in the payload, this will have the ability to launch the app if it is not running at the time (except for if user has terminated it, then it will never launch). That is one possible explanation. Whatever it is, it is likely something you are doing in the app, and not prewarming or some other system function. I also see you are using NFC functionality. Is your app supporting background tag reading? If so, and the app is not running, then didFinishLaunchingWithOptions() will be called before application(_:continue:restorationHandler:) is called Are you not checking the UIApplication.LaunchOptionsKey in didFinishLaunchingWithOptions()? That should explain why your app is being launched. Argun Tekant /  DTS Engineer / Core Technologies
Sep ’24
Emulating NFC Tag using iPhone Device
I'm trying to transfer data from one device to another using NFC. I'm trying to figure out if this is possible, I downloaded apple's sample project about CoreNFC, I was able to read NFC Tags (it wasn't a real NFC Tag, rather it was an NFC Tag emulated with an android device). Can I use my iPhone to emulate an NFC Tag to transfer data to another iPhone or Android device?
18
0
38k
Oct ’23
Possibilities of HCE with new EEU regulations
We want to use HCE or Wallet to use the iPhone on NFC readers that start EV chargers. They use the same tech as transit systems (MiFare and ISO 14443-4), but the backend systems only use the NFC UID for verification. Is it possible to use HCE (CardSession) or Wallet (Transit card) to transmit a static UID? If so, could our use-case go under either In-store purchase, loyalty programme, or transit? Or are those categories very rigid as to their use case? The new EEU regulation seems to open up this a bit.
2
0
1.2k
Jul ’24
Express Transit presented despite successful call to PKPassLibrary.requestAutomaticPassPresentationSuppression(...)
I am working on a transit app that offers a digital ticketing product that is powered by a QR code being scanned. We have been successful in preventing the Apple Pay takeover experience from happening when a user tries to use this product next to the tap to pay terminals by making a call to PKPassLibrary.requestAutomaticPassPresentationSuppression(...) before the QR code is presented. However, our transit agency is piloting Express Transit on these turnstiles and we are noticing that this experience overrides the old NFC suppression. Is there a similar method available to us to suppress the express transit experience for users who are using these mobile ticketing products?
2
0
629
Sep ’24
Reply to App Clip Not Appearing After 5 Days on App Store Connect
@mr_app , can you confirm you follow these recommendations from Choosing the right functionality for your App Clip: To ensure a fast launch experience, App Clips must be small:* If you make your App Clip available on devices running iOS 15 and earlier, the uncompressed App Clip binary can be up to 10 MB in size.* If you make your App Clip available on devices running iOS 16 and later, the uncompressed App Clip binary can be up to 15 MB in size. If you make your App Clip available on devices running iOS 17 and later, the uncompressed App Clip binary can be up to 50 MB in size if it meets the following conditions:* The App Clip only supports digital invocations — for example, from your website or Spotlight search — and not from physical invocations like App Clip Codes, QR codes, or NFC tags* People use your App Clip in situations where a reliable internet connection is likely, for example, at home* Your App Clip doesn’t support iOS versions prior to iOS 17 Aim to keep your App Clip well below the appli
Sep ’24
Local appclip experiences not working in production?
Hello, We've created four App Clip experiences for users that do not have our app installed. They're meant to be evoked by an NFC tag. I have created the four App Clip experiences in Appstore connect last week, however they still show as received. My /.well-known/apple-app-site-association has returns this JSON file (with the correct TEAM_ID and BUNDLE_ID): { applinks: { apps: [], details: [{ appID: TEAM_ID.BUNDLE_ID, paths: [*] }] }, appclips: { apps: [ TEAM_ID.BUNDLE_ID ] } } The app was approved in the app store this morning. However, when I try to invoke the experience over NFC, it just wants to open the URL in the web browser and does not load the App Clip. I have created and tested a local experience through developer settings, this perfectly works I have added appclips: to the app and the clip's bundle in the signing options This should be possible right? Because I was wondering how iOS would even know it should load an App Clip for an NFC tag or QR code, does it send a reque
3
0
901
Sep ’24
Reply to Can't install app to iPad when Required Device Capability has NFC?
Resolved this issue with these configuration. In the project Signing & Capabilities, add Capability Near Field Communication Tag Reading In the project Build Phases, the Link Binary With Libraries” section, add the CoreNFC.framework, and then mark it as Optional. In the project Info, add Privacy - NFC Scan Usage Description = Use NFC Do not add Near Field Communication to Required Device Capability item (this cause Incompatible hardware on iPad) Use NFC feature only if UIDevice.current.userInterfaceIdiom == .phone in program. Hope this helps, Thank you.
Topic: App & System Services SubTopic: General Tags:
Aug ’24
Can't install app to iPad when Required Device Capability has NFC?
Hello Is it impossible to install an app to both iPhone and iPad when the app use NFC? The app, I'm working on, use NFC on iPhone but not on iPad. The app program code checks iPhone or iPad and use NFC only on iPhone. However, TestFlight and App Store show No Compatible Hardware on iPad and can't download. It works as expected on iPhone. Target Device is set both iPhone and iPad, the configuration is TARGETED_DEVICE_FAMILY = 1,2 According to Required Device Capabilities, iPad doesn't support NFC https://developer.apple.com/support/required-device-capabilities/#ipad-devices The app has UIRequiredDeviceCapabilities = nfc configuration only for iPhone. But is it block installing to iPad? If so how to fix this issue? Thanks in advance.
3
0
851
Aug ’24
using Core NFC to read credit card number, expiry date
I'm using Core NFC framework in my app. We need to read credit card number, expiry date when I tap the NFC Credit card on the iPhone on which my app is installed.I see Apple UI presented in my app which asks to readnearby NFC. But when I tap my contactless credit card on the iPhone it never reads or detects NFC. However it reads other NFC Tags seamlessly.Am I doing something wrong?
7
0
7.6k
May ’23
NFC Core UI Issue: UI Becomes Unresponsive After Switching Between Landscape and Portrait Modes
I've encountered a consistent issue with iOS NFC Core UI where the app's user interface becomes unresponsive or visually distorted after scanning an NFC tag in landscape mode, dismissing the NFC UI, and then attempting to scan in portrait mode. Steps to Reproduce: Open an NFC-enabled app that uses iOS NFC Core UI. Start an NFC scan while holding the device in landscape mode. Dismiss the NFC scanning UI. Switch the device to portrait mode and initiate another NFC scan. Observe the UI, which often appears distorted or becomes unresponsive.
1
0
455
Aug ’24
Reply to NFC Core UI Issue: UI Becomes Unresponsive After Switching Between Landscape and Portrait Modes
This sounds like it could be an issue with the system's NFC UI, and we would like you to file a bug report about this. Don't forget to include as much information as you can about the cases you see this problem with. In your case a video or images showing the distortion would be very helpful. To file a bug report, you can use the Feedback Assistant. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Argun Tekant /  DTS Engineer / Core Technologies
Topic: App & System Services SubTopic: General Tags:
Aug ’24
CoreNFC - CPLC Data via APDU
Hi, any help is appreciated please, many thanks in advance ! In my python script, I can get the CPLC data of a smartcard with the APDU: 80 CA 9F 7F 00. But on the iOS side with CoreNFC, the same exact APDU and card is giving a response of 0x6D00. Was wondering possible causes of this, or if I'm overlooking an error in my code: import SwiftUI import CoreNFC struct ContentView: View { @State private var responseText: String = Response will appear here. @State private var nfcSession: NFCTagReaderSession? @State private var nfcDelegate: NFCDelegate? var body: some View { VStack { Text(responseText) .padding() .multilineTextAlignment(.center) Button(Start NFC Session) { startNFCSession() } .padding() .background(Color.blue) .foregroundColor(.white) .cornerRadius(10) } .padding() } func startNFCSession() { guard NFCTagReaderSession.readingAvailable else { responseText = NFC not supported return } let delegate = NFCDelegate(responseText: $responseText) nfcDelegate = delegate nfcSession = NFCTagRead
1
0
697
Aug ’24
Reply to Can My App Use/emulate iPhone as an NFC Tag for Tap-to-Interact with the new update??
While it is currently, and with iOS 18.1 would be possible for an app to emulate an NFC tag, these are reserved for very specific use cases and not available to be used for arbitrary tag emulation. You can read about the capabilities and requirements for these use cases in the following documents: NFC & SE Platform for secure contactless transactions HCE-based contactless transactions for apps in the European Economic Area (EEA) At this time, no other use cases are supported. Argun Tekant /  DTS Engineer / Core Technologies
Aug ’24
Can My App Use/emulate iPhone as an NFC Tag for Tap-to-Interact with the new update??
Hello, I’m developing an app and want to explore the possibility of using an iPhone to emulate an NFC tag. Specifically, I’m interested in enabling one iPhone to act as an NFC tag that another iPhone can read, creating a tap-to-interact experience within my app. Is this functionality supported by current iOS APIs, or is it something that might be available in the next update for iOS 18.1 which is supposedly unlocking iPhone NFC chips? If not, are there any workarounds or third-party solutions that can achieve this such as bluetooth low energy (BLE) maybe? Any insights or guidance on how to implement this feature would be greatly appreciated. Thank you!
1
0
2.6k
Aug ’24