What a plugin may do
Permissions, what each one lets a plugin do, and what people are told before they add it.
A plugin's permissions list what it may do beyond reading texts to tag them. Each one a rule uses must be listed (needs_permission), and each one listed must be used (permission_unused), so the list is always exactly what the plugin does. People see it before they add a plugin, and on its page under What it reads and keeps, in lines the app makes from the file itself: never from the developer's own words, and never from anything the Marketplace's server says.
The permissions, and what people see
| Permission | Needed for | The line people see |
|---|---|---|
| (always) | Reads texts from numbers not in your contacts: Their words and who they're from, on this phone, to sort them. Never your contacts' texts, group texts, texts sent with Uplink's encryption, your own, chats on other networks, or circles and spaces. Nothing at all while Uplink can't read your contacts. | |
sort | any tab or kind | Sorts texts into its own tabs and kinds: They leave Messages for its tab while it's added. Remove it and they're back. Texts with a sign-in code in them are never sorted. |
move | a move button | Moves a conversation when you ask: Only when you press its button, into its own tabs or back to Messages. |
markread | a markread button, or an incoming rule that marks read | Can mark texts as read: Only the conversation you press it on, or texts in its own tabs and kinds as they come once you switch that on in its settings. A text marked read loses its notification. |
mute | an incoming rule that silences | Can silence notifications: Only texts in its own tabs and kinds, once you switch that on in its settings. Each one's notification is taken away as it comes. |
copy | a copy button | Copies to your clipboard when you ask: Only when you press its button. |
write | a write button | Writes a reply for you to send: Only when you press its button. Nothing is sent until you send it. |
links | a link button | Opens example.com in your browser, with its link's own host: Only when you press its button. The address never changes, and nothing from your texts goes with it. |
| (always) | Can't reach the internet: It has no way to send anything over the internet itself. A button you press can open its page in your browser or copy words to your clipboard. |
They're shown in that order. "This phone" is the device it's on: on a computer the first line says "on this computer", and on an iPhone "on this iPhone".
On a computer or an iPhone
Incoming rules run only on the phone, so on a computer or an iPhone the lines say less:
- The Can silence notifications line is left out.
- Can mark texts as read is there only for a
markreadbutton, with the hint "Only the conversation you press it on." - In what it adds, the lines for incoming rules become one: "On your phone it can also mark read or silence texts as they come; not on this computer." (or "not on this iPhone.")
What it adds
Under the lines above, the sheet and the plugin's page say what it adds, made from its rules in this order:
- each tab: "A Bills tab in the list";
- each kind: "A kind in the list's filter: Receipts";
- "Choices in a conversation's menu in the list", "A button in a conversation's header" and "Choices in a message's menu", each once where a button is there;
- on a phone, each incoming rule: "Can mark Receipts texts as read as they come, once you switch it on", or "Can silence Parcels texts as they come, once you switch it on";
- "Settings of its own, on its page", where it has settings.
What people see before they add one
Adding a plugin from the Marketplace asks first, in a sheet drawn from the plugin's own file, checked against its review. For a plugin like Bills:
Reviewed by Uplink
It adds: a Bills tab in the list; a kind in the list's filter: Receipts; choices in a conversation's menu in the list; choices in a message's menu; it can mark Receipts texts as read as they come, once you switch it on; settings of its own, on its page.
It works on this phone alone. Remove it at any time from its page in the Marketplace.
Not reviewed by anyone: switch this on only if you made it.
- A plugin in development shows the same sheet the first time it's switched on, titled Switch on Bills?, with Not reviewed by anyone: switch this on only if you made it. in place of the review, and Switch it on and Not now.
- It shows again whenever a reload can do more than was agreed to: a new permission, a new link, a new tab or kind. Until then the plugin stays off.
- An update from the Marketplace that can do more asks first too, showing only what's new: "Update Bills?", "It can now:" and the new lines.
- A plugin loaded from a computer through the API is never switched on unseen: it's switched on only where the phone has agreed to all it can do already, and the phone says it was loaded.
What no permission allows
Some things no plugin from another developer can do at all, whatever it lists:
- Change what a message says. No rule shows other words in a bubble, as Translate does: a stranger's plugin rewriting what someone said could put words in their mouth.
- Choose a conversation's name, hide one of its kinds from the start, or see a group.
- Draw anything of its own: no buttons above the list, under a message, beside the box, in a call or in Settings. Its buttons go only in the four places it's given.
- Work for a whole circle, or for a space. A plugin from another developer is for the one device it's added on.
- Reach the network, run code, or use regular expressions.
- Put words from a text in an address, or open more than one address.
- Run while the app is closed. Its incoming rules run on the phone while the app is open.
- See your contacts' texts, group texts, encrypted texts, your own messages, chats on other networks, or circles and spaces.
Docs