NimarkoGram Docs
RU
Docs/Troubleshooting

Troubleshooting

Diagnose installation issues and missing menu items.

On this pageThe file opens as textThe install card reports an incompatibilityInstalled, but the button is missingA plugin stopped loadingAn update created a second plugin

The file opens as text

Check the full attachment name. It must end in .plugin. Some editors append .txt when saving. In Saved Messages, tap the document attached to the message.

The install card reports an incompatibility

Check __host__, __sdk_version__ and __app_version__. For the NimarkoGram SDK, use __host__ = "NimarkoGram" with __sdk_version__ = ">=1.0" when your code supports that level. Android, the client and the plugin SDK each have their own version number.

Installed, but the button is missing

Check that both the engine and the individual plugin are enabled. For the tutorial example, open the plugin’s own settings: its button comes from create_settings(). For the menu example, open the actions menu inside a chat. Check where the plugin calls add_menu_item.

A plugin stopped loading

Check safe mode in the engine settings. Safe mode suspends plugins. If the problem started after updating a particular file, disable that plugin, correct it and enable it again. When a crash report is available, check the plugin name and the first error. Keep private messages out of public reports.

An update created a second plugin

Compare the two __id__ values, including capitalization. Change __version__ for a release and keep the identifier stable.