AGENTS.md — NextGram plugin authoring
The compact, non-negotiable rules for building and submitting a NextGram plugin.
Instructions for AI coding agents that build, sign or submit NextGram plugins. Follow the names and limits exactly: the installer is strict and rejects a package with a clear E_* error instead of guessing.
Read this file before writing code. The full reference is in the NextGram repository:
- Package format
- SDK and extension points
- Appearance API
- Screen replacement and slots
- TypeScript plugins
- Declarative UI
- Capabilities
- Resources
- Automation
- Internal API
- Security model
- Distribution and updates
1. What you produce#
A plugin is one signed .ngp package. TypeScript is the primary language.
| Kind | Payload | Author writes | Trust |
|---|---|---|---|
ts (script) | script/main.js | TypeScript compiled to one IIFE | QuickJS sandbox |
java (code) | android/dex/classes.dex | Java or Kotlin compiled to DEX | Trusted code |
hybrid | both payloads | TypeScript entry point plus a Java native module | Trusted code for the DEX part |
java is an alias of code; ts is an alias of script. New packages use the new names. All three kinds install, enable, disable and update. TypeScript-only packages reload live; hybrid and Java packages need a restart when their DEX changes.
A Java package can apply a color theme with ui.appearance, override resources and replace app screens with ui.screens. There is no theme package kind and no theme/theme.json. A package with kind: "theme" is rejected with E_UNSUPPORTED_KIND and: Theme packages are no longer supported. Ship a code plugin with the ui.appearance permission.
For a catalog submission you also produce plugins/<id>/entry.json, an icon and optional screenshots in this repository. Never commit a .ngp, a keystore or a private key here.
Target host: NextGram Android 13.4.0, SDK API 1, minSdk 23, compileSdk 36.
2. Non-negotiable rules#
idis lowercase reverse-DNS, 3-128 characters, at least two segments, immutable:^[a-z][a-z0-9]*(\.[a-z0-9][a-z0-9_-]*)+$.app.nextgram.*is reserved.formatis"ngp",formatVersionis1,apiis1.versionis semver.versionCodeis a positive integer that must increase on every update. The catalog entry and the package manifest must carry the same values.- A Java package must list
androidinplatformsand provideentrypoints.android. A TypeScript package listsandroidor*and may omitentrypoints. - A hybrid package provides both payloads;
entrypoints.androidimplementsNextGramNativeModuleandnativeMethodslists every callable method. - Only one
classes.dex. Noclasses2.dex, no native libraries, no nested archives, no executable scripts. - Limits: package 64 MB, uncompressed total 192 MB, 4096 entries,
classes.dex32 MB,script/main.js8 MB,plugin.json256 KB, 200:1 compression ratio per entry. script/ts/hybridand every new permission or resource declaration requireminHost.- Do not bundle
dev.nextgram.plugin.v1.*classes. The SDK iscompileOnly; the host provides it at runtime. - Do not define classes in
java.*,javax.*,android.*,dalvik.*,org.telegram.*,dev.nextgram.plugin.*ordev.nextgram.builtin.*. - Do not declare Android components: no
Activity,Service,BroadcastReceiverorContentProvidersubclasses. The host owns every component. - Do not use Android resources or
R.*. Assets are files underassets/, not compiled resources. Do not bundle AndroidX for resources; framework views only. - The entry class must be public, have a public no-arg constructor and extend
AbstractNextGramPlugin(or implementNextGramPluginand all of its methods). - Request the minimum permissions. Unknown or blocked permissions reject the package.
ui.screensis high risk. Declare it only when the plugin really replaces a screen, and never try to render login, passcode, payments, secret chats, the installer, the plugin manager or safe mode.- Code plugins run as trusted code, not in a sandbox. Never add reflection escapes, hidden APIs or dynamic code download.
3. Source layout#
Code plugin:
my-plugin/
plugin.json
assets/
icon.png
screenshots/
main.png
src/
com/example/myplugin/
MyPlugin.java
MySettings.java
LICENSE
README.mdThe official shell builder copies plugin.json, assets/, the kind payload and the optional root LICENSE, CHANGELOG.md, README.md and i18n/. Other files in the source directory are not packaged.
4. Manifest#
Minimal code plugin:
{
"format": "ngp",
"formatVersion": 1,
"id": "com.example.hello",
"name": "Hello",
"version": "1.0.0",
"versionCode": 1,
"kind": "code",
"api": 1,
"minHost": ">=13.4.0",
"platforms": ["android"],
"entrypoints": {
"android": "com.example.hello.HelloPlugin"
},
"description": "Adds a settings screen and a message action.",
"author": {
"name": "Example Author"
},
"license": "MIT",
"icon": "assets/icon.png",
"permissions": ["ui.settings", "ui.chat", "messages.read"]
}Rules that are easy to miss:
iconmust be a PNG or WebP underassets/, at most 2 MB and 1024x1024. Every catalog plugin must ship an icon: the manager shows it in the plugin list and the plugin must reuse it withIconRef.asset("assets/icon.png")in its settings entry.screenshotsis optional, at most 6 paths, each at most 4 MB.homepage,sourceandsupportmust start withhttps://.updateis accepted but ignored. The catalog index is the update source.localizationis validated but the manager does not display it yet.i18n/<locale>.jsonis accepted in the package, but the host does not resolve those strings yet. Use plainLocalizedText.of(...)text.dependenciesandconflictsare enforced at install. A required dependency must be installed, enabled and inside its semver range; a conflict with an installed plugin blocks installation.providesis metadata only.- JSON duplicate keys are rejected. Unknown fields are ignored.
Permissions#
Request only what the plugin uses. Unknown or blocked permissions reject the package.
| Permission | Risk | Unlocks |
|---|---|---|
ui.settings | low | Settings entry |
ui.appearance | low | Blur, avatar shape, theme colors |
ui.resources | high | Fonts, sounds, wallpaper, icons, haptics, motion, chrome |
ui.strings | high | Allowlisted string overrides |
ui.chat | medium | Message actions, chat toolbar actions, chat slots |
ui.chatlist | medium | Chat list slots |
ui.screens | high | Replace a catalogue screen |
ui.custom_screens | low | Open a plugin-owned full-screen view |
messages.read | high | Message text, snapshots and events |
messages.send | high | Send text and media, outgoing interceptor |
messages.modify | high | Edit and delete |
messages.react | medium | Add and remove reactions |
messages.automation | critical | Background automation rules |
chats.read | medium | Dialog snapshots and permissions |
chats.members.read | high | Member lists |
chats.join | medium | Join and leave public chats |
chats.create | high | Create groups and channels |
chats.admin | critical | Ban, mute, promote, pin, edit info, delete for all |
notifications.read | medium | Notification snapshots |
notifications.manage | high | Cancel, update and intercept notifications |
network | medium | HTTPS HTTP client |
media.read | medium | Pick files and read packaged assets |
media.write | high | Send photos, documents, voice and stickers |
telegram.actions | low | Mark read and similar account actions |
internal.access | critical | Typed unstable host facade; java/hybrid only |
clipboard.write | low | Copy text |
accounts.list | low | Account snapshots |
messages.background is accepted for old packages but is inert and never grants automation. ui.screens and the critical permissions are off by default at install. Blocked and rejected: secret_chats, passcode, payments, calls.
Every mutating call checks the signed-in account's Telegram rights. The host never bypasses a server restriction. Secret chats and protected surfaces are filtered.
5. Code API#
Entry point:
package com.example.hello;
import dev.nextgram.plugin.v1.AbstractNextGramPlugin;
import dev.nextgram.plugin.v1.Permissions;
import dev.nextgram.plugin.v1.PluginContext;
import dev.nextgram.plugin.v1.ui.IconRef;
import dev.nextgram.plugin.v1.ui.LocalizedText;
import dev.nextgram.plugin.v1.ui.MessageAction;
import dev.nextgram.plugin.v1.ui.SettingsEntry;
public final class HelloPlugin extends AbstractNextGramPlugin {
@Override
public void onLoad(PluginContext context) {
context.contributions().addSettingsEntry(
SettingsEntry.builder("main")
.title(LocalizedText.of("Hello"))
.subtitle(LocalizedText.of("Greeting options"))
.icon(IconRef.asset("assets/icon.png"))
.screen(HelloSettings::new)
.build()
);
context.contributions().addMessageAction(
MessageAction.builder("hello")
.title(LocalizedText.of("Say hello"))
.icon(IconRef.host("msg_info"))
.permission(Permissions.MESSAGES_READ)
.handler((action, message) ->
action.ui().showToast("Hello, " + message.senderName()))
.build()
);
}
}Settings screen:
package com.example.hello;
import dev.nextgram.plugin.v1.ui.AbstractSettingsScreen;
import dev.nextgram.plugin.v1.ui.SettingsContext;
import dev.nextgram.plugin.v1.ui.SettingsSpec;
public final class HelloSettings extends AbstractSettingsScreen {
@Override
public CharSequence title() {
return "Hello";
}
@Override
public SettingsSpec build(SettingsContext context) {
return SettingsSpec.builder()
.section("general", "Greeting")
.textRow("greeting", "Greeting text", "Hello")
.switchRow("include_name", "Include sender name", true)
.sliderRow("scale", "Scale", 1, 50, 100)
.buttonRow("preview", "Preview", settings ->
settings.ui().showToast(settings.preferences()
.getString("greeting", "Hello") + ", NextGram!"))
.infoRow("Built with the NextGram plugin SDK.")
.build();
}
}Available context services:
info(),host(),storage(),scheduler(),logger(),ui(),permissions();accounts(),chats(),messages()with read, send, edit, delete, forward and reaction methods;chatAdmin(),automation(),http(),media(),notifications();contributions(),events(),interceptors(),services().
require(AppearanceHost.class) requires ui.appearance. require(ResourcesHost.class) requires ui.resources. require(AndroidHost.class) comes from nextgram-plugin-sdk-android. require(InternalHost.class) requires internal.access, kind java or hybrid, and the kernel switch. Use it only when the public API cannot express the task; it is unstable and may change between host builds.
AppearanceHost controls:
- blur:
blurStrength(),setBlurStrength(int),resetBlurStrength(); - avatar shape:
avatarShape(),setAvatarShape(int),resetAvatarShape()withAVATAR_SHAPE_CIRCLE,AVATAR_SHAPE_SQUIRCLE,AVATAR_SHAPE_ROUNDEDandAVATAR_SHAPE_SQUARE; - theme:
applyTheme(AppearanceTheme),resetTheme(),hasTheme(),themeColor(String, int)andcustomColor(String, int). Build a theme fromAppearanceTheme.Base.LIGHT,DARKorAMOLED, semanticAppearancePalettetokens, rawTheme.key_*values and plugin-scoped custom colors. Limits: 256 entries per map, 128-character keys; - palette compatibility:
applyPalette(AppearancePalette),resetPalette(),hasPalette()are wrappers over the same appearance runtime. The most recent successful apply wins.
Snapshots are plain Java objects:
MessageSnapshot:account(),dialogId(),messageId(),date(),senderId(),senderName(),outgoing(),kind(),text(),caption(),entities(),secret().text()andcaption()are nullable and requiremessages.read.DialogSnapshot:account(),dialogId(),title(),group(),channel(),secret().AccountSnapshot:id(),displayName(),active().
Read methods are chats().getDialog(...), chats().getDialogs(account, limit), messages().getMessage(...), messages().getMessages(...) and messages().searchMessages(...). Limits are clamped: dialogs and messages 100, search
- Reads are in-memory only and never trigger a network history load.
Contributions:
addSettingsEntry(SettingsEntry)requiresui.settings;addMessageAction(MessageAction)andaddChatToolbarAction(ChatToolbarAction)requireui.chat, plus the action's ownpermissionwhen set;Registration.close()removes the contribution immediately.
Events:
AppLifecycleEvent,AccountEvent,ChatOpenedEvent,ChatClosedEvent,MessageEvent,MessageSendFailedEvent,ThemeChangedEvent,PluginStateEvent.subscribe(MessageEvent.class, ...)requiresmessages.read.- Listeners run on the plugin's serial background executor. Use
scheduler().runOnMain(...)before touching UI. - Events are read-only. Secret chats are filtered out.
Outgoing interceptor:
context.interceptors().addOutgoingMessageInterceptor(message -> {
if (message.text().contains("foo")) {
message.setText(message.text().replace("foo", "bar"));
}
});It requires messages.send, runs synchronously and must return within 50 ms. Only plain text is covered. Secret chats are excluded.
Storage and scheduling:
storage().global()andstorage().account(account)returnPluginPreferences.storage().filesDir()andcacheDir()are plugin-private.scheduler().runOnMain(...),runOnBackground(...),schedule(...),schedulePeriodic(...); the minimum period is 15 minutes. Tasks stop when the plugin is disabled.
Threading and budgets:
onLoad,onStart,onStop,onUnload, settings callbacks and action handlers run on the main thread.onLoadmust finish within 500 ms; other lifecycle callbacks within 100 ms.- UI calls off the main thread throw
WrongThreadException. - Do not log message contents, phone numbers or tokens. Log tag is
ngp/<plugin-id>.
Not available in this release: contacts, account switching, calls, payments, secret-chat access, arbitrary WebView or HTML screens, native .so plugins and the test SDK. Do not work around missing APIs with reflection or org.telegram.* imports unless the package is java/hybrid and the task explicitly needs the internal facade.
6. Appearance and screen replacement#
6.1 Appearance#
ui.appearance unlocks require(AppearanceHost.class):
AppearanceHost host = context.require(AppearanceHost.class);
host.applyTheme(
AppearanceTheme.builder(AppearanceTheme.Base.DARK)
.color(AppearancePalette.WINDOW_BACKGROUND, 0xFF0E1117)
.color(AppearancePalette.TEXT_PRIMARY, 0xFFF5F7FA)
.color(AppearancePalette.ACCENT, 0xFF6D8BFF)
.rawColor("windowBackgroundWhite", 0xFF0E1117)
.customColor("surfaceRaised", 0xFF1B1E24)
.build()
).exceptionally(error -> null);
int accent = host.themeColor(AppearancePalette.ACCENT, 0xFF6D8BFF);
int surface = host.customColor("surfaceRaised", 0xFF1B1E24);
host.resetTheme();- Base is
LIGHT,DARKorAMOLED; it supplies defaults for missing tokens. - Semantic tokens are
AppearancePalette.WINDOW_BACKGROUND,CHAT_BUBBLE_IN,ACCENTand the rest of the constants. Unknown tokens throwIllegalArgumentException. - Raw keys are the bare
Theme.key_*names (windowBackgroundWhite, notTheme.key_windowBackgroundWhite). Unknown keys are dropped with a warning; raw keys override semantic mappings. - Custom keys match
[a-zA-Z0-9._-]{1,128}and are scoped to the plugin. - Limits: 256 entries per map and 128-character keys.
applyThemeruns on the main thread and returns aCompletableFuture<Void>.applyPalette,resetPaletteandhasPaletteare compatibility wrappers.- One appearance provider is active. Reset, disable, uninstall, revocation, safe mode or a failed apply restores the previous theme.
- There is no
theme/theme.jsonand nokind: "theme". Do not ship theme packages.
6.2 Screen replacement and slots#
ui.screens unlocks Screens.replace for exactly CHAT_LIST, CHAT, SETTINGS, PROFILE and MAIN_NAVIGATION. ui.custom_screens unlocks AndroidHost.openScreen. Slots require ui.chatlist for CHAT_LIST_HEADER and ui.settings for SETTINGS_HEADER.
AndroidHost host = context.require(AndroidHost.class);
Registration chatList = host.screens().replace(ScreenKey.CHAT_LIST, ChatListScreen::new);
Registration header = host.screens().addSlot(SlotKey.CHAT_LIST_HEADER, new HeaderContribution());- The plugin returns a normal framework
ViewfromPluginScreen.onCreateView. - The stock fragment, navigation stack, insets, back handling and lifecycle stay host-owned. The stock screen still runs under the overlay.
MAIN_NAVIGATIONcovers only the tab bar. There is no drawer key.- The five contexts expose
Chats,Messages, navigation, insets, density, font scale and appearance access.ChatScreenContext.sendTextrequiresmessages.send. - Theme changes call
PluginScreen.onThemeChanged. - Rotation recreates the view through the factory; save state in storage or the view's saved state.
ScreenContext.screenKey()isnullfor screens opened withopenScreen.- Registrations are removed on disable, uninstall, revocation and safe mode.
Protected surfaces never receive plugin views or contexts: login, passcode, payments, secret chats, installer, consent, safe mode, plugin manager, calls and inactive accounts. SharedConfig.appLocked also resolves to stock. Do not imitate these surfaces. The user can disable all screen replacement plugins with the kernel switch Allow screen replacement plugins, and safe mode resets appearance and screens.
A plugin cannot provide a BaseFragment, Activity, Service, BroadcastReceiver or ContentProvider. It cannot change the navigation stack or another plugin's screen.
6.3 TypeScript plugins#
Use nextgram-plugin-ts from the NextGram repository. A TypeScript package has plugin.json, script/main.js after the build and optional assets/, i18n/:
cd nextgram-plugin-ts
pnpm install
pnpm --filter @nextgram/cli build
node packages/cli/dist/index.js build path/to/my-plugin
node packages/cli/dist/index.js pack path/to/my-plugin out/my-plugin-1.0.0.ngpThe bundle is a single IIFE that assigns globalThis.__ngp_plugin__. No CommonJS, no runtime ESM import, no node:*, no fetch, no eval escape. The host provides ctx.storage, ctx.ui, ctx.screens, ctx.messages(), ctx.chats(), ctx.chatAdmin(), ctx.automation(), ctx.http(), ctx.media(), ctx.notifications(), ctx.resources and ctx.native.call.
Declarative nodes are plain objects from @nextgram/plugin:
import { definePlugin, column, text, button } from "@nextgram/plugin";
export default definePlugin({
async onLoad(ctx) {
ctx.screens.replace("chat_list", {
create: () => column({
style: { padding: 16, gap: 8 },
children: [
text("Chats"),
button("Refresh", { onPress: "refresh" }),
],
}),
onAction(action) {
if (action === "refresh") ctx.ui.invalidate();
},
});
},
});A hybrid package adds a Java module:
public final class MyNativeModule implements NextGramNativeModule {
@Override public void onLoad(NativeModuleContext context) {}
@Override public void onUnload() {}
@Override public Map<String, NativeMethod> methods() {
return Collections.singletonMap("applyPatch", arguments -> patch(arguments));
}
}plugin.json declares kind: "hybrid", both payloads, entrypoints.android and nativeMethods: ["applyPatch"]. TypeScript calls await ctx.native.call("applyPatch", { value: 1 }). A method present in only one list is unavailable. The call limit is 5 s.
6.4 Resources, automation and admin#
ui.resourcesunlocksrequire(ResourcesHost.class).apply(appResources). Limits: font 8 MB each/8 files, sound 5 MB/16 files/60 s, wallpaper 10 MB/4096x4096, icon 1 MB/512x512/128, string 2,000 chars/200, 32 MB copied assets total. Apply is atomic; a failed apply changes nothing.messages.automationunlocksctx.automation(). Automation is off until the user enables the global switch and the per-plugin toggle. Destructive actions need a one-time confirmation. Rules run only while the app process is alive in v1.chats.adminunlocksctx.chatAdmin(). Ban, mute, promote, pin, edit and delete for all check the account's real Telegram rights and returnE_TELEGRAMwhen the server denies the action.
7. Build and sign#
From the NextGram repository root:
./gradlew :nextgram-plugin-sdk:compileJava :nextgram-plugin-sdk-android:assembleDebug
docs/plugins/tools/build-ngp.sh path/to/my-plugin out/my-plugin-1.0.0.ngp- The shell builder compiles Java sources only. For Kotlin, use your own Gradle build that runs D8 with
--min-api 23, bundleskotlin-stdliband produces exactlyandroid/dex/classes.dex, then sign the ZIP as JAR. - TypeScript, hybrid and CLI packaging use
@nextgram/cli; see section 6.3. - The builder uses the newest Android build-tools and
platforms/android-36/android.jar. - Without
NGP_KEYSTOREit creates a temporary development key under the source directory. That key must not be used for a catalog release. - Sign a release with a stable author key:
NGP_KEYSTORE=/secure/author.p12 \
NGP_KEY_ALIAS=author \
NGP_STORE_PASS=... \
NGP_KEY_PASS=... \
docs/plugins/tools/build-ngp.sh path/to/my-plugin out/my-plugin-1.0.0.ngp- The verifier accepts RSA 2048+ or EC P-256+ with SHA-256, exactly one signer. The shell builder signs RSA with
jarsigner. - Verify before publishing:
jarsigner -verify out/my-plugin-1.0.0.ngp--unsignedis for developer-mode testing only. Release builds reject unsigned packages outside developer mode.- First-party
dev.nextgram.*plugins are released by therelease-pluginworkflow. It compiles the SDK, signs with theFIRSTPARTY_KEYSTORE_BASE64secret, commits the version bump, creates the GitHub Release and rebuilds the index. A mergedversionCodeincrease is detected byauto-release-plugin, and a pusheddev.nextgram.<id>-v<version>tag is handled bytag-release-plugin; both dispatch the same workflow automatically. Do not sign a first-party release with a local temporary key.
8. Test on a device#
- Build and install the debug app.
- Open the
.ngpfrom Plugins → Install from file or a file manager. - Check the preview: id, version, permissions, signing key fingerprint, icon.
- Install, restart NextGram when the code plugin asks for it, then check settings and actions.
- Disable and re-enable, uninstall with and without keeping data, and deny a permission to confirm the plugin handles
PermissionDeniedException. - Inspect logs:
adb logcat -s 'ngp/<plugin-id>'. - Confirm secret chats never show the contributions.
Common causes of a failed load: missing public no-arg constructor, class name mismatch with entrypoints.android, a bundled SDK class, a bundled Android resource, or DEX built for the wrong API level.
9. Submit to the catalog#
- Copy
templates/entry.jsontoplugins/<id>/entry.json. - Set the same
id,name,versionandversionCodeasplugin.json. - Add
icon.pngoricon.webpand optional screenshots underplugins/<id>/. - Set
sourceto the HTTPS repository at the released commit and keep a valid SPDXlicense. - Add the release:
{
"version": "1.0.0",
"versionCode": 1,
"tag": "com.example.hello-v1.0.0",
"asset": "com.example.hello-1.0.0.ngp"
}- Run:
python3 tools/validate_catalog.py- Open a pull request with the template. Do not attach the
.ngpto the pull request. - After merge, publish the GitHub Release in this repository with the exact tag and asset name. The
publish-indexworkflow downloads assets from this repository, not from your fork, and rebuildscatalog/index.jsonandcatalog/index.sig. First-partydev.nextgram.*plugins use therelease-pluginworkflow instead; it bumps the version, builds and signs the package, creates the release and runspublish-indexin one run.
Catalog entry limits: name 1-64, summary 1-200, at most 10 tags, at most 10 authors, icon at most 2 MB, screenshots at most 6 and 4 MB each, presentation.accent is #RRGGBB, presentation.cover is PNG or WebP. Unknown entry fields fail validation.
Updates: publish a new release with a higher versionCode, the same plugin id and the same signing key. A different key is rejected as E_KEY_MISMATCH; the user must uninstall first. The app shows the permission diff and never installs silently.
10. Rejection codes#
| Code | Usual cause |
|---|---|
E_MANIFEST | Missing field, wrong type, invalid ID, duplicate permission |
E_FORMAT | formatVersion is not 1 |
E_PERMISSION | Unknown or blocked permission |
E_PLATFORM | Code plugin without android in platforms |
E_PAYLOAD | Missing classes.dex or script/main.js |
E_DEX | Bad DEX magic, version outside 035-039, more than one DEX |
E_SIGNATURE | Missing, invalid or cross-key signature |
E_UNSIGNED | Unsigned package outside developer mode |
E_KEY_MISMATCH | Update signed by a different key |
E_DOWNGRADE | versionCode is not higher than the installed one |
E_TOO_LARGE | Package, entry, asset or ratio limit exceeded |
E_UNSAFE_PATH | .., absolute path, backslash, symlink, duplicate or non-NFC name |
E_DUPLICATE_ENTRY | The same ZIP entry appears twice |
E_UNSUPPORTED | A capability removed from this host build |
E_UNSUPPORTED_KIND | kind: "theme" was removed; ship a code plugin with ui.appearance |
E_UNSUPPORTED_API | api is not 1, minHost excludes the host, or the host lacks the capability |
11. Definition of done#
- [ ]
plugin.jsonmatches the schema and the catalog entry exactly. - [ ] The entry class is public, has a no-arg constructor and extends
AbstractNextGramPlugin. - [ ] Only implemented APIs and permissions are used.
- [ ] Appearance is applied with
AppearanceTheme; the package has notheme/payload. - [ ] Screen replacement handles rotation, back, insets, RTL and the protected-surface rules; it never imitates login, passcode, payments, secret chats, the installer, the plugin manager or safe mode.
- [ ] The dashboard, settings and actions work after a restart.
- [ ] Permission denial is handled without a crash.
- [ ] No secret chats, no Android components, no resources, no native code.
- [ ] The package is signed with the author key and
jarsigner -verifypasses. - [ ]
python3 tools/validate_catalog.pypasses. - [ ] The release tag and asset name match
entry.json, and the asset is attached to a release in this repository. - [ ] No keys, keystores or
.ngpfiles are committed.