Skip to content

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

Description

@RichardValadares

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions