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

react-native-dialogflow with Redux and Redux-Thunk #81

Open
RichardValadares opened this issue Mar 26, 2020 · 0 comments
Open

react-native-dialogflow with Redux and Redux-Thunk #81

RichardValadares opened this issue Mar 26, 2020 · 0 comments

Comments

@RichardValadares
Copy link

RichardValadares commented Mar 26, 2020

The app shows an error when trying to generate the token on the line:
dialogflow2.accessToken = await dialogflow2.generateAccessToken (clientEmail, privateKey);
using redux and redux-thunk.

I believe it is because the token generation is synchronous.

When I call the component directly, without going through redux, the application works perfectly.

Can you help me with that?

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