react-native-dialogflow
react-native-dialogflow copied to clipboard
Lag when loading Dialogflow_V2.setConfiguration()
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,
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
@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,