Repository URL to install this package:
|
Version:
0.0.3 ▾
|
package com.vipera.pushproxy;
import android.os.Bundle;
import java.util.List;
/**
* Created by marcobonati on 22/05/2017.
*/
public class DEGCMIntentService extends com.adobe.phonegap.push.GCMIntentService {
public DEGCMIntentService(){
super();
}
@Override
public void onMessageReceived(String from, Bundle extras) {
List<DEPushNotificationHandler> handlers = DEPushNotificationHandlerRegistry.getInstance().getHandlers();
for (DEPushNotificationHandler handler:handlers){
try {
if (handler.canHandleMessage(from, extras)){
return;
}
} catch (Throwable th){
//TODO!! log
}
}
super.onMessageReceived(from, extras);
}
}