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 188.8.131.52 release ready!
Owner and Founder. Opencart
From Xcode 11.4 and onward we can test push notifications in the simulator. In this blog, we will use the two methods to test the notification.
First, we need to find the simulator identifier on which our application is installed. To find the simulator identifier we will open the terminal and run the below code.
When we execute this code, then all the installed simulators with their identifier will show. From here we will find the identifier of our simulator.
Now we will create a JSON file. In this file, we will create valid payload data. And saved it with .apns extension. Put the below code in the file and save it as anyname.apns.
I have saved it as payload.apns
Here, “com.test.webkul” is my project bundle identifer.
We will now trigger the push notification. Simply write the below code in the terminal and execute it.
In this approach, we will simply drag and drop our payload.apns file to the simulator. As soon as we did this we can see a notification on the simulator.
You can also check other blogs from here. if you have any issues or suggestions you can leave your query/suggestion in the comment section.
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.
Be the first to 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.