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

How is it possible to read Toast text? #131

Open
templatetuners opened this issue Sep 10, 2019 · 0 comments
Open

How is it possible to read Toast text? #131

templatetuners opened this issue Sep 10, 2019 · 0 comments

Comments

@templatetuners
Copy link

For example in android, we have another plugin that runs this:

Toast.makeText(cordova.getActivity(), "Connect Success", Toast.LENGTH_LONG).show();

and maybe the plugin uses native android Toast import android.widget.Toast;

Is it possible to have something like this?

var androidToast = x; // need this
if(androidToast  === "Connect Success") {
    runFunction();
}
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