Privacy
Privacy Policy
Last updated: 22 November 2026 · Applies to the Android app AI Mafia (com.lastnightai.mafia) and to this website.
This app is made by one person. This policy is written in plain language and describes what the app actually does, not what a template says it might do.
Who is responsible for your data. The controller, in the sense of the EU General Data Protection Regulation (GDPR), is Andrei Kumskov, an individual developer based in Bali, Indonesia, who runs the app under the name Last Night AI. Write to this address about anything in this policy; it is at the bottom of the page.
1. No account is required
There is no sign-up, no sign-in and no password. The app never asks for your email address, phone number or any social login, and it does not read your Google account.
To keep your games together between sessions, the app generates a random identifier the first time it runs and stores it on your device and in Android Block Store. It is a random number. It is not derived from your phone, your SIM, your Google account or your advertising ID, and it cannot be traced back to you.
Block Store. Block Store is a feature of Google Play services that keeps a small piece of data for an app outside the app's own storage. The app puts the identifier there so that your games, progress, calendar and tokens, including tokens you bought, are still yours after you reinstall the app. If your device supports end-to-end encrypted backup to your Google account, Google also keeps a copy of the identifier in that backup, and it comes back when you restore your account on a new phone. The app does not read your Google account, and it takes nothing from Block Store except the identifier it put there. Without a Google account or Google Play services, or with backup switched off, Block Store may not keep it, and the app then creates a new identifier, as it did before. Two phones restored from the same backup get the same identifier and therefore share one wallet and one set of games. Section 9 explains what this means for deleting your data.
2. What is collected
- The random device identifier described above, and the time the app last contacted the server.
- The country of your device. When the app registers with the server for the first time, the server takes a two-letter country code (for example “DE”) from a header that Cloudflare, which carries the traffic (section 8), adds to the request after looking up the connection's IP address in its own database. The code is stored once, next to the identifier, and is never updated. The server does not store the IP address. The code is used only in reports about which countries the app is used in; it changes nothing in what the app does for you, and it is not sent to the AI providers in section 3.
- The languages of your phone. The app sends the server up to three language codes from your phone's system settings, in your order of preference (for example “hi-IN, en-IN”). The server stores them next to the identifier the first time they arrive and does not update them. They are used only in reports — for example, how many players read the game in a language that is not their phone's — and change nothing in what the app does for you: the game's language is the one you choose in Settings. They are not sent to the AI providers in section 3.
- How you use the app's screens. The app tells the server which screens you open and which controls you use, with the time on your phone: for example, that you opened Settings and switched the language from English to Russian, opened the table settings, pressed Play, closed the role card after a few seconds, or left a game and when. These records contain short codes chosen by the app — a screen, a setting and its new value, a seat number, the length of a message — and never what you type: not your name, not your messages. They are stored next to the identifier, used only in reports about where players get stuck, change nothing in what the app does for you, are not sent to the AI providers in section 3, and are deleted with your games (section 9) and on the same schedule.
- The display name you choose for yourself in a game. This is free text that you type; if you leave it empty, the game gives you a generic name.
- Everything that happens in a game: what you say during discussion, who you nominate, how you vote, your night actions, the game settings you picked (mode, difficulty, language), and how the game ended. This is what makes the post-game review possible.
- Feedback you send: if you flag an agent's line as bad, the app records which line it was, the reason you picked, and your optional comment (up to 500 characters).
- Your progress, calendar and tokens, where these features are switched on: the stars and titles you have earned, campaign and daily-task progress (including the stars and the role of each daily task you complete), your visit calendar (which reward you have reached and the day, counted in UTC, you last claimed it), the looks you have chosen, how many tokens of each kind you have, and a record of every time tokens were added or spent and why.
- Your attempts at the weekly case, where that feature is switched on. The case of the week is one fixed table, the same for every player, with a role and a difficulty set for the week. For each attempt the server keeps which week and which game it was, when it was started, how it ended, and the stars and points it earned. When the week closes, the server keeps your best attempt, the mark it earned and, if enough players took part, the share of players you finished ahead of. A case attempt is an ordinary game record (see “Everything that happens in a game”), so everything said above about games applies to it. Your best attempts are read from the game log on the server, which is how the points are counted: nothing is taken from your phone, and the phone's own figures are not trusted for it. The case also adds a kind of token, the weekly “Case File” token, to the token counts above; it is added to the same wallet and recorded in the same way.
- How other players did in the case. The case screen can show how the other players played the same table, for example how many chose a given action. After you finish your first attempt, it shows totals only, counted over everyone who played that week: how often each game character was the mafia, how often a character was suspected on the first day, how often a character lasted to the end, and how the week's marks are spread. No other player's name, text, vote or game is shown to you, and yours is not shown to anyone else. The spread of marks and your place in it appear only once enough players have taken part.
- Purchases, if you buy something in the app. Payment is handled by Google Play; I never see your card, your name or your email address. From Google the server receives, and keeps, the order number, the purchase token, the product, the time of purchase, the country of the purchase, its price and currency, and whether the order was later refunded or cancelled.
- Crash and diagnostic data, described in section 4.
3. Where your in-game messages go
The agents are language models, and they have to read what you wrote in order to answer it. The text you type during a game is sent to the AI providers who run those models — currently OpenAI and OpenRouter, and through OpenRouter to the model vendors it routes to.
Your display name is sent with it, because the agents address each other by name. To play, the agents also read what has happened at the table so far, under the players' display names: who nominated whom, how everyone voted, who was eliminated and which role was revealed. Nothing else about you is sent: not the device identifier, not your IP address, not your feedback.
Those providers process the text under their own terms. If you would rather a sentence never left this device, do not type it into the game.
4. Crash reporting and analytics
The app uses Firebase Crashlytics and Google Analytics for Firebase, both provided by Google. They are there so that a crash on your phone can be found and fixed; Analytics is included because Crashlytics needs it to report which session a crash belongs to, and to measure our ads (see «Measuring our ads» below).
They collect technical data such as your device model, operating system version, app version, and the technical details of a crash. Analytics also records an app-instance identifier that Google generates for this installation, basic usage events such as the first launch and sessions, and which store the app was installed from. This is handled by Google under the Firebase privacy policy.
Measuring our ads. Analytics also receives five events from the app: that a game was started (and whether it is a regular game, a campaign mission or the case of the week, and your role in it), that a game was finished, that your first game was finished, that Settings were opened, and that a campaign mission was started. We use them in Google Ads to see which of our ads bring people who actually play, rather than people who install the app by accident. The events carry nothing else: not your name, not your messages, not the identifier from section 1.
Approximate location. When your device contacts Google, Analytics derives a rough location from your IP address — a country, and sometimes a region or city. According to Google, the IP address itself is not logged or stored in Analytics. The app never asks for location permission and never reads your GPS or any precise location. Two things derived from your IP address are involved: this approximate location in Analytics, and the country code of your device described in section 2. They are the only places in this policy where location appears. The app does not use the Analytics one for anything, and neither is sent to the AI providers in section 3.
The app does not read your advertising identifier: the advertising permissions are removed from the app, and Analytics is told not to collect it.
4a. Optional ads
The app can offer you a token in return for watching one short video ad. This is your choice, every time: nothing plays by itself, and nothing in the game needs it. The offer appears in one place only, the wallet drawer, and only when you have run out of “random” tokens, after you have finished your first games, and up to a small number of times a day (currently five, counted in UTC). It never appears during a game, on the last word, on a result or on the review screen, in the calendar, the shop or on the home screen. Some regions get no offer, because no ad can be loaded there.
Who provides the ads. The ads come from Google AdMob, through Google's Mobile Ads SDK. The app does not start the SDK until the first time you open the wallet with no tokens while ads are available; before that it has run nothing and collected nothing from your device. Google handles what it collects under its own privacy policy (see also how Google uses information from apps that use its services).
What the ad SDK collects and shares with Google. According to Google, automatically, for advertising, analytics and fraud prevention: your IP address (which Google may use to estimate the general location of the device); information about how you interact with the ad, such as taps and video views; diagnostic information about the performance of the app and the SDK; and device identifiers. The advertising ID is not among them: the app has removed the permissions to read it, so the SDK cannot. What remains is identifiers that Google generates itself, such as an app-set identifier, which is not your advertising ID and which the app does not read. All of it travels encrypted (TLS).
What Google does not get from us. Not your random device identifier, not your display name, not anything you typed, not your games. The only thing the app attaches to the ad request is a single-use random code, made by our server for this one view, so that Google can tell us afterwards that the view happened.
What our server keeps. The offer: the single-use code, when it was made, what it is for, whether and when the view was confirmed, the transaction number that Google's confirmation carries, which ad unit it was, and, if an experiment on the daily limit is running, which group your device is in. The server receives the confirmation directly from Google; it is signed, and the server checks the signature. It contains the code, the ad unit, the reward and a transaction number, but no identifier of your device or of you. Offers older than 30 days are removed automatically. That the token was added is recorded in the token record described in section 2 and kept like the rest of it.
Ads are not personalised, for anyone. The app does not ask your age, so every ad request is marked as coming from a user aged 13 or over who must get the stricter treatment Google applies to teenagers: no personalised ads, no remarketing, and the ad content is capped at a rating suitable for teens. The ads you see are chosen by context, not by a profile of you.
Consent in Europe. If you are in the European Economic Area, the United Kingdom or Switzerland, the first time you choose to watch an ad, Google's consent form (a certified consent management platform) asks what Google may do. You can change or withdraw that choice at any time through the “Ad privacy” row in the wallet drawer, which is shown wherever the form is required. If you do not consent, the app may be unable to offer you ads; nothing else changes. Outside those regions no form is shown.
Deleting your data (section 9) removes the offers our server keeps. It cannot remove what Google has received; for that, see Google's policy above.
5. What is not collected
The app asks you for no permissions — you will never see a permission prompt. It declares two of its own: internet access, and the ability to see whether the network is up. The Firebase libraries described in section 4 add two more standard technical ones, which Android grants without asking you: keeping the device awake for a moment while a crash report is sent, and reading which store the app was installed from. The Google Play Billing library adds one more, also granted without asking: permission to talk to Google Play about purchases. The Google advertising library (section 4a) adds a last one, again granted without asking: the ability to keep a background task running. Nothing else is declared: the advertising-identifier, ad-attribution and ad-topics permissions that the Firebase and Google advertising libraries would otherwise add are explicitly removed. The app therefore cannot and does not collect:
- your name (other than the display name you type), email address, phone number or postal address;
- your precise location, or anything from your GPS (the approximate location that Analytics derives from your IP address is described in section 4, and the country of your device in section 2);
- your contacts, photos, files, microphone or camera;
- your advertising identifier.
Advertising appears only if you choose to watch an ad (section 4a), and it is not personalised. The app has no third-party tracking or attribution SDK. No data is sold, and none is shared with data brokers.
6. Why this data is processed, and on what legal basis
If you are in the European Economic Area or the United Kingdom, data protection law requires a legal basis for every use of your data. Here they are, purpose by purpose:
- Running the game, keeping your games available to you between sessions, and showing you the post-game review (the random identifier, your display name, everything that happens in a game, and sending your text to the AI providers so the agents can answer it). Basis: performance of a contract — the game cannot work without this data; you ask for it by playing.
- Limiting how many games a single device can start per day (the random identifier and the time of last contact). Basis: legitimate interests — keeping running costs, and so the app, sustainable.
- Improving how the agents play, using recorded games as test material, and reading the feedback you send (the game record and your flags on agents' lines). Basis: legitimate interests — making the agents better is the point of the project. You can object to this; see section 10.
- Keeping your progress, calendar and tokens, crediting what you buy, and taking it back if the payment is refunded (the progress, calendar and token records and the purchase data in section 2). Basis: performance of a contract — this is what you get when you play and when you buy.
- Making sure one order is credited only once, and counting sales by country (the order number, purchase token, country, price and currency). Basis: legitimate interests — preventing fraud, and knowing whether the prices make sense where they are charged.
- Keeping your identifier through a reinstall (the random identifier and its copy in Block Store). Basis: performance of a contract — tokens you bought must stay yours — and legitimate interests — the free starter set and the calendar should not be claimed over and over by reinstalling the app.
- Knowing in which countries the app is used (the country of the device, section 2). Basis: legitimate interests — seeing what the app costs to run in each country, and whether prices and free allowances make sense there. You can object to this; see section 10.
- Offering you an ad, and crediting the token only once (the single-use code and the offer record in section 4a). Basis: performance of a contract — you ask for the token by choosing to watch — and legitimate interests — preventing the same view from being credited twice. What Google collects through its ad SDK, and the consent it asks for in the EEA, the UK and Switzerland, are Google's own processing under your consent where the law requires it.
- Finding and fixing crashes, and seeing basic app usage (the Crashlytics and Analytics data in section 4). Basis: legitimate interests — an app that crashes on your phone is of no use to you or to me.
No decision about you is made by automated means in a way that has legal or similarly significant effects on you: the agents decide only how they play the game.
7. How long it is kept
Game history is kept for 12 months from the day the game was started, so that you can open past games in the review screen. After that the game is deleted from the server automatically, together with everything recorded in it. You can ask for it to be deleted sooner — see section 9.
Your progress, your calendar, your tokens, the country of the device and your purchase records are kept for as long as the app on your phone keeps contacting the server. When a device has not contacted the server for 12 months, it is deleted together with all of them, including tokens you bought. Opening the app counts as contact.
The copy of the identifier in Block Store, and in your Google account backup, is held by Google. Deleting the device from the server, whether on request or after 12 months, does not remove it; see section 9.
Crash data is kept by Google according to Firebase's own retention schedule.
8. Where it is stored
Game data is stored on a server operated for this project in Frankfurt, Germany, hosted with Hostinger.
Traffic to it passes through Cloudflare, which routes the connection and does not store game content.
The AI providers in section 3 and Google (sections 4 and 4a) may process data in other countries, including the United States.
9. Your choices
- There is no reset button. Clearing the app's data, or uninstalling it, does not reset anything on the server, and it is not a way to delete your data. Because the identifier is kept in Block Store (section 1), a new installation will normally get the same identifier back, and with it your games, progress, calendar and tokens. Clearing the app's data removes only the copy of your past games that the app keeps on your phone for the history screen. Only on a device without a Google account or Google Play services, or with backup switched off, may a reinstall produce a new identifier; your earlier games then stay on the server, unconnected to the new installation, until they are deleted as described below or expire after 12 months. The only way to erase your data is the next item.
- Ask for deletion. Write to the address below with the device identifier shown on the app's Diagnostics screen. Every game recorded under it is deleted from the server completely — not hidden and not kept in anonymised form — within 30 days, and I reply when it is done. Your progress, your tokens, including tokens you bought, and your purchase records are deleted with it and cannot be restored; deletion does not refund a payment. A game still in progress is deleted once it ends; a game left paused because the app was closed is deleted once its saved state has expired, about a week after it was closed. Step-by-step instructions are on the Delete your data page. The copy of the identifier that Google keeps in Block Store and in your account backup is Google's, not mine, and I cannot delete it. It is only a random number and points to nothing once the server record is gone; if you keep using the app, the same identifier simply starts a new, empty record, as on a new phone.
- Play without saying anything you would not want processed. Section 3 explains why.
10. Your rights, and who to complain to
Under the GDPR (and the UK equivalent) you have the right to:
- get a copy of the data held about you, and to know what is done with it;
- have inaccurate data corrected;
- have your data erased — section 9 describes how; the games are deleted completely, within 30 days;
- ask for processing to be restricted;
- object to processing based on legitimate interests (section 6);
- receive the data you provided in a portable, machine-readable form.
To use any of these, write to the address below with the device identifier shown on the app's Diagnostics screen. The app has no accounts, so the identifier is the only way I can tell which games are yours; without it I cannot find your data and will say so. I will answer within one month.
You also have the right to complain to a data protection supervisory authority — in the country where you live or work, or where you believe the law was broken. Contact details of the EU authorities are listed on the European Data Protection Board's website. I would be glad to hear about a problem first, but you do not have to.
11. Children
This app is not directed at children. It is not designed for, marketed to, or intended to be used by children under 13. Ads, which are optional, are requested with the stricter treatment for teenagers described in section 4a.
12. This website
This site serves static pages only. It sets no cookies, runs no analytics, and loads no fonts, scripts or images from any third party.
13. Changes
If this policy changes, the date at the top of this page changes with it. Until 18 November 2026 the app was available only to a small closed test group on Google Play; earlier versions of this policy applied to that group alone.
Contact and data controller
Andrei Kumskov · Bali, Indonesia
support@lastnightai.com