Open gkravas opened 2 years ago
I am unable to reproduce this issue but I also do not own a physical iPad.
I tried testing on a simulator but the lowest version it has was 15.5.
I also testing with the latest release of this plugin 5.0.0.
With the following example, the permission dialog appeared.
const push = PushNotification.init({
android: {},
ios: {
alert: true,
badge: true,
sound: true
}
});
Bug Report
When I request push notification permission dialog on iPadOS 15.0.2 the dialog doesn't show and I cannot enable push notifications. The code works fine on iPads below version iPadOS 15.0.2. It also works on all iOS versions til now (15.3.1).
Platform and Version
iPadOS 15.0.2
cordova info
PrintoutCordova Packages:
Project Installed Platforms:
Project Installed Plugins:
Environment:
ios Environment:
Xcode 13.2.1 Build version 13C100
Project Setting Files:
<?xml version="1.0" encoding="UTF-8"?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "gr.macropolis.apps.macropolis" version = "1.0.13">
--- Start of Cordova JSON Snippet --- { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-inappbrowser": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-network-information": {}, "cordova-plugin-dialogs": {}, "cordova-plugin-badge": {}, "cordova-plugin-x-socialsharing": { "PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly." }, "@havesource/cordova-plugin-push": { "IOS_FIREBASE_MESSAGING_VERSION": "~> 6.32.2" }, "cordova-support-google-services": {} }, "variables": { "SENDER_ID": "1884942702" }, "platforms": [ "android", "ios" ] }