Skip to content

Commit 34ccb16

Browse files
committed
Remove comment
1 parent 631ea42 commit 34ccb16

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

com.onesignal.unity.ios/Runtime/Plugins/iOS/OneSignalUnityBridgeNotifications.mm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ int _notificationsGetPermissionNative() {
125125
return [OneSignal.Notifications permissionNative];
126126
}
127127

128-
// bool _notificationsGetCanRequestPermission() {
129-
// return [OneSignal.Notifications canRequestPermission];
130-
// }
131-
132128
void _notificationsClearAll() {
133129
[OneSignal.Notifications clearAll];
134130
}

com.onesignal.unity.ios/Runtime/iOSNotificationsManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ namespace OneSignalSDK.iOS.Notifications {
4040
internal sealed class iOSNotificationsManager : INotificationsManager {
4141
[DllImport("__Internal")] private static extern bool _notificationsGetPermission();
4242
[DllImport("__Internal")] private static extern int _notificationsGetPermissionNative();
43-
//[DllImport("__Internal")] private static extern bool _notificationsGetCanRequestPermission(); // iOS only for now
4443
[DllImport("__Internal")] private static extern void _notificationsRequestPermission(bool fallbackToSettings, int hashCode, BooleanResponseDelegate callback);
4544
[DllImport("__Internal")] private static extern void _notificationsClearAll();
4645
[DllImport("__Internal")] private static extern void _notificationsAddPermissionObserver(PermissionListenerDelegate callback);

0 commit comments

Comments
 (0)