Non vibrating push notifications in-app but not outside of the app - ios

I am trying to have push notifications which do not vibrate within the app, but if the app is in background mode and I get a push notification my phone still vibrates. How can I do this, thanks

Related

React Native - All notifications clear out from the notification tray on launch of app

I am using PushNotificationIOS for my iOS app notifications handling.
When the app is in background and I get notifications they show up in the tray. But when I open the app(either by tapping on notification or the app icon) all the notifications get cleared from the tray.
Found this link that says this happens due to setting the applicationIconBadgeNumber to 0. But I am not doing it anywhere in my app.

iOS 11.2 delivered notifications from notification centre don't remove

I have been using removeDeliveredNotificationsWithIdentifiers: and removePendingNotificationRequestsWithIdentifiers methods to remove local notification from the notification centre.
It has been working perfectly until I updated my device to iOS 11.2.2, Notification remain in the notification centre. If I run getDeliveredNotificationsWithCompletionHandler, it returns an empty array.
After executing removal command from the code, if remove one notification of the app from the tray, rest of the notifications of the same app get removed as well.
Each notification has a different identifier.
I have another device which has 11.1, notifications are being removed perfectly on this device.

Push notifications don't appear when iOS is on lock screen

I am having a problem letting the OS show the default push notification banner while the app is running but behind the lockscreen.
Test Case:
Open the app.
Press on the power button.
Send a push notification from the server.
Current Behaviour:
The phone's screen just turns on.
No notification banner appearing on the screen.
Expected Behaviour:
OS Notification banner to appear on the screen.
Tested on:
iOS 9 & 10
NB. Push notifications are sent, delivered & displayed otherwise than the above test case..

how to trigger notification from iPhone on iWatch

A noob question. I want to receive a notification when variable changes on the iOS app. to be clear. I want show notification on iWatch app when for example the user presses a button on the iOS App.
I have seen many tutorials for using the notifications interface. but all of them doesn't specify how to trigger the notifications from iPhone.
Anyone who knows a proper guide?
Thank you
Your notifications will go to your iPhone or your Apple Watch, depending on the device that you're using.
iOS will take care of notifications if your ios app supports notifications.
If your iPhone is unlocked, you get notifications on your iPhone, instead of your Apple Watch.
If your iPhone is locked or asleep, and your Apple Watch is unlocked and on your wrist, you get notifications on your Apple Watch.

App with local notifications not appearing in Notification Center list in Settings

So I just got a complaint from a user saying they were not receiving any notifications from my app. I asked them to go into the Settings app -> Notification Center and check to see if alerts from the app were toggled on. (Banners, Badge app icon, Sounds, Show in notification center, show in lock screen)
Surprisingly, he mentioned that the app wasn't even in the list of apps in the Notification Center. This is weird because on my device, and all devices I've tested with, the app is listed under Notification Center and notifications work fine. How could this possibly happen?
Also, keep in mind that my app only uses local notifications, not push notifications.

Resources