Disable System Notification in IOS
Question
Application Type
Mobile
Service Studio Version
11.14.12 (Build 59645)

I need to disable the ios system notification popup in my app.

I tried to configure the extensibility configurations with the settings bellow: 

"{

    "plugin": {

        "url": "https://github.com/apache/cordova-plugin-screen-orientation"

    },

    "preferences": {

        "android": [

            {

                "name": "AndroidLaunchMode",

                "value": "singleTask"

            },

            {

                "name": "AndroidXEnabled",

                "value": "true"

            }

        ],

        "ios": [

            {

                "name": "UNNotificationSetting",

                "value": "disabled"

            }

        ]

    }


}"

But it doenst worked.

Thanks in advanced for your help.

Regards

Dear Marcio,
Greetings of the day

Please note that the system notification is asking for the permission which is configured in the app and certificates.
While generating the iOS app certificate, if you don't select the push notifications capabilities for your app, this notification will not come.

Inconsideration of your settings need for iOS, I noticed that the value UNNotificationSetting is accepting Int as per this Apple Developer Website post. 

Kindly try with 0 or "0" and check whether its working or still the same.

Let us know your thoughts.

Regards,

Palak Patel

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.