api.ai is one of the verified apps in the marketplace. I understand there are limitations in the simulator and the companion app and I've been testing on an a samsung galaxy phone running android 5.1.1
I can't figure out what the plug-in should be referenced as. Nothing I've tried in the documentation seems to work.
I've tried just ApiAIPlugin.init (from the telerik cordova docs)
I get: Reference error
and cordova.plugins.apiAiSDK.init (which I found elsewhere)
I get: TypeError: Cannot read property 'apiAiSDK' of undefined, which means that cordova.plugins does not exist in the build.
Neither seems to work. So I really don't know how to reference the plugin now that I've got it included in the app, or for that matter if it really is in the app. I did include it in the managed plugins section. So either the doc's are wrong or I'm missing something really basic here.