dialogflow / dialogflow-cordova-client

Cordova library for Dialogflow
Apache License 2.0
42 stars 23 forks source link

Not going inside any function #22

Open hybridapp20161 opened 8 years ago

hybridapp20161 commented 8 years ago

Hi, We are using your plugin for speech recognition to develop cordova ios app. Implemented this function ApiAIPlugin.init( { clientAccessToken: "YOUR_CLIENT_ACCESS_TOKEN", // insert your client access key here lang: "en" // set lang tag from list of supported languages }, function(result) { / success processing / }, function(error) { / error processing / } ); What would be clientAccessToken?From where we can get it? also when we are using sendVoice() function, compiler is not going inside it jump outside.

Environment which we are using:

cordova: 6.3.1 cordova ios: 4.2.1

Xcode: 8.1 (8B62) Swift Compiler version: 3

iOS device: iPhone5(iOS 10.1.1)(14B100) IOS:OS X EI Capitan..10.11.6 (15G1004)

Please provide us your demo application link from where i can download. Kindly help.

hybridapp20161 commented 8 years ago

Hi, Application is working on lower version of xcode,but it show error (voice.detection.error Code=1) when install on real device.

Kindly help.

sstepashka commented 8 years ago

hi @hybridapp20161,

I have reproduced this issue. Yes, this is appearing only for iOS 10, I'll try to fix it...

hybridapp20161 commented 8 years ago

Hi sstepashka, we tried on ios 9.3.4 and xcode 6.4 ,but it show error (cannot parse response) when run on real device.If possible please share the screenshot on your running app on device.

Any help would be very appreciated :)

hybridapp20161 commented 8 years ago

Hi sstepashka, Could you get any solution for the mentioned issue?