Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what does checkLanguage do ( android ) #103

Open
grimace opened this issue Sep 21, 2019 · 0 comments
Open

what does checkLanguage do ( android ) #103

grimace opened this issue Sep 21, 2019 · 0 comments

Comments

@grimace
Copy link

grimace commented Sep 21, 2019

I managed to get plugin rebuilt including export for checkLanguage. When I call it, I get no results. I'm calling it like this:

    this.platform.ready().then(() => {
          console.log('calling checkLanguage...');
          tts.checkLanguage().then(function(response) {
            console.log('checkLanguage - success : '+response);
          },function(error) {
            console.log('checkLanguage - error : '+error);
          });
    });

all I ever see in the log is:
calling checkLanguage...
from what I can see ( in the source ) checkLanguage calls:

    tts.getAvailableLanguages();

but I don't see any reference to this anywhere else in the code. Could you explain what should be happening?

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant