Skip to content

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

@RichardValadares

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?

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