I’m using local notification for my app. It’s working perfectly instead of one problem, that is the notifications cannot be fired when the app is not running (swipe from recent apps). So I consider integrating Push notifications to my app as well and now I’m confused with following ideas, hope someone could make it clear for me:
Is push notification the only way to show my app’s notifications to device when the app is not running ? Could local notifications somehow do that ?
If I integrate both push notification and local notification, would they conflict each other ? Do push notification have method to detect the app’s state, so I can only fire push notification when the app is not running, otherwise I will use local notification as normal.
Or, Is integrating only push notification enough ? ( But I still prefer using local notification whenever I could because I don’t have to depend on other service but using the device to show notification on it own)