Skip to content

Commit

Permalink
success response on non-existing key
Browse files Browse the repository at this point in the history
  • Loading branch information
apla committed May 27, 2015
1 parent 7f329d3 commit ff52c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/AppPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ private boolean fetchValueByKey(final String key, final CallbackContext callback
// JSONObject jsonValue = new JSONObject((Map) obj);
callbackContext.success(returnVal);
} else {
callbackContext.error(0);
// Log.d("", "no value");
callbackContext.success(null);
// callbackContext.sendPluginResult(new PluginResult ());
}

Expand Down

0 comments on commit ff52c73

Please sign in to comment.