Device Access lets your bots use four things on your iPhone: Calendar, Reminders, Contacts and Location. It does not include Health. Each one is off until you turn it on, and you can turn it off at any time.

Turn it on

  1. In the Allternit app on your iPhone, open Settings → Device Access.
  2. Switch on the types you want. The first time, iOS asks for permission. Allow full access for Calendar and Reminders.
  3. Each type shows what iOS says: allowed, not asked yet, denied or blocked. If you denied it, tap Open Settings and allow it for Allternit, then switch it on here.
A type reaches a bot only when both the switch is on and iOS allows it. If you turn a permission off in the iPhone Settings app, the switch turns off too. Unpairing the iPhone turns every type off.

What bots can do

Adding, changing or deleting an event or a reminder always shows the change on your computer in Allternit Desktop first, and nothing happens unless you tap Allow.

Location

The Location switch gives bots your location. It is approximate by default (city level). A precise location asks you on the phone each time. A location is never saved to memory.

Android

Android has no device calendar tools. Bots use your account calendars through the calendar connector instead.

When a bot can’t reach your iPhone

The bot reaches your iPhone through the same private connection as the screen and the app’s browser. That connection is open only while the Allternit app is open on the iPhone. This is an iOS limit: a backgrounded app is suspended and can’t answer.
  • If the app is in the background or closed, the bot gets “open the Allternit app on the iPhone” straight away. It doesn’t wait or retry in the background.
  • If a type is off, the bot is told you haven’t turned it on and to ask you to switch it on in Settings → Device Access.
  • If iOS access is denied, the bot is told to ask you to allow it in the iPhone Settings app.
  • Only the iPhone’s owner can reach it: a bot can use only an iPhone paired to its own account.

For developers

The tools are defined in surfaces/allternit-desktop/src/main/phone-tools.ts and handled in phone-app-store.ts. They call POST /api/v1/phones/app/:phoneId/rpc with device.calendar.list, device.calendar.create, device.calendar.delete, device.reminders.list, device.reminders.create, device.reminders.update, device.contacts.search or device.location.get. device.location.get takes precision and defaults to approximate when it is omitted. The route is validated in cmd/allternit-api/src/phone_app.rs. That route is Desktop-only and looks the phone up by account and phone id. The app reports which types are on in its state frame as deviceAccess (calendar, reminders, contacts, location, each true only when the switch is on and iOS allows it). The node refuses a device.* call for a type that isn’t true with device_access_off, and the app checks again, answering device_access_off or permission_denied. Writes go through the Desktop approval dialog before they are sent. The app side is Core/Device/ and Features/Settings/DeviceAccessSettingsView.swift in surfaces/allternit-mobile/ios.