I have implemented a NEPacketTunnelProvider in my app, which sends local notifications to the user when the server is down. While the notifications are displayed successfully, I encountered an issue when changing the system locale settings on iOS. Specifically, the notifications still display in the previous locale, even after the system locale has been changed. The locale of the notifications only updates if I restart the device.
I am currently using Locale.current for setting the locale in my notifications. I have also tried using Locale.preferredLanguages, but it seems that the locale does not properly update in real-time.
Post
Replies
Boosts
Views
Activity
I'm facing the following issue when trying to change the management state of an already installed application on iOS 14 and iOS 15.
If the signature of the application is development or ad-hoc, when I try to manage the applications, it seems to try to install the App Store version. This behavior is not happening on iOS 16. The question is: Is there a way to avoid updating the application and change the state to manage only on iOS 14 and iOS 15?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Command</key>
<dict>
<key>RequestType</key>
<string>InstallApplication</string>
<key>Identifier</key>
<string>my.app.com</string>
<key>ChangeManagementState</key>
<string>Managed</string>
<key>InstallAsManaged</key>
<true/>
<key>ManagementFlags</key>
<integer>1</integer>
</dict>
<key>CommandUUID</key>
<string>01234567-89ab-cdef-0123-456789abcdef</string>
</dict>
</plist>