GithubHelp home page GithubHelp logo

I have problem with message.reply(welcomeMsg) on iOS when app in background and run as profile or release mode. Plz help to check and improve on this! about teledart HOT 5 CLOSED

sophanitkong avatar sophanitkong commented on August 17, 2024
I have problem with message.reply(welcomeMsg) on iOS when app in background and run as profile or release mode. Plz help to check and improve on this!

from teledart.

Comments (5)

DinoLeung avatar DinoLeung commented on August 17, 2024

@sophanitkong can you provide sufficient info such as code snippet, expected behaviour and actual behaviour to this issue? Not to mention this library is not intended to support flutter. I will be closing this issue next week if no further information is given.

from teledart.

sophanitkong avatar sophanitkong commented on August 17, 2024

@DinoLeung

  1. on iOS:
    teledart
    ..onCommand("start").listen((message) {
    /*
    This block work only on Android
    */
    message.reply(successMsg);
    setValueChatAttribute(message);
    showSuccessLinkedTelegram();
    })
    ..onCommand("showmyid").listen((message) {
    message.reply("Your Telegram Group ID: $chatId");
    });
    Code in this block is not execute. In android it execute as expected.
  2. on iOS:
    teledart
    ..onMessage()
    .listen((message) {
    message.reply(successMsg);
    })
    This code execute only in Debug mode, but if I run it on Profile or Release mode is not work when app is in background.

from teledart.

DinoLeung avatar DinoLeung commented on August 17, 2024

@sophanitkong which updates fetching method are you using?

from teledart.

sophanitkong avatar sophanitkong commented on August 17, 2024

@DinoLeung I don't understand your question since the code I have added above is what I am using, I don't use any update methods. Moreover, according to document provided by library is I don't see the suggestion of using update methods.

from teledart.

sophanitkong avatar sophanitkong commented on August 17, 2024

@DinoLeung Updated, You should update the document on this library with iOS configuration since iOS need to add capability background modes. If not it is only work in Android.

from teledart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.