Type String Event notification Revision Release 2020.3601 Keywords notification, applicationState
String indicating the state of the application when the notification was received.
"active"indicates that the application was running at the time.
"inactive"indicates that the application was suspended or closed at the time.
-- The launch arguments provide a notification event if this app was started when the user tapped on a notification local launchArgs = ... if ( launchArgs and launchArgs.notification ) then print( launchArgs.notification.type ) print( launchArgs.notification.name ) print( launchArgs.notification.sound ) print( launchArgs.notification.alert ) print( launchArgs.notification.badge ) print( launchArgs.notification.applicationState ) end