# CarePulse Connect — App Store release pack (v5.0.0, build 5)

## 1. Build
1. Mac with **Xcode 26 or later** (App Store Connect only accepts builds made with the iOS 26 SDK since 28 April 2026).
2. `brew install xcodegen && cd ios/CarePulseConnect && xcodegen` → open `CarePulseConnect.xcodeproj`.
3. Signing & Capabilities: set the Team; bundle ID `in.caresoft.carepulse.CarePulseConnect` (or register `in.caresoft.carepulse.connect`
   and change it in project.yml); capabilities HealthKit (+ background delivery) and Background Modes (Bluetooth LE accessories, fetch, processing).
4. `PrivacyInfo.xcprivacy` must be in the app target (XcodeGen picks it up from Sources/App).
5. Run the unit tests (GattParsersTests) → Product → Archive → Distribute → App Store Connect → TestFlight.
6. Test on an iPhone with real devices: pairing, BP / SpO₂ / glucometer / scale, Apple Health permission sheet, background upload, My medicines.

## 2. App Store Connect listing
| Field | Text |
|---|---|
| Name (≤30) | CarePulse Connect |
| Subtitle (≤30) | Readings to your care team |
| Category | Medical (secondary: Health & Fitness) |
| Age rating | 4+ (no objectionable content); Medical/treatment information: "infrequent" |
| Privacy policy URL | https://iot.caresoft.co.in/app-privacy-policy/ |
| Support URL | https://iot.caresoft.co.in/contact/ |
| Keywords (≤100) | BP monitor,oximeter,glucometer,remote monitoring,hospital,RPM,health,vitals,diabetes,heart |
| Promotional text | Your hospital sees your home readings the moment you take them. |

Description: same as the Play listing (android/STORE_LISTING.md §2), replacing "Health Connect" with "Apple Health".

Screenshots: 6.9" (iPhone 16/17 Pro Max class) and 6.5" sets — Home, Take reading, My medicines, Apple Health sharing. DEMO data only.

## 3. App Privacy ("nutrition label") — matches PrivacyInfo.xcprivacy
* Data linked to the user, used for App Functionality only, not used for tracking: **Health & Fitness** (readings, Apple Health data the user chooses, medicines taken),
  **Contact info** (name / phone shown from the hospital record), **Identifiers** (device ID of the paired gateway).
* No tracking, no third-party advertising or analytics SDKs.

## 4. App Review notes (paste into "Notes")
> CarePulse Connect is used by patients enrolled in a hospital remote-monitoring programme. Sign-in is by a pairing code issued by the hospital.
> Demo: server https://app.carepulse.caresoft.co.in · pairing code **DEMO-xxxxxx** (valid 30 days). After pairing, tap "Take reading" (any
> Bluetooth Health-profile BP monitor or oximeter works) or open "My medicines". Apple Health is used only to READ the types the user selects and
> share them with their own care team (HealthKit usage strings explain this). The app does not diagnose and shows an emergency notice.

Create the code: platform → DEMO hospital → Gateways & apps → + Patient phone for a demo patient → copy the code. Renew before every review.

## 5. Guideline points reviewers check for medical apps
* 1.4.1 – accuracy claims: we claim none; device readings come from the user's own certified devices.
* 5.1.1 / 5.1.3 – HealthKit data is not used for advertising, not stored in iCloud, shared only with the user's care provider; privacy policy says so.
* 2.5.4 – background modes are used only for Bluetooth device readings and uploads.
* Export compliance: `ITSAppUsesNonExemptEncryption = NO` (HTTPS / Keychain only).
