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

Lag when loading Dialogflow_V2.setConfiguration() #59

Open
eggybot opened this issue Nov 6, 2018 · 2 comments
Open

Lag when loading Dialogflow_V2.setConfiguration() #59

eggybot opened this issue Nov 6, 2018 · 2 comments

Comments

@eggybot
Copy link

eggybot commented Nov 6, 2018

Hi @spoeck I notice that when I add dialogflow within a tab screen, there is a 4 to 8 second delay before it shows the screen for the chat. If I switch to V1 it load fast but for V2 it seem that it took sometime to actually load a screen when Dialogflow_V2.setConfiguration() is initiating. Have you experience this one?

thanks,

@sibelius
Copy link
Contributor

sibelius commented Nov 6, 2018

you can use this https://facebook.github.io/react-native/docs/interactionmanager, to let the navigation animation happens, and then you can initialize dialog flow

@eggybot
Copy link
Author

eggybot commented Nov 7, 2018

@sibelius
tried it but still has issue on Android device. Also if I enable RN debugger it run smooth for android but if if disabled or I rebuild the apk release file the issue still there. For iOS there is no delay on loading the screen just in android device only.

thanks,

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

2 participants