Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dapps/pos-app/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"infoPlist": {
"NFCReaderUsageDescription": "This app requires NFC to send messages",
"NSLocationWhenInUseUsageDescription": "This app requires location when using the camera"
"NSLocationWhenInUseUsageDescription": "This app requires location when using the camera",
"NSBluetoothAlwaysUsageDescription": "This app requires Bluetooth to print receipts"
Copy link

Copilot AI Nov 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The key NSBluetoothAlwaysUsageDescription has been deprecated since iOS 13. For apps that connect to Bluetooth peripherals (like printers), the correct key to use is NSBluetoothPeripheralUsageDescription. Consider updating this to use the recommended key:

"NSBluetoothPeripheralUsageDescription": "This app requires Bluetooth to print receipts"

This ensures compatibility with current iOS versions and follows Apple's current guidelines.

Suggested change
"NSBluetoothAlwaysUsageDescription": "This app requires Bluetooth to print receipts"
"NSBluetoothPeripheralUsageDescription": "This app requires Bluetooth to print receipts"

Copilot uses AI. Check for mistakes.
},
"entitlements": {
"com.apple.developer.nfc.readersession.formats": [
Expand Down