Search results for

nfc

1,143 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
App Clip Invocation Issues on iOS 18 and iOS 18.1 - NFC and QR Invocation not working for Default App Clip Experience
We have identified an issue on iOS 18 and iOS 18.1 (developer beta) where App Clips invoked via NFC or QR codes without a pre-configured Advanced App Clip experience (aka they should be using the Default App Clip Experience) are not functioning as expected. This issue is specific to iOS 18, as the behavior works correctly on iOS devices running 17.x. Steps to Reproduce: Set up two scenarios: One scenario where an App Clip has a pre-configured advanced app clip experience (with metadata such as title, subtitle, image). Another scenario where the App Clip is invoked without any pre-configured experience (should use the default App Clip experience). On an iOS 18 or iOS 18.1 device: For the default App Clip experience (no pre-configured advanced app clip experence): Scan the NFC tag when the phone is locked. Scan the NFC tag when the phone is unlocked. Scan the QR code. For the pre-configured App Clip experience: Perform the same tests (NFC and QR code scans). Test the same sce
4
0
1.6k
Sep ’24
App's shortcut actions not showing on iOS 18 shortcuts app
We have developed an iOS app in objective-C and added integrations for shortcuts app - more specific the automation part of the app. Basically, user opens shortcuts app, select automation and when scanning NFC tag, user can select an action and our app shows 3 different actions. User select action, opens the app and action is executed. That all done in Obj-C and was working very well with no complaints till users start to update to iOS18. Now, when user starts to add automation, only thing they can do is select open app. Our app actions are not showing any more. Is there something new in iOS 18 we have to update our app. I know Obje-C is considered old, but the cost of upgrading an existing app and time is not available at the moment. Here's a code snippet of our shortcutIntent: com.apple.security.application-groups group.lw.grp1 group.lw.grp2 Shortcut Info-plist NSExtension NSExtensionAttributes IntentsRestrictedWhileLocked IntentsRestrictedWhileProtectedDataUnavailable IntentsSupporte
0
0
576
Sep ’24
Host Card Emulation / Card Session for payment URL
We have a financial application where we want to use NFC to broadcast a Payment URL to another iPhone or Android device when initiating a payment transaction. This will then open the banking application installed on the recipient’s device, allowing the transaction to be completed. We have already made the necessary requests to Apple and configured the entitlements file as follows: <key>aps-environment</key> <string>development</string> <key>com.apple.developer.nfc.hce</key> <true/> <key>com.apple.developer.nfc.hce.iso7816.select-identifier-prefixes</key> <array> <string>D2760000850101</string> </array> <key>com.apple.developer.nfc.readersession.formats</key> <array> <string>TAG</string> <string>NDEF</string> </array> </dict> I've tried to use CardSession with the sample code provided by Apple on their site: Card Session The connection between the devices (two iPhones, OS
2
0
1.1k
Sep ’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
617
Sep ’24
Have I encountered a common problem with App clip?
My app contains app clips and it is already available in the app store. After setting up Advanced App Clip Experiences, it has not been able to take effect. I cannot wake up the App clips through the NFC tag containing the link. My Advanced App Clip Experiences status are always Received. I checked everything I could and didn't find any issues, I also saw a lot of people on the developer forums having the same problem but didn't see a solution. Setting->Developer->APP CLIPS TESTING (section)->Diagnostics-> filed my URL, result show below. I can open my App clips by Default App Clip Experiences from Smart App Banner on my website. Do I need to re-upload a new version for App Review, or do I just have to wait? is there a solution?
7
0
1.4k
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
NFCTagReaderSession host card emulation (HCE) exception
I'm trying to read a tag generated by my app that emulates event input tags; in my NFC reader app and I get this error: <NSXPCConnection: 0x300a108c0> connection to service with pid 62 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 NFFieldNotificationECP1_0 not loaded or does not exist ( 0 CoreFoundation 0x0000000192b00f2c 76A3B198-3C09-323E-8359-0D4978E156F5 + 540460 1 libobjc.A.dylib 0x000000018a9a32b8 objc_exception_throw + 60 2 Foundation 0x0000000191932584 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 38276 3 Foundation 0x0000000191930d10 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 32016 4 Foundation 0x000000019198f460 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 418912 5 Foundation 0x000000019198c510 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 406800 6 Foundation 0x00000001919e4cf4 D27A6EC5-943C-3
2
0
701
Sep ’24
Detect if HCE app is not the default contactless app and jump directly to the default contactless app selection settings.
Hello, I am developing an HCE-based contactless payment application for the European Economic Area. I want to detect when my application is not the default contactless app and forward the user to the iOS settings for selecting the default contactless app. Question #1: How can I detect that my app is not the default contactless app? Question #2: How can I forward the user directly to the default contactless app selection in iOS settings? This line of code forwards the user to my app’s settings, which contains a reference to the default contactless app selection, but I couldn’t forward the user directly to the default contactless app selection view: UIApplication.shared.open(URL(string: app-settings:root=General)!) There must be a way to jump directly to the default contactless app selection view as described in Apple's commitment to the EU (Case AT.40452, Chapter 3.8): Apple will enable HCE Payment Applications to redirect users directly to the App’s page in settings and include a link which will take the user
2
0
438
Sep ’24
Writing ndef messages to a NXP 215 tag with known password
I am using the CoreNFC framework in iOS 14 above to read and write to a NXP 215 NFC tag. I have no problems reading the tag and getting the data out from it, but I have a problem when trying to write to it when password protection is enabled in the tag. as you can see the class NFCTagManager. I use the NFCTagReaderSession to read the tag. Then I use a switch statement on the tag to get the type of it, where I get .miFare. After connect the session to the tag. I am trying authenticateAndWrite according to the manual of NTAG21X . I try to unlock it using the tag.sendMiFareCommand with the a UInt8 array starting with the “0x1B” auth command byte followed by the 4 bytes password. Then I check the response data and compare it to the PACK which is programmed into the tag, which matches. Then I call the mifareTag.queryNDEFStatus function to make sure, that the tag is having the status .readWrite. Finally I call the mifareTag.writeNDEF function with an NDEF Message which is an exact copy of the one already o
0
0
511
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
872
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
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