2

enter image description here enter image description here

As you can see from these images, it makes 7 notifications. I do not want this. Here is my code:

public class Application extends android.app.Application {


    public Application() {
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Parse.setLogLevel(Parse.LOG_LEVEL_VERBOSE);

        // Initialize the Parse SDK.
        Parse.initialize(this, "yovKfUASIkl14OmRLMT5sXSJvrySDoS8MLwJ7pAA", "mnVmfBTnSzYneOxuf3jUiRKNs9P53ipsdkSwt5dq");


        // Specify an Activity to handle all pushes by default.

        PushService.setDefaultPushCallback(this, SplashActivity.class);
        ParseInstallation.getCurrentInstallation().saveInBackground();
    }
}
nicael
  • 18,550
  • 13
  • 57
  • 90
Finley Smith
  • 1,599
  • 2
  • 11
  • 15
  • So, apart from telling us, what have you done to debug this? –  Jul 05 '14 at 21:44
  • Well, i have made sure i have the latest parse version. I have also tried to make sure i have it initazled only once, and have tried it out on many devices @MikeW . Sorry that i forgot to say that! – Finley Smith Jul 05 '14 at 21:52

1 Answers1

1

There is a known bug in Parse Android where duplicate installation objects are created when the app is re-installed on the same device. As a result, you see duplicate push notifications on the same device.

You can subscribe to the bug updates here, https://developers.facebook.com/bugs/1520221558200050/

satyadeepk
  • 351
  • 3
  • 9