Do not process push notifications if the app was on the foreground. Added this check into the SDK too, currently on the docs to be written in the app code
Merge pull request #14 from Swrve/6027-ios-add-app-state-check

6027 iOS check app state in SDK