Privacy Policy
Last updated: 30 November 2026 · Version 1.12
This policy explains which personal data is processed when you use the RailFree app, its servers and the railfree.app website, for what purpose and on what legal basis. It follows the Swiss Data Protection Act (revFADP) and is designed to also meet the requirements of the EU General Data Protection Regulation (GDPR).
1. Controller
The controller for data processing in connection with RailFree is Roland Bieg. Contact: support@railfree.app.
2. Scope
This policy applies to the RailFree iOS app, the backend we operate and the railfree.app website. It does not apply to the independent processing carried out by Apple or Google in the context of the App Store, Sign in with Apple or Google sign-in; their own privacy policies apply to that.
3. What data we process and why
Account data
When you register, we process your email address, a password (stored only as a cryptographic hash using Argon2id, never in clear text), the verification status of your email address and — depending on the sign-in method you choose — the identifier from your sign-in provider (Apple or Google). For “Sign in with Apple” we additionally store an Apple token in encrypted form (AES-256-GCM) so that we can fully revoke your account at your request. Purpose: account management, sign-in, recovery.
To verify your email address and to reset your password, we email you a six-digit code. The code is valid for 30 minutes; we store it only as a cryptographic hash (HMAC-SHA256), never in clear text. We delete it once it has been entered correctly; an expired code can no longer be used. Older app versions receive a password reset link instead, valid for 15 minutes. Purpose: proving that the email address belongs to you.
Authentication and security data
For your signed-in session we process sign-in tokens (stored only as a hash) and, for sign-in with email and password, sign-in attempts with their time, success or failure and the IP address the attempt came from (for IPv6 only the network part, the first 64 bits). Purpose: secure sign-in and abuse prevention, in particular against password guessing.
Subscription data
For the paid features we process your plan, the end of any trial period and your subscription status. Processing of the purchase is handled by Apple (in-app purchase) and our service provider RevenueCat; internally we use a pseudonymous identifier for this. Purpose: unlocking the paid features.
Usage and configuration data
We store the level crossings you have selected so that your list can be shown to you. Linked to your account, we also store the time of your last prediction request (updated at most once per minute) and whether your app version supports precomputation, so that older versions continue to be served. Purpose: providing the core function.
Calibration observations (pseudonymous)
When you report in the app that a barrier is “closed now” or “open now”, we store the level crossing, the event type, the time, the state the app was showing and whether test mode was active, together with a random, persistent installation ID of the app. This identifier is not linked to your account; the reports are therefore pseudonymous. Purpose: improving prediction accuracy.
Diagnostic data
To keep the app and our server stable we collect crash and error reports through the service Sentry. Reports from the app are not linked to your account. Error reports from our server may contain the internal identifier of your account so that we can attribute an error to the affected operation; we filter out email addresses, passwords and sign-in tokens. Purpose: error diagnosis and stability.
Support communication
If you contact us, we process the content of your message and your sender address in order to respond to your request.
IP address
Your IP address is processed when you access our servers, for abuse prevention and rate limiting. It also appears in our server's technical access logs, which are overwritten by size (five files of 10 MB), not after a fixed period. It is not stored permanently in our database, except for sign-in attempts (see “Authentication and security data”). When map content is retrieved directly, the third-party providers involved also receive your IP address (see “Map and search services”).
Location data (optional)
If you use the locate button on the map, your device location is processed only on your device to find nearby level crossings or to centre the map on your position. It is not transmitted to us and is not stored.
During a drive with a Live Activity, the app uses your location on your device to detect when you set off and when you reach the barrier. To calculate the driving time, the app queries Apple's routing service (Apple Maps) when the drive starts and then roughly every 30 seconds. If Apple throttles the requests, the intervals grow (up to 2 minutes); if Apple finds no route at the start, several attempts follow in quick succession. Apple receives your current location and the coordinate of the level crossing, but no data from your RailFree account. Apple's privacy policy applies. We do not store the course of your drive.
A coordinate only reaches our server when you select or save it yourself: when you request a level crossing (its coordinate) and when you save a place for “Fixed times” (see below).
Independently of this, the map providers see the map areas requested while the map is loading (see “Map and search services”).
Requesting a level crossing
If a level crossing is missing, you can request it in the app. The app sends the coordinate of the level crossing you selected from our directory (not your device location). We store your request as a reference to that level crossing, together with your account and the time. Purpose: deciding which level crossings to add, and notifying you in the app once your level crossing is available. If you delete your account, we remove the link to your account. The request then counts as a vote for that level crossing without a link to your account (exception for merged requests in section 7).
Fixed times (optional)
With “Fixed times” you set days and times at which RailFree automatically shows you when to leave for a level crossing as a Live Activity. For this we store on our server in Germany (Hetzner):
- the places you create for it: name and exact coordinate, e.g. your home address;
- the time windows: level crossing, weekdays, from/to, pause;
- a push token from Apple, which we use to start and update the Live Activity on your iPhone, plus language and environment (test or production). The app sends the start token as soon as you are signed in and iOS provides it, even if you have not created a time window yet;
- a technical record for each window that has run: date, start, calculated driving time, end and reason for ending, e.g. “I'm leaving”.
During a window, our server queries Apple Maps for the driving time from the saved place to the level crossing roughly every three minutes. Apple only receives the two coordinates, no account data. Apple delivers the Live Activity through its push service (APNs). We do not transmit your device location for this. It is only used if you choose “Use my current location” when creating a place, and then as that place's coordinate.
Places and push tokens do not appear in our logs, in error diagnostics or in our administration interface. If you delete a place, we delete its coordinate immediately. If you sign out of the app, we remove the push token. The feature is part of the paid features and included in the trial. Purpose: providing “Fixed times”.
Notifications (optional)
If you allow notifications, RailFree can send you short notifications, e.g. about new versions or beta hints. For this we store, linked to your account:
- a device token from Apple for notifications;
- the language of your app (initially your device language; German, English, French or Italian) and the environment (test or production), so that the notification arrives in your language.
This only happens with your consent: the app first shows its own notice, followed by the iOS prompt. You can withdraw your consent at any time, using the “News from RailFree” switch under Settings → Notifications in the app or in the iOS settings. We do not send third-party advertising. Notifications do not depend on your subscription status. They are delivered through Apple's push service (APNs).
We delete the token when you turn the switch off in the app (if that fails because there is no connection, the app retries later), when you delete your account, when the same device is used with a different account, or when Apple reports the token as invalid. If you sign out or reset your password, we delete the token. If signing out fails because there is no connection, we delete it at the latest when Apple reports it as invalid or you delete your account. If you turn notifications off in the iOS settings, we delete the token once Apple reports it as invalid, at the latest at the next send. The token does not appear in our logs, in error diagnostics or in our administration interface. Besides date and status, the history of sent notifications in the administration interface contains only the text, link, counts and the sender, no recipient list. The legal basis is your consent. Purpose: communication from RailFree to users who have agreed.
Map and search services (direct requests by the app)
To render the map, the app loads map content (tiles, styles, fonts) directly from third-party servers: OpenFreeMap (base map) and swisstopo (geo.admin.ch, aerial imagery). When you use the place search, only your search text — no coordinates — is sent to Nominatim (OpenStreetMap Foundation). For technical reasons these providers receive your IP address and the map areas requested or the search text — but not your device location, your account or any other RailFree data. The legal basis is the performance of the contract (map display, search function) and our legitimate interest in providing a functioning map view. The providers' own privacy policies apply.
Website railfree.app
The website is delivered via Cloudflare Pages. When you visit it, Cloudflare necessarily processes your IP address, date and time, the page requested and browser details in order to deliver the page and protect it against attacks. The legal basis is our legitimate interest in a secure, working website. When certain info pages are visited, we also receive, via the service Telegram, a notification with the page visited, the time, device type and approximate location (city/country) to see whether these pages are used.
Google Analytics (only with your consent). If you agree in the notice on
the website, we load Google Tag Manager and Google Analytics 4 (Google Ireland Limited,
Ireland, and Google LLC, USA). We use it to measure how the website is used: pages viewed,
scroll depth, clicks on links and contact addresses, referring page, approximate location
(country/region, derived from the IP address), device and browser. Google sets cookies
(_ga, _ga_*) for up to two years; Google Analytics 4 does not
store full IP addresses. Advertising features and Google Signals are disabled, and analytics
data is deleted after 14 months. Without your consent, none of this is loaded. The legal
basis is your consent; you can withdraw it at any time via the Cookie settings
link in the website footer. Data may be transferred to the USA (see section 6).
Game progress. Your progress in the game is stored in your browser's
localStorage. It stays in your browser and is not transmitted to us.
Beta test
On the page railfree.app/en/beta you can sign up for the beta test of the iPhone app. For this we store on our server in Germany (Hetzner):
- your email address and the language of the sign-up page;
- the level crossings you chose (at most three);
- the time you confirmed your sign-up via the link in the email;
- the status of your invitation as reported by Apple (e.g. invited or accepted) and the number of sessions and crashes of your test app.
Purpose: invitation to the beta test via Apple TestFlight, a reminder if the invitation has not been accepted yet, evaluation of participation, personal questions about the test, tips on using the test version (a few emails during the beta round) and a one-time message about the App Store launch. The evaluation is done per person: based on the session and crash figures from Apple, we see whether and how often you use the test version and whether it crashes. If you sign in to the app with the same email address, we link the beta sign-up to your app account.
The legal basis is your consent, which you give with the checkbox on the sign-up page. You can withdraw it at any time using the unsubscribe link in every email. We send the emails via Postmark. For the invitation we pass your email address to Apple (TestFlight); Apple also processes the test app's data under its own privacy policy.
Map on the sign-up page. Your browser loads map tiles and place search directly from the Federal Office of Topography swisstopo (geo.admin.ch). swisstopo receives your IP address, the map sections requested and your search text. The page loads the level crossings from our server; we send your choice as level crossing identifiers, not as coordinates. With “My location” the browser asks for your location once to centre the map on it. Your location stays in the browser and is not sent to us.
Outside Switzerland. This test round runs in Switzerland only. If you
choose another country, the page sends no information about you to our server. It only stores the note
railfree-beta-ineligible in your browser's storage (localStorage)
so that it shows you this notice straight away on your next visit. You remove it by
clearing the site data in your browser.
Deletion. If you do not confirm a sign-up within 30 days, we delete it. If you do not accept Apple's invitation, we remind you once after 5 days and delete the sign-up 10 days after the invitation. If you unsubscribe, we block the sign-up at once; it is normally deleted within minutes, at the latest once Apple has confirmed that you have been removed from TestFlight. Otherwise we delete your beta data 30 days after the end of the beta round.
4. Legal bases
We process your data in line with the principles of proportionality and purpose limitation. Where the GDPR applies, we rely on the following bases: performance of the contract (account, provision of the subscription), our legitimate interest (security, abuse prevention, diagnostics and improvement of the service) and, where applicable, your consent.
5. Recipients / processors
To provide RailFree we use carefully selected processors:
| Service | Provider / location | Purpose |
|---|---|---|
| Apple | Apple Distribution International Ltd. (IE) / Apple Inc. (US) | Sign-in (Sign in with Apple), purchase and subscription handling, delivery of Live Activities and notifications (APNs), driving time calculation (Apple Maps) |
| Google LLC (US) | Sign-in (only if you choose Google sign-in) | |
| Google Analytics / Tag Manager | Google Ireland Limited (IE) / Google LLC (US) | Website audience measurement (only with consent) |
| Cloudflare | Cloudflare, Inc. (US) | Delivering and protecting the website; routing and protecting the app's requests to our server |
| Expo (EAS Update) | 650 Industries, Inc. (US) | Delivering app updates (IP address and a technical identifier of the installation) |
| Telegram | Telegram Messenger Inc. | Notification when certain info pages of the website are visited (page, time, device type, approximate location; no IP address) |
| RevenueCat | RevenueCat, Inc. (US) | Subscription management |
| Hetzner | Hetzner Online GmbH (DE / EU) | Hosting of servers and database |
| Sentry | Functional Software, Inc. — EU data region | Crash and diagnostics reporting |
| Postmark | AC PM LLC (US), part of ActiveCampaign | Sending transactional emails (verification and password codes, or a reset link) and the beta test emails |
| Apple (TestFlight) | Apple Distribution International Ltd. (IE) / Apple Inc. (US) | Beta test invitation, invitation status, session and crash figures of the test app |
In addition, the app retrieves map content and place search results directly from third-party providers (OpenFreeMap, swisstopo, OpenStreetMap/Nominatim — see section 3). These providers are not processors acting on our behalf; they process the resulting data under their own responsibility. Some of these providers may be located outside Switzerland or the EEA.
6. International transfers
Our servers and database run on Hetzner in Germany (EU). Some of the services listed above are located in the USA. Where data is transferred to a country without an equivalent level of data protection, we rely on the following safeguards: for Cloudflare, Sentry, Postmark, Expo and Google, their certification under the EU-U.S. and Swiss-U.S. Data Privacy Framework, supplemented by Standard Contractual Clauses; for RevenueCat, Standard Contractual Clauses adapted for Switzerland. There is no such safeguard for the notification via Telegram; it contains no IP address, name or account. Apple also processes data under its own responsibility according to its privacy policy.
7. Retention
We retain account data for as long as your account exists. After deletion, the following remains on our server or with the services named:
- a pseudonymous log entry documenting the deletion;
- an entry that the free trial has already been used, so that it cannot be claimed repeatedly: for email sign-in a keyed hash of your address (HMAC), for Apple or Google the identifier from that provider, plus the date. There is currently no fixed period for this; the legal basis is our legitimate interest;
- the vote of a level crossing request without a link to your account. If we merged requests, the internal identifier of your account may remain in the record of that merge;
- calibration observations. They contain no account, but the installation ID;
- an encrypted Apple token if Apple did not accept the revocation, until the revocation succeeds or we close the case manually;
- for a short time, a keyed hash of your address to prevent guessing of codes;
- a beta sign-up until confirmed by Apple (see “Beta test”) and the pseudonymous identifier of your account at RevenueCat;
- error reports at Sentry and delivery logs at Postmark, until these providers delete them according to their own periods.
We store sign-in tokens on the server only as a hash, even after expiry or revocation, for as long as your account exists; on your device they are deleted when you sign out. We delete failed attempts to sign in with email and password at the latest at your next successful password sign-in, and keep successful ones for as long as your account exists. An account whose email address has not been verified within 7 days of registration is deleted automatically, together with its data. This does not apply to sign-in with Apple or Google, whose email address has already been verified by the provider. We keep places and time windows for “Fixed times” until you delete them, at the latest for as long as your account exists. We keep the technical records of windows that have run for as long as your account exists. For beta sign-ups, the periods in the “Beta test” section apply. We keep backup copies of the database for around 10 days with our hosting provider in Germany (Hetzner) and, as a second, encrypted copy in Switzerland on a device of our own, the latest 30 copies. Data removed on deletion disappears from the backups once these copies have been replaced, with daily backups after around 30 days.
8. Your rights
You have the right to access, rectification, erasure, restriction and objection, as well as to receive or transfer your data. You can delete your account and the associated personal data yourself at any time (exceptions in section 7): in the app under Settings → Manage account. This does not end an active Apple subscription; you cancel it in your Apple settings. For any further requests you can reach us at support@railfree.app. You also have the right to lodge a complaint with a supervisory authority — in Switzerland, the Federal Data Protection and Information Commissioner (FDPIC).
9. Data security
We take appropriate technical and organisational measures, including password hashing (Argon2id), encryption of sensitive fields (AES-256-GCM), encrypted transmission (TLS), hashing of sign-in tokens, rate limiting and redaction of sensitive fields in our logs.
10. Children
RailFree is not directed at children. The app is intended for persons aged 16 and over; we do not knowingly collect data from persons under the age of 16.
11. Changes to this policy
We may update this privacy policy. The version published here, with the date stated above, is authoritative. We will provide notice of material changes in an appropriate manner.
12. Contact
For privacy questions you can reach us at support@railfree.app.
See also: Terms of Service · Support