tele_catcher 1.1.1 copy "tele_catcher: ^1.1.1" to clipboard
tele_catcher: ^1.1.1 copied to clipboard

Catch your errors and send it to telegram

Features #

Catch your errors and send it to telegram

Getting started #

Add tele_catcher to your pubspec.yaml

dependencies:
  tele_catcher: ^1.1.0
dependencies:
  tele_catcher:
      git: https://github.com/alejandrogiubel/tele_catcher

Usage #

First you need to create a telegram bot with BotFather in order to get the bot token, them you can start the bot in private chat or group chat. In order to get the chat id read https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id

Init tele_catcher in your main function

await TeleCatcher.start('1111111111:aqwdergydsghbnhytyjuhf304-dkmtihndeyu58', 000000000);

Send report

TeleCatcher.sendError('This is a simple message');

If you want a global error catcher and send the report to TeleCatcher

FlutterError.onError = (details) {
    TeleCatcher.sendError(details.toString());
  };

Additional information #

PR are welcome

2
likes
140
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Catch your errors and send it to telegram

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

package_info_plus, teledart

More

Packages that depend on tele_catcher