From 40b3b2667daa6057ccdc48a4562d603de1e93308 Mon Sep 17 00:00:00 2001 From: "burke.davey" Date: Thu, 12 May 2011 20:43:35 +0000 Subject: [PATCH] Prepare for server push; bump extension version number (note that 2.2.0 of extension never launched; now extension and Android app version in sync - should keep it this way in future) --- .../android/apps/chrometophone/AppEngineClient.java | 2 +- extension/manifest.json | 2 +- extension/send_logic.js | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/android/src/com/google/android/apps/chrometophone/AppEngineClient.java b/android/src/com/google/android/apps/chrometophone/AppEngineClient.java index d9380c4..b73b8ba 100644 --- a/android/src/com/google/android/apps/chrometophone/AppEngineClient.java +++ b/android/src/com/google/android/apps/chrometophone/AppEngineClient.java @@ -45,7 +45,7 @@ import android.util.Log; * AppEngine client. Handles auth. */ public class AppEngineClient { - static final String BASE_URL = "https://9.chrometophone.appspot.com"; + static final String BASE_URL = "https://chrometophone.appspot.com"; private static final String AUTH_URL = BASE_URL + "/_ah/login"; private static final String AUTH_TOKEN_TYPE = "ah"; diff --git a/extension/manifest.json b/extension/manifest.json index 2fa0b7c..5711803 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_app_name__", "description": "__MSG_app_desc__", - "version": "2.2.0", + "version": "2.3.0", "default_locale": "en", "icons": { "16": "icon_16.png", diff --git a/extension/send_logic.js b/extension/send_logic.js index d8e895f..315cacf 100644 --- a/extension/send_logic.js +++ b/extension/send_logic.js @@ -26,10 +26,11 @@ if (deviceRegistrationId == undefined || deviceRegistrationId == null) { // use javascript console var host = localStorage['c2dmHost']; if (host == undefined) { - // This won't work very well, there is a cert validation issue (cert - // is for *.appspot.com ), workaround is to open the URL in the browser - // and accept the cert warnings. - host = "9.chrometophone.appspot.com"; + // This won't work very well if the URL is x.chrometophone.appspot.com, + // there is a cert validation issue (cert is for *.appspot.com ), + // workaround is to open the URL in the browser and accept the cert + // warnings. + host = "chrometophone.appspot.com"; } var baseUrl = 'https://' + host; var sendUrl = baseUrl + '/send?ver=' + apiVersion;