2

I'm trying to find a way to show a custom notification view while app isn't running or device is locked. Is it possible to show custom notification alert for both android and iOS using Appcelerator Titanium ? I'm sharing a image that i want to show as notification message for the user when app is in background or locked mode.

enter image description here

Peter Kriens
  • 15,196
  • 1
  • 37
  • 55
Nuibb
  • 1,800
  • 2
  • 22
  • 36

1 Answers1

1

Such a window is not possible with a local notification that are triggered by the system itself. On Android you have some possibilities to change a notification e.g. like this:

notification

but the image you are showing is more like an AlertDialog is showing inside the app.

To trigger a notification reminder you can have a look at https://github.com/benbahrenburg/benCoding.AlarmManager (Android). Still this will trigger a normal system notification.

miga
  • 3,997
  • 13
  • 45