nextcloud / nextcloud/ios

Suppress Apple Pay opening up when viewing files

Open
#3,395 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Is your feature request related to a problem? Please describe.
I store my train tickets, which are PDFs with QR codes, in Nextcloud.
My country's rail company uses boarding gates which either scan those QR codes or accept NFC passes.

By default, iOS displays the Apple Pay app when near an NFC reader, rendering me unable to scan my QR code. Users are unable to disable this feature.

In the meantime, I use this application to export my PDFs to it.

Describe the solution you'd like
Apple allows developers to block this feature by enabling an entitlement: com.apple.developer.passkit.pass-presentation-suppression

It'd be great if the Nextcloud iOS app would implement it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read Apple's pass-presentation-suppression entitlement documentation linked in the issue, then locate the iOS app's entitlement and project configuration files. Verify how the app handles viewing PDF files and determine whether the entitlement can be enabled there. Done means Apple Pay no longer opens while a user is viewing a PDF near an NFC reader.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.