Skip to content

Commit

Permalink
Change name of method according to new Android SDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil Skachkov committed Feb 7, 2015
1 parent 8f93244 commit b2f10d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/ApiAiPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public void init(final JSONObject argObject, CallbackContext callbackContext) {
lang,
AIConfiguration.RecognitionEngine.System);

config.setDebug(debugMode);
config.setExperimental(debugMode);

aiService = AIService.getService(this.cordova.getActivity().getApplicationContext(), config);
aiService.setListener(this);
Expand Down

0 comments on commit b2f10d5

Please sign in to comment.