I am using Etcetra Plugin for scheduling local notifications and its working fine. I'm wondering if I can specify banner with notification so it looks like this :
I have tried it with Remote Push notifications and it worked but I'm unable to see any function or parameter to specify banner with prime31 plugin. Any idea?
Here is the structure of Prime31 local notification
public int scheduleNotification(long secondsFromNow, String title, String subtitle, String tickerText, String data, int requestCode)
{
Activity context = getActivity();
Intent intent = new Intent(context, AlarmManagerReceiver.class);
intent.putExtra("title", title);
intent.putExtra("subtitle", subtitle);
intent.putExtra("tickerText", tickerText);
intent.putExtra("data", data);
intent.putExtra("contextClassName", getActivity().getClass().getName());
intent.putExtra("requestCode", requestCode);
PendingIntent pendingIntent = PendingIntent.getBroadcast(context, requestCode, intent, 134217728);
AlarmManager alarmManager = (AlarmManager)context.getSystemService("alarm");
alarmManager.set(1, System.currentTimeMillis() + secondsFromNow * 1000L, pendingIntent);
return requestCode;
}
Any idea how to assign banner here? please excuse me as I have no idea about Android native code.