Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 22.214.171.124 release ready!
Owner and Founder. Opencart
iOS App is running in 2 mode either the user is interacting with app (foreground) or minimize the app (background). if we are talking about the firebase push notification then we have to handle by other way because iOS 10 to above provide the custom local notification for handling this type of issue when app is running in foreground.
Here I have taken the example of Firebase Push Notifaction.
1: First Set up firebase Push notification in App.
2: Open Appdelegate.swift File:
write this Code for checking the App is running on iOS 10 to above or less .
3: It will Check weather your app is running in iOS 10 to above or less if iOS app is running on iOS 10 or above then it will assigned the local push notification for handle the foreground app.
4: Now return the local push notification type like this:
Note: UNNotificationPresentationOptions.alert – it will return a alert.
5: It will work when your app is running on foreground and someone send the notification .
6: Now we have to handle the Tap also for this write this function
Note: This method will call when the user tap on foreground Notification.
7: Fire base also provide the other function for iOS 10 to above if token expire , for this write this method to handle this type of case.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.