Metadata-Version: 2.4
Name: nimarko-blocker
Version: 1.0.1
Summary: Blocks unofficial Nimarkogram client with an undismissable bottomsheet
Author: shareui
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# nimarko-blocker

A pip package for exteraGram/AyuGram plugins. Detects the Nimarkogram client (`app.nimarkogram.messenger.web`) and shows an undismissable bottomsheet warning the user to install the original exteraGram client.

## Usage

Add the package to your plugin's requirements and call `block_nimarko()` on load:

```python
__requirements__ = ["nimarko-blocker"]

class MyPlugin(BasePlugin):
    def on_plugin_load(self):
        from nimarko_blocker import block_nimarko
        block_nimarko()
```

That's it. If the current app package matches the Nimarko client, a bottomsheet will appear after 800ms with a 5-second countdown. After the countdown the user can tap the button to open https://t.me/exteraReleases in their default browser. The sheet cannot be closed by back button, swipe, or touch outside.

> Please do not install a static version of the package via `==`, I will update the application package if it changes.