Hello Stackoverflowers!
Before I embark on a small change to my app, I would like to know if an iOS device in kiosk mode can receive a remote notification (of the same app that's in the kiosk mode)?
Thanks!
Tomiris
Related
I work on an app for iOS and watchOS. The watch app is independent but users will be able to use it side-by-side to the iPhone app, synced via iCloud.
The iOS app includes a daily reminder (via UNUserNotificationCenter) to open the app, the notification shows up on both devices (as usually with all other apps).
But what if the user only downloads the watch version of the app? I scheduled the same local notifications I have in the iOS app into the watch app, too.
Now, the iPhone gets the notification, and the watch gets two notifications.
How can I manage to get the iPhone notification only on the user's iPhone so that the Apple Watch does not receive two notifications? Or is there a smarter solution?
Thanks in advance
is it possible to create an ios app that will run in the background and detect wifi ssid changes and report to a remote server ?
The app should auto start on device startup.
I dont need the app to be approved for the app store
Will Push Notifications get displayed on the Apple Watch simulator ?
I have run an app that displays push notifications on iPhone 5C. An Apple Watch app is made as a target of this app.
I usually get Push Notifications on this iPhone 5C while any movement is made in front of a live streaming camera. So is it possible to display the same on Apple Watch Simulator?
No push notifications require a device token, which is not available on the simulator.
You will receive this message: "remote notifications are not supported in the simulator"
You need to test on device, to test Push Notifications.
You can use this library to simulate remote notifications though: https://github.com/acoomans/SimulatorRemoteNotifications
Using iCloud I'm syncing my app data through all of the user's Apple devices.
The problem is that the user can create himself an alert and I want to do that if the user created a notification in the iPad, he would get the notification in the iPhone also, without the need of opening the app in the iPhone (to sync iCloud changes). I want the iCloud to sync in the background, only for the notifications thing.
Also, when a user gets a notification and opens the app in his iPad, the notification should be removed from all of his other Apple devices, it should be not seen in the notification center.
Is that even possible? Thanks a lot!
The only way for your app on the iPad to deliver a notification to the iPhone, assuming the app isn't already running on the iPhone, would be for the app to make a call to a server that would send an APNS notification to the iPhone.
As far as removing the notification, you have this sort of control over local notifications, but not over remote notifications. I don't believe there's any way with APNS to remove the notification from the other devices.
I need to install an enterprise app through MDM.
My MDM implementation generally works.
But if I use the guided mode, the push notifications aren't delivered to the devices running in guided mode so the app won't be installed. Why?
Is this generally possible?
Is there a way to install an app in a silent enforced way (without the "The server will install application... do you want it?" alert).
I actually need an update process like following:
App x is running, but needs to be updated. Because it is a kiosk device (iPad running the app x in guided mode), it should happen automatically without user interaction. There may be interaction by a customer using that kiosk device.
The app x is closing itself and changes to app y that shows a lock screen "Maintenance, please wait..." (i.e. a notification from my server and through a trick with [[UIApplication sharedApplication] openURL:xxx])
App x has been closed in step 2 is updating by MDM in background.
App x has finished being updated.
A signal will be send to app y so it will switch back to the updated app x.
The switching between x and y can be implemented directly into the code. This is not a problem.
But I stuck in sending the push notification that initiates this process. :-(