From 68ae34471febf879e5a102201cbfc76f7a4d0abf Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lemieux Date: Thu, 23 Jul 2015 17:44:22 -0400 Subject: [PATCH] Use code 103 in android plugin for invalid API key Changelog: - Use 103 code for invalid API Key now that Sample supports it Tests: - Using Sample app, validated that the code is understood by app an it shows the corresponding error message on screen for invalid api key --- src/android/BlinkUpPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/BlinkUpPlugin.java b/src/android/BlinkUpPlugin.java index b00eb48..0b4721a 100755 --- a/src/android/BlinkUpPlugin.java +++ b/src/android/BlinkUpPlugin.java @@ -58,7 +58,7 @@ public class BlinkUpPlugin extends CordovaPlugin { static final int ERROR_INVALID_ARGUMENTS = 100; static final int ERROR_PROCESS_TIMED_OUT = 101; static final int ERROR_CANCELLED_BY_USER = 102; - static final int ERROR_INVALID_API_KEY = 300; + static final int ERROR_INVALID_API_KEY = 103; static final int ERROR_VERIFY_API_KEY_FAIL = 301; // android only static final int ERROR_JSON_ERROR = 302; // android only