Added support for native alerts through api