clearsightstudio/ProMotion — pull request #302 by balvig (2013-09-19 16:37:18+00:00)
Title: was_launched should return true when app is launched from background

Possibly I'm not interpreting the `was_launched` variable the right way so correct me if I'm wrong! :laughing:

It seems to me you would want `was_launched` to return `true` when clicking an incoming notification if the app is not already on screen, so you can properly handle for ex. sending the user to the correct screen when the app comes back on screen.

This pull request changes it so `was_launched` only returns `false` if the app is already on screen (and therefore "not launched") when the notification is received, and returns `true` whenever the app is brought on screen by clicking a notification.