You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A weird is bug is coming up on specific iphone models (only). If the UNUserNotificationCenter settings permission is denied by the user, then swiftentrykit just stops working. This is not happening on all iphones and ios versions.
My understanding was swiftentrykit should not be dependant on the UNUserNotificationCenter as these both things are different.
Currently it is happening on iphone 11 pro which is running ios version 14.4.1
To Reproduce
Steps to reproduce the behavior:
Code UNUserNotificationCenter permission asking function
Deny the notification permissions on the alert
Show any Swiftentrykit popup when the UNUserNotificationCenter's settings is denied
Swiftentrykit popup will not get shown
Expected behavior
Swiftentrykit popup should be shown on any UNUserNotificationCenter's settings as they should not be linked.
Screenshots
iPhone (please complete the following information):
Device: iphone 11 pro
iOS Version: 14.4.1
Xcode Version Version 12.5 (12E262)
cocoapods-1.10.2
'SwiftEntryKit', '1.2.7'
Additional context
This is only happening on iphone 11 pro, but not happening on iphone 6s
The text was updated successfully, but these errors were encountered:
Hi Saqib. This issue is reproducing also when we denied the Photos Permission iOS Default Dialog Alert. I found a work around, if we add a little delay of 0.5 seconds its working, but definitely its not a good solution. I hope SwiftEntrykit resolve this issue in the next update:
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
//Call your alert here
}
Describe the bug
A weird is bug is coming up on specific iphone models (only). If the UNUserNotificationCenter settings permission is denied by the user, then swiftentrykit just stops working. This is not happening on all iphones and ios versions.
My understanding was swiftentrykit should not be dependant on the UNUserNotificationCenter as these both things are different.
Currently it is happening on iphone 11 pro which is running ios version 14.4.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Swiftentrykit popup should be shown on any UNUserNotificationCenter's settings as they should not be linked.
Screenshots
iPhone (please complete the following information):
Additional context
This is only happening on iphone 11 pro, but not happening on iphone 6s
The text was updated successfully, but these errors were encountered: