Commit c4abc682 authored by Simon MacDonald's avatar Simon MacDonald
Browse files

Version 1.1.1

parent 97916c51
Loading
Loading
Loading
Loading
+1 −1
Changes for package.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
{
    "name": "phonegap-plugin-push",
    "description": "Register and receive push notifications.",
    "version": "1.1.0",
    "version": "1.1.1",
    "homepage": "http://github.com/phonegap/phonegap-plugin-push#readme",
    "repository": {
        "type": "git",
+1 −1
Changes for plugin.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
    xmlns:amazon="http://schemas.android.com/apk/lib/com.amazon.device.ads"
    xmlns:rim="http://www.blackberry.com/ns/widgets"
    id="phonegap-plugin-push"
    version="1.1.0">
    version="1.1.1">

  <name>PushPlugin</name>
	<author>Bob Easterday</author>
+1 −1
Changes for src/android/com/adobe/phonegap/push/GCMIntentService.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ public class GCMIntentService extends GCMBaseIntentService {
         */
        String gcmLargeIcon = extras.getString("image"); // from gcm
        if (gcmLargeIcon != null) {
            if (gcmLargeIcon.startsWith("http://")) {
            if (gcmLargeIcon.startsWith("http://") || gcmLargeIcon.startsWith("https://")) {
                mBuilder.setLargeIcon(getBitmapFromURL(gcmLargeIcon));                
                Log.d(LOG_TAG, "using remote large-icon from gcm");    
            } else {
+3 −1
Changes for src/android/com/adobe/phonegap/push/PushPlugin.java: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ import org.json.JSONObject;
import java.util.Iterator;

public class PushPlugin extends CordovaPlugin {
    private static final String COM_ADOBE_PHONEGAP_PUSH = "com.adobe.phonegap.push";

    public static final String LOG_TAG = "PushPlugin";

    public static final String INITIALIZE = "init";
@@ -72,7 +74,7 @@ public class PushPlugin extends CordovaPlugin {
            }

            if (jo != null) {
                SharedPreferences sharedPref = getApplicationContext().getSharedPreferences("com.adobe.phonegap.push", Context.MODE_PRIVATE);
                SharedPreferences sharedPref = getApplicationContext().getSharedPreferences(COM_ADOBE_PHONEGAP_PUSH, Context.MODE_PRIVATE);
                SharedPreferences.Editor editor = sharedPref.edit();
                try {
                    editor.putString("icon", jo.getString("icon"));