diff --git a/OneSignal.podspec b/OneSignal.podspec
index 9eb440c29..d2ee4fd37 100755
--- a/OneSignal.podspec
+++ b/OneSignal.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OneSignal"
- s.version = "3.11.2"
+ s.version = "5.0.0-alpha-01"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
diff --git a/OneSignalXCFramework.podspec b/OneSignalXCFramework.podspec
index 104682881..d29824a19 100644
--- a/OneSignalXCFramework.podspec
+++ b/OneSignalXCFramework.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OneSignalXCFramework"
- s.version = "3.11.2"
+ s.version = "5.0.0-alpha-01"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
diff --git a/Package.swift b/Package.swift
index cb18b4cee..a1610f2fb 100644
--- a/Package.swift
+++ b/Package.swift
@@ -76,38 +76,38 @@ let package = Package(
),
.binaryTarget(
name: "OneSignalFramework",
- url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.2/OneSignalFramework.xcframework.zip",
- checksum: "e9cf7ebef15ab8757e6e9c95d359998f018f4de381944f4cc62bc4c25d1cdb9d"
+ url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-01/OneSignalFramework.xcframework.zip",
+ checksum: "4f50e9587156902b31d7141860252585203b695d1021e6e4ab0043e06a155a9a"
),
.binaryTarget(
name: "OneSignalUser",
- url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.2/OneSignalUser.xcframework.zip",
- checksum: "6378ad0fdba2e485274b87b192d0c6419f37e92bd33d9a2f7993b9c5e137b94f"
+ url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-01/OneSignalUser.xcframework.zip",
+ checksum: "7765bba3068471b937f334f430c52b3db896454804374b4f5f9e7ae318215cb2"
),
.binaryTarget(
name: "OneSignalNotifications",
- url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.2/OneSignalNotifications.xcframework.zip",
- checksum: "6378ad0fdba2e485274b87b192d0c6419f37e92bd33d9a2f7993b9c5e137b94f"
+ url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-01/OneSignalNotifications.xcframework.zip",
+ checksum: "d0dfc93d949bba2e93b200ff21ec495e0cc26734439502f4f9328c5a021856d8"
),
.binaryTarget(
name: "OneSignalExtension",
- url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.2/OneSignalExtension.xcframework.zip",
- checksum: "1725ed62c9a3630caccb04e6c52db02348719428e6a3eca6b1fec8ee35828162"
+ url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-01/OneSignalExtension.xcframework.zip",
+ checksum: "4c5f46b7e2c05cc92e2dea080a8620909d6bf3873bc1bb0580831a1ed0084cb5"
),
.binaryTarget(
name: "OneSignalOutcomes",
- url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.2/OneSignalOutcomes.xcframework.zip",
- checksum: "d1345bda87e3f0b4f50cc4f31de7c7f8a6be38e7b768d7ce4e599dc6e6f467ba"
+ url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-01/OneSignalOutcomes.xcframework.zip",
+ checksum: "f34e8b283a3c5db469164d5752f11cc9c464113bf04aa2531517241f8596cb0d"
),
.binaryTarget(
name: "OneSignalOSCore",
- url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.2/OneSignalOSCore.xcframework.zip",
- checksum: "6378ad0fdba2e485274b87b192d0c6419f37e92bd33d9a2f7993b9c5e137b94f"
+ url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-01/OneSignalOSCore.xcframework.zip",
+ checksum: "bb4e322248b6c9c93eb478fef44416417aaf6968333702dc9e5e9dcee07e614f"
),
.binaryTarget(
name: "OneSignalCore",
- url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.2/OneSignalCore.xcframework.zip",
- checksum: "6378ad0fdba2e485274b87b192d0c6419f37e92bd33d9a2f7993b9c5e137b94f"
+ url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-01/OneSignalCore.xcframework.zip",
+ checksum: "9649d2269722cf60b03f9c55dd9af5f65b1933b28852e9ed1a6bbb202dcb1150"
)
]
)
diff --git a/iOS_SDK/OneSignalSDK/OneSignalCore/Source/OneSignalCommonDefines.h b/iOS_SDK/OneSignalSDK/OneSignalCore/Source/OneSignalCommonDefines.h
index c97b0fc30..23ba4f2e9 100644
--- a/iOS_SDK/OneSignalSDK/OneSignalCore/Source/OneSignalCommonDefines.h
+++ b/iOS_SDK/OneSignalSDK/OneSignalCore/Source/OneSignalCommonDefines.h
@@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App
-#define ONESIGNAL_VERSION @"031102"
+#define ONESIGNAL_VERSION @"050000-alpha-01"
#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework.zip
index 1a668c116..d9ec4c846 100644
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework.zip and b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework.zip differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/Info.plist
index 535a8c3e4..408f8728b 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/Info.plist
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/Info.plist
@@ -6,37 +6,34 @@
LibraryIdentifier
- ios-arm64_i386_x86_64-simulator
+ ios-arm64_x86_64-maccatalyst
LibraryPath
OneSignalCore.framework
SupportedArchitectures
arm64
- i386
x86_64
SupportedPlatform
ios
SupportedPlatformVariant
- simulator
+ maccatalyst
LibraryIdentifier
- ios-arm64_armv7_armv7s
+ ios-arm64
LibraryPath
OneSignalCore.framework
SupportedArchitectures
arm64
- armv7
- armv7s
SupportedPlatform
ios
LibraryIdentifier
- ios-arm64_x86_64-maccatalyst
+ ios-arm64_x86_64-simulator
LibraryPath
OneSignalCore.framework
SupportedArchitectures
@@ -47,7 +44,7 @@
SupportedPlatform
ios
SupportedPlatformVariant
- maccatalyst
+ simulator
CFBundlePackageType
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/NSDateFormatter+OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/NSDateFormatter+OneSignal.h
new file mode 100644
index 000000000..eb40931a9
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/NSDateFormatter+OneSignal.h
@@ -0,0 +1,31 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2020 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+@interface NSDateFormatter (OneSignal)
++ (instancetype)iso8601DateFormatter;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/NSString+OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/NSString+OneSignal.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/NSString+OneSignal.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/NSString+OneSignal.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/NSURL+OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/NSURL+OneSignal.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/NSURL+OneSignal.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/NSURL+OneSignal.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSDeviceUtils.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSDeviceUtils.h
new file mode 100644
index 000000000..e646d6d1d
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSDeviceUtils.h
@@ -0,0 +1,41 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+// NS_ASSUME_NONNULL_BEGIN
+
+@interface OSDeviceUtils : NSObject
+
++ (NSString *)getCurrentDeviceVersion;
++ (BOOL)isIOSVersionGreaterThanOrEqual:(NSString *)version;
++ (BOOL)isIOSVersionLessThan:(NSString *)version;
++ (NSString*)getDeviceVariant;
+
+@end
+
+// NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSDialogInstanceManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSDialogInstanceManager.h
new file mode 100644
index 000000000..a1e0ca559
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSDialogInstanceManager.h
@@ -0,0 +1,21 @@
+//
+// OSDialogPresenter.h
+// OneSignal
+//
+// Created by Elliot Mawby on 11/2/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+typedef void (^OSDialogActionCompletion)(int tappedActionIndex);
+
+@protocol OSDialogPresenter
+- (void)presentDialogWithTitle:(NSString * _Nonnull)title withMessage:(NSString * _Nonnull)message withActions:(NSArray * _Nullable)actionTitles cancelTitle:(NSString * _Nonnull)cancelTitle withActionCompletion:(OSDialogActionCompletion _Nullable)completion;
+- (void)clearQueue;
+@end
+
+@interface OSDialogInstanceManager : NSObject
++ (void)setSharedInstance:(NSObject *_Nonnull)instance;
++ (NSObject *_Nullable)sharedInstance;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSJSONHandling.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSJSONHandling.h
similarity index 97%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSJSONHandling.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSJSONHandling.h
index 0a565039a..2979b48e6 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSJSONHandling.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSJSONHandling.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OSNotification.h"
+#import
@protocol OSJSONDecodable
+ (instancetype _Nullable)instanceWithData:(NSData * _Nonnull)data;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSMacros.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSMacros.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSMacros.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSMacros.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNetworkingUtils.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNetworkingUtils.h
new file mode 100644
index 000000000..585f8278b
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNetworkingUtils.h
@@ -0,0 +1,38 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+// NS_ASSUME_NONNULL_BEGIN
+
+@interface OSNetworkingUtils : NSObject
+
++ (NSNumber*)getNetType;
+
+@end
+
+// NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotification+Internal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotification+Internal.h
similarity index 97%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotification+Internal.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotification+Internal.h
index cdc43ea8e..8dd70354e 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotification+Internal.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotification+Internal.h
@@ -25,7 +25,7 @@
* THE SOFTWARE.
*/
-#import "OSNotificationClasses.h"
+#import
#ifndef OSNotification_Internal_h
#define OSNotification_Internal_h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotification.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotification.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotification.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotification.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotificationClasses.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotificationClasses.h
similarity index 98%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotificationClasses.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotificationClasses.h
index 2d8fed289..85dcb7cdb 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotificationClasses.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotificationClasses.h
@@ -25,7 +25,7 @@
* THE SOFTWARE.
*/
-#import "OSNotification.h"
+#import
// Pass in nil means a notification will not display
typedef void (^OSNotificationDisplayResponse)(OSNotification* _Nullable notification);
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSObservable.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSObservable.h
new file mode 100644
index 000000000..faaa2fc35
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSObservable.h
@@ -0,0 +1,43 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OSObservable_h
+#define OSObservable_h
+
+
+@protocol OSObserver
+- (void)onChanged:(id)state;
+@end
+
+@interface OSObservable<__covariant ObserverType, __covariant ObjectType> : NSObject
+- (instancetype _Nonnull)initWithChangeSelector:(SEL)selector;
+- (void)addObserver:(ObserverType)observer;
+- (void)removeObserver:(ObserverType)observer;
+- (BOOL)notifyChange:(ObjectType)state;
+@end
+
+#endif /* OSObservable_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSPrivacyConsentController.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
similarity index 94%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
index 37c4f09e6..63f5beb56 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
@@ -29,5 +29,7 @@ THE SOFTWARE.
@interface OSPrivacyConsentController : NSObject
+ (BOOL)requiresUserPrivacyConsent;
+ (void)consentGranted:(BOOL)granted;
++ (BOOL)getPrivacyConsent;
+ (BOOL)shouldLogMissingPrivacyConsentErrorWithMethodName:(NSString *)methodName;
++ (void)setRequiresPrivacyConsent:(BOOL)required;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSRemoteParamController.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSRemoteParamController.h
new file mode 100644
index 000000000..94df375af
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSRemoteParamController.h
@@ -0,0 +1,48 @@
+/**
+Modified MIT License
+
+Copyright 2020 OneSignal
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+1. The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+2. All copies of substantial portions of the Software may only be used in connection
+with services provided by OneSignal.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+#ifndef OSRemoteParamController_h
+#define OSRemoteParamController_h
+
+@interface OSRemoteParamController : NSObject
+
++ (OSRemoteParamController *)sharedController;
+
+@property (strong, nonatomic, readonly, nonnull) NSDictionary *remoteParams;
+
+- (void)saveRemoteParams:(NSDictionary *_Nonnull)params;
+- (BOOL)hasLocationKey;
+- (BOOL)hasPrivacyConsentKey;
+
+- (BOOL)isLocationShared;
+- (void)saveLocationShared:(BOOL)shared;
+- (BOOL)isPrivacyConsentRequired;
+- (void)savePrivacyConsentRequired:(BOOL)shared;
+
+@end
+
+#endif /* OSRemoteParamController_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSRequests.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSRequests.h
new file mode 100644
index 000000000..bc3a2c3d3
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSRequests.h
@@ -0,0 +1,55 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+#import
+
+#ifndef OneSignalRequests_h
+#define OneSignalRequests_h
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface OSRequestGetIosParams : OneSignalRequest
++ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
+@end
+
+@interface OSRequestPostNotification : OneSignalRequest
++ (instancetype)withAppId:(NSString *)appId withJson:(NSMutableDictionary *)json;
+@end
+
+@interface OSRequestSubmitNotificationOpened : OneSignalRequest
++ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId wasOpened:(BOOL)opened messageId:(NSString *)messageId withDeviceType:(NSNumber *)deviceType;
+@end
+
+NS_ASSUME_NONNULL_END
+
+@interface OSRequestTrackV1 : OneSignalRequest
++ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
+ appId:(NSString * _Nonnull)appId;
+@end
+#endif /* Requests_h */
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalClient.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalClient.h
similarity index 98%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalClient.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalClient.h
index 432a9abda..46f466add 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalClient.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalClient.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OneSignalRequest.h"
+#import
#ifndef OneSignalClient_h
#define OneSignalClient_h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCommonDefines.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
similarity index 81%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
index 505526611..23ba4f2e9 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
@@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App
-#define ONESIGNAL_VERSION @"031102"
+#define ONESIGNAL_VERSION @"050000-alpha-01"
#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
@@ -65,27 +65,9 @@
#define OSUD_PERMISSION_EPHEMERAL_FROM @"OSUD_PERMISSION_EPHEMERAL_FROM" // * OSUD_PERMISSION_EPHEMERAL_FROM
#define OSUD_LANGUAGE @"OSUD_LANGUAGE" // * OSUD_LANGUAGE
#define DEFAULT_LANGUAGE @"en" // * OSUD_LANGUAGE
-// Player
-#define OSUD_EXTERNAL_USER_ID @"OS_EXTERNAL_USER_ID" // * OSUD_EXTERNAL_USER_ID
-#define OSUD_PLAYER_ID_TO @"GT_PLAYER_ID" // * OSUD_PLAYER_ID_TO
-#define OSUD_PLAYER_ID_FROM @"GT_PLAYER_ID_LAST" // * OSUD_PLAYER_ID_FROM
-#define OSUD_PUSH_TOKEN_TO @"GT_DEVICE_TOKEN" // * OSUD_PUSH_TOKEN_TO
-#define OSUD_PUSH_TOKEN_FROM @"GT_DEVICE_TOKEN_LAST" // * OSUD_PUSH_TOKEN_FROM
-#define OSUD_USER_SUBSCRIPTION_TO @"ONESIGNAL_SUBSCRIPTION" // * OSUD_USER_SUBSCRIPTION_TO
-#define OSUD_USER_SUBSCRIPTION_FROM @"ONESIGNAL_SUBSCRIPTION_SETTING" // * OSUD_USER_SUBSCRIPTION_FROM
-#define OSUD_EXTERNAL_ID_AUTH_CODE @"OSUD_EXTERNAL_ID_AUTH_CODE"
-// Email
-#define OSUD_EMAIL_ADDRESS @"EMAIL_ADDRESS" // * OSUD_EMAIL_ADDRESS
-#define OSUD_EMAIL_PLAYER_ID @"GT_EMAIL_PLAYER_ID" // * OSUD_EMAIL_PLAYER_ID
-#define OSUD_EMAIL_EXTERNAL_USER_ID @"OSUD_EMAIL_EXTERNAL_USER_ID" // OSUD_EMAIL_EXTERNAL_USER_ID
-#define OSUD_REQUIRE_EMAIL_AUTH @"GT_REQUIRE_EMAIL_AUTH" // * OSUD_REQUIRE_EMAIL_AUTH
-#define OSUD_EMAIL_AUTH_CODE @"GT_EMAIL_AUTH_CODE" // * OSUD_EMAIL_AUTH_CODE
-// SMS
-#define OSUD_SMS_NUMBER @"OSUD_SMS_NUMBER"
-#define OSUD_SMS_PLAYER_ID @"OSUD_SMS_PLAYER_ID"
-#define OSUD_SMS_EXTERNAL_USER_ID @"OSUD_SMS_EXTERNAL_USER_ID"
-#define OSUD_REQUIRE_SMS_AUTH @"OSUD_REQUIRE_SMS_AUTH"
-#define OSUD_SMS_AUTH_CODE @"OSUD_SMS_AUTH_CODE"
+// Push Subscription
+#define OSUD_PUSH_SUBSCRIPTION_ID @"GT_PLAYER_ID" // * OSUD_PUSH_SUBSCRIPTION_ID
+#define OSUD_PUSH_TOKEN @"GT_DEVICE_TOKEN" // * OSUD_PUSH_TOKEN
// Notification
#define OSUD_LAST_MESSAGE_OPENED @"GT_LAST_MESSAGE_OPENED_" // * OSUD_MOST_RECENT_NOTIFICATION_OPENED
#define OSUD_NOTIFICATION_OPEN_LAUNCH_URL @"ONESIGNAL_INAPP_LAUNCH_URL" // * OSUD_NOTIFICATION_OPEN_LAUNCH_URL
@@ -118,8 +100,6 @@
#define OSUD_APP_LAST_CLOSED_TIME @"GT_LAST_CLOSED_TIME" // * OSUD_APP_LAST_CLOSED_TIME
#define OSUD_UNSENT_ACTIVE_TIME @"GT_UNSENT_ACTIVE_TIME" // * OSUD_UNSENT_ACTIVE_TIME
#define OSUD_UNSENT_ACTIVE_TIME_ATTRIBUTED @"GT_UNSENT_ACTIVE_TIME_ATTRIBUTED" // * OSUD_UNSENT_ACTIVE_TIME_ATTRIBUTED
-#define OSUD_PLAYER_TAGS @"OSUD_PLAYER_TAGS"
- // * OSUD_PLAYER_TAGS
// Deprecated Selectors
#define DEPRECATED_SELECTORS @[ @"application:didReceiveLocalNotification:", \
@@ -200,6 +180,11 @@ typedef enum {BACKGROUND, END_SESSION} FocusEventType;
typedef enum {ATTRIBUTED, NOT_ATTRIBUTED} FocusAttributionState;
#define focusAttributionStateString(enum) [@[@"ATTRIBUTED", @"NOT_ATTRIBUTED"] objectAtIndex:enum]
+// OneSignal Background Task Identifiers
+#define ATTRIBUTED_FOCUS_TASK @"ATTRIBUTED_FOCUS_TASK"
+#define UNATTRIBUTED_FOCUS_TASK @"UNATTRIBUTED_FOCUS_TASK"
+#define USER_MANAGER_BACKGROUND_TASK @"USER_MANAGER_BACKGROUND_TASK"
+
// OneSignal constants
#define OS_PUSH @"push"
#define OS_EMAIL @"email"
@@ -209,8 +194,8 @@ typedef enum {ATTRIBUTED, NOT_ATTRIBUTED} FocusAttributionState;
#define OS_CHANNELS @[OS_PUSH, OS_EMAIL, OS_SMS]
// OneSignal API Client Defines
-typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
-#define OS_API_CLIENT_STRINGS @[@"GET", @"POST", @"HEAD", @"PUT", @"DELETE", @"OPTIONS", @"CONNECT", @"TRACE"]
+typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTPMethod;
+#define OS_API_CLIENT_STRINGS @[@"GET", @"POST", @"HEAD", @"PUT", @"DELETE", @"OPTIONS", @"CONNECT", @"TRACE", @"PATCH"]
#define httpMethodString(enum) [OS_API_CLIENT_STRINGS objectAtIndex:enum]
// Notification types
@@ -233,13 +218,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
// 1 week in seconds
#define WEEK_IN_SECONDS 604800.0
-// Registration delay
-#define REGISTRATION_DELAY_SECONDS 30.0
-
-// How long the SDK will wait for APNS to respond
-// before registering the user anyways
-#define APNS_TIMEOUT 25.0
-
// The SDK saves a list of category ID's allowing multiple notifications
// to have their own unique buttons/etc.
#define SHARED_CATEGORY_LIST @"com.onesignal.shared_registered_categories"
@@ -301,4 +279,52 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
#define MAX_NOTIFICATION_MEDIA_SIZE_BYTES 50000000
+#pragma mark User Model
+
+#define OS_ONESIGNAL_ID @"onesignal_id"
+#define OS_EXTERNAL_ID @"external_id"
+
+#define OS_RETAIN_PREVIOUS_USER @"retain_previous_user"
+#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"
+
+// Models and Model Stores
+#define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY"
+#define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY"
+#define OS_PROPERTIES_MODEL_KEY @"OS_PROPERTIES_MODEL_KEY"
+#define OS_PROPERTIES_MODEL_STORE_KEY @"OS_PROPERTIES_MODEL_STORE_KEY"
+#define OS_PUSH_SUBSCRIPTION_MODEL_KEY @"OS_PUSH_SUBSCRIPTION_MODEL_KEY"
+#define OS_PUSH_SUBSCRIPTION_MODEL_STORE_KEY @"OS_PUSH_SUBSCRIPTION_MODEL_STORE_KEY"
+#define OS_SUBSCRIPTION_MODEL_STORE_KEY @"OS_SUBSCRIPTION_MODEL_STORE_KEY"
+
+// Deltas
+#define OS_ADD_ALIAS_DELTA @"OS_ADD_ALIAS_DELTA"
+#define OS_REMOVE_ALIAS_DELTA @"OS_REMOVE_ALIAS_DELTA"
+
+#define OS_UPDATE_PROPERTIES_DELTA @"OS_UPDATE_PROPERTIES_DELTA"
+
+#define OS_ADD_SUBSCRIPTION_DELTA @"OS_ADD_SUBSCRIPTION_DELTA"
+#define OS_REMOVE_SUBSCRIPTION_DELTA @"OS_REMOVE_SUBSCRIPTION_DELTA"
+#define OS_UPDATE_SUBSCRIPTION_DELTA @"OS_UPDATE_SUBSCRIPTION_DELTA"
+
+// Operation Repo
+#define OS_OPERATION_REPO_DELTA_QUEUE_KEY @"OS_OPERATION_REPO_DELTA_QUEUE_KEY"
+
+// User Executor
+#define OS_USER_EXECUTOR_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_REQUEST_QUEUE_KEY"
+
+// Identity Executor
+#define OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_IDENTITY_EXECUTOR_ADD_REQUEST_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_ADD_REQUEST_QUEUE_KEY"
+#define OS_IDENTITY_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY"
+
+// Property Executor
+#define OS_PROPERTIES_EXECUTOR_DELTA_QUEUE_KEY @"OS_PROPERTIES_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_PROPERTIES_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY @"OS_PROPERTIES_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY"
+
+// Subscription Executor
+#define OS_SUBSCRIPTION_EXECUTOR_DELTA_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_ADD_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_ADD_REQUEST_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY"
+
#endif /* OneSignalCommonDefines_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalConfigManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalConfigManager.h
new file mode 100644
index 000000000..481b16eee
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalConfigManager.h
@@ -0,0 +1,36 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+@interface OneSignalConfigManager : NSObject
+
++ (void)setAppId:(NSString *)appId;
++ (NSString *_Nullable)getAppId;
++ (BOOL)shouldAwaitAppIdAndLogMissingPrivacyConsentForMethod:(NSString *)methodName;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCore.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCore.h
new file mode 100644
index 000000000..d8297cae1
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCore.h
@@ -0,0 +1,55 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2021 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#pragma clang diagnostic ignored "-Wnullability-completeness"
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCoreHelper.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
similarity index 79%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
index 2a95e9c38..4df11aa83 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
@@ -37,4 +37,12 @@
+ (NSString*)hashUsingSha1:(NSString*)string;
+ (NSString*)hashUsingMD5:(NSString*)string;
+ (NSString*)trimURLSpacing:(NSString*)url;
++ (NSString*)parseNSErrorAsJsonString:(NSError*)error;
++ (BOOL)isOneSignalPayload:(NSDictionary *)payload;
++ (NSMutableDictionary*) formatApsPayloadIntoStandard:(NSDictionary*)remoteUserInfo identifier:(NSString*)identifier;
++ (BOOL)isRemoteSilentNotification:(NSDictionary*)msg;
++ (BOOL)isDisplayableNotification:(NSDictionary*)msg;
++ (NSString*)randomStringWithLength:(int)length;
++ (BOOL)verifyURL:(NSString *)urlString;
++ (BOOL)isWWWScheme:(NSURL*)url;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalLog.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalLog.h
similarity index 86%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalLog.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalLog.h
index 63bf4e1aa..2f36f30c3 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalLog.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalLog.h
@@ -26,8 +26,6 @@
*/
#import
-@interface OneSignalLog : NSObject
-#pragma mark Logging
typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
ONE_S_LL_NONE,
ONE_S_LL_FATAL,
@@ -38,7 +36,14 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
ONE_S_LL_VERBOSE
};
+@protocol OSDebug
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
-+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
++ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+@end
+@interface OneSignalLog : NSObject
++ (Class)Debug;
++ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
++ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
++ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalMobileProvision.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalMobileProvision.h
new file mode 100644
index 000000000..b040ea114
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalMobileProvision.h
@@ -0,0 +1,23 @@
+//
+// OneSignalMobileProvision.h
+// Renamed from UIApplication+BSMobileProvision.h to prevent conflicts
+//
+// Created by kaolin fire on 2013-06-24.
+// Copyright (c) 2013 The Blindsight Corporation. All rights reserved.
+// Released under the BSD 2-Clause License (see LICENSE)
+
+typedef NS_ENUM(NSInteger, OSUIApplicationReleaseMode) {
+ UIApplicationReleaseUnknown,
+ UIApplicationReleaseDev,
+ UIApplicationReleaseAdHoc,
+ UIApplicationReleaseWildcard,
+ UIApplicationReleaseAppStore,
+ UIApplicationReleaseSim,
+ UIApplicationReleaseEnterprise
+};
+
+@interface OneSignalMobileProvision : NSObject
+
++ (OSUIApplicationReleaseMode) releaseMode;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalRequest.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalRequest.h
similarity index 96%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalRequest.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalRequest.h
index 4e1b1fa82..be81332ed 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalRequest.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalRequest.h
@@ -28,7 +28,7 @@
#pragma clang diagnostic ignored "-Wnullability-completeness"
#import
-#import "OneSignalCommonDefines.h"
+#import
#ifndef OneSignalRequest_h
@@ -47,6 +47,7 @@ typedef void (^OSFailureBlock)(NSError* error);
@property (strong, nonatomic, nullable) NSDictionary *additionalHeaders;
@property (nonatomic) int reattemptCount;
@property (nonatomic) BOOL dataRequest; //false for JSON based requests
+@property (nonatomic) NSDate *timestamp;
-(BOOL)missingAppId; //for requests that don't require an appId parameter, the subclass should override this method and return false
-(NSMutableURLRequest * _Nonnull )urlRequest;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalSelectorHelpers.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalSelectorHelpers.h
new file mode 100644
index 000000000..4cd8469c7
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalSelectorHelpers.h
@@ -0,0 +1,34 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OneSignalSelectorHelpers_h
+#define OneSignalSelectorHelpers_h
+
+// Functions to help sizzle methods.
+BOOL injectSelector(Class targetClass, SEL targetSelector, Class myClass, SEL mySelector);
+
+#endif /* OneSignalSelectorHelpers_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
similarity index 97%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
index 7cc355975..b40a02eb5 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OSNotificationClasses.h"
+#import
@interface OneSignalTrackFirebaseAnalytics : NSObject
+(BOOL)libraryExists;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalUserDefaults.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalUserDefaults.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalUserDefaults.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalUserDefaults.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/SwizzlingForwarder.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/SwizzlingForwarder.h
new file mode 100644
index 000000000..5559b52d1
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/SwizzlingForwarder.h
@@ -0,0 +1,38 @@
+#import
+
+NS_ASSUME_NONNULL_BEGIN
+
+/**
+ Use this in your swizzled methods implementations to ensure your swizzling
+ does not create side effects.
+ This is done by checking if there was an existing implementations and also if
+ the object has a forwardingTargetForSelector: setup.
+ */
+@interface SwizzlingForwarder : NSObject
+/**
+ Constructor to setup this instance so you can call invokeWithArgs latter
+ to forward the call onto the correct selector and object so you swizzling does
+ create any cause side effects.
+ @param object Your object, normally you should pass in self.
+ @param yourSelector Your named selector.
+ @param originalSelector The original selector, the one you would call if
+ swizzling was out of the picture.
+ @return Always returns an instance.
+ */
+-(instancetype)initWithTarget:(id)object
+ withYourSelector:(SEL)yourSelector
+ withOriginalSelector:(SEL)originalSelector;
+
+/**
+ Optionally call before invokeWithArgs to know it will execute anything.
+ */
+-(BOOL)hasReceiver;
+
+/**
+ Must call this to call in your swizzled method somewhere to ensure the
+ original code is still run.
+ */
+-(void)invokeWithArgs:(NSArray*)args;
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Info.plist
new file mode 100644
index 000000000..4223928c6
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Info.plist differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Modules/module.modulemap
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Modules/module.modulemap
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Modules/module.modulemap
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/OneSignalCore b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/OneSignalCore
new file mode 100755
index 000000000..42f9be9c6
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/OneSignalCore differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/_CodeSignature/CodeResources
similarity index 62%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/_CodeSignature/CodeResources
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/_CodeSignature/CodeResources
index 2d9e43918..f74a68a3c 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/_CodeSignature/CodeResources
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/_CodeSignature/CodeResources
@@ -4,6 +4,10 @@
files
+ Headers/NSDateFormatter+OneSignal.h
+
+ ifs8KRiBPsLi2tcZaH5fqH8jlNg=
+
Headers/NSString+OneSignal.h
/HTg8wbY+rfIy9/kCShHF2Oev6Y=
@@ -12,17 +16,29 @@
RUcvMsE7Pj+BUpa1H4SgBH/O/EQ=
+ Headers/OSDeviceUtils.h
+
+ qZnSYyg9QxHCH9m743tw/0wlLEE=
+
+ Headers/OSDialogInstanceManager.h
+
+ PnoiGb2/H8T+q91po5vPVhJMXnA=
+
Headers/OSJSONHandling.h
- 91d8OZhU9KOTu2qY+EdAF+M47+E=
+ 4LPubo4CHRtzWQ0TUlW8TcnrpnA=
Headers/OSMacros.h
7HmaM9ljZnw77iovX0v/wnb3bX0=
+ Headers/OSNetworkingUtils.h
+
+ LwlsUTJlqWyOXjg5jrd2MiXaYUI=
+
Headers/OSNotification+Internal.h
- hwttm7oX6fN2cgP1Z4laQAKP49Q=
+ 4e+6YBjSX6NRA8rNizQp2+aBQ30=
Headers/OSNotification.h
@@ -30,51 +46,75 @@
Headers/OSNotificationClasses.h
- iNvshoGLl4IEMy2K1Lq2stVxdB4=
+ ffIK3c1zT2cADgVHard2wYmgrvQ=
+
+ Headers/OSObservable.h
+
+ EKZEgY7y78TFR02v2BdqFWq6wVc=
Headers/OSPrivacyConsentController.h
- //dQV0JwOyLrzhcfN4IkI2abbFM=
+ M+s6N3SgUW271aVJk0EYnL/UIAo=
+
+ Headers/OSRemoteParamController.h
+
+ vX2LZhQ43LmAjwjYp/La6Hloomc=
Headers/OSRequests.h
- AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
+ UZS3D91540HrPy/+mptjek+Cnhk=
Headers/OneSignalClient.h
- TAYBk2YV4sw9wzS85jL0QtcAen0=
+ xP3ln1gkiz3rYTGL3cLbXxIleq4=
Headers/OneSignalCommonDefines.h
- 8EW/BT5zG8zB/eiPeTO87RAHrmk=
+ tlUNi+6DSJlbVTqB2JwrRPm8wF4=
+
+ Headers/OneSignalConfigManager.h
+
+ rs5am2kldk0oFRiHVIRnYiOwwfk=
Headers/OneSignalCore.h
- T109aNL3gpg8ZtBUTteB6+7IuQ8=
+ bYttD+ZlFuou9kO+yEcixhnk96M=
Headers/OneSignalCoreHelper.h
- xQeNeuYQWybV7qex/9h0H2mvUqI=
+ AWb5daVf6cRJe0A0e5x5Gp7jU+U=
Headers/OneSignalLog.h
- oEEDkA6eBW5XOmDs86IVGRpm28k=
+ +AiZ0kKN8BatL469uOR7lP2dKUk=
+
+ Headers/OneSignalMobileProvision.h
+
+ 7ZQcyM590dEqGyz7BtLDG3YORL0=
Headers/OneSignalRequest.h
- /uBkuxddG/dPmbTbANavHELydCw=
+ MxsNsoartS9iesNGTQE5YZ5qp64=
+
+ Headers/OneSignalSelectorHelpers.h
+
+ 3CBAjr2xx3yz874iThgaAtmtaAo=
Headers/OneSignalTrackFirebaseAnalytics.h
- oUxC/1Bnj1fAEZ+hPm30tS5H+f0=
+ 3x6uorCcPwt7XTytGlVwmVv3NXE=
Headers/OneSignalUserDefaults.h
ZvwZZD2HkwwG1wOkh8jGhnl2lTY=
+ Headers/SwizzlingForwarder.h
+
+ HfyVhL3eh5S045pKiGtUIUEbITU=
+
Info.plist
- ow5bO3yimY38B28YI0oSlYTG/fY=
+ whOPom1tNlpOQi8zbhGc+/JSBuY=
Modules/module.modulemap
@@ -83,12 +123,15 @@
files2
- Headers/NSString+OneSignal.h
+ Headers/NSDateFormatter+OneSignal.h
- hash
+ hash2
- /HTg8wbY+rfIy9/kCShHF2Oev6Y=
+ hn2vYW78u8AOY/ve3SKGul3cFrG350NV3Um0+EzhGHU=
+
+ Headers/NSString+OneSignal.h
+
hash2
qBhBU+sclS17YY3HDiZmbgqnTFtSJWm7tX4ThKcr3cM=
@@ -96,54 +139,55 @@
Headers/NSURL+OneSignal.h
- hash
-
- RUcvMsE7Pj+BUpa1H4SgBH/O/EQ=
-
hash2
DC9WcVr/94eTh7NHtwKhA8C2fPJVJfY0nn9A6fuHGhA=
- Headers/OSJSONHandling.h
+ Headers/OSDeviceUtils.h
- hash
+ hash2
- 91d8OZhU9KOTu2qY+EdAF+M47+E=
+ CJpM5If7vZz4m960lM+ulaOZohExs1bTVVH5q0zODe4=
+
+ Headers/OSDialogInstanceManager.h
+
hash2
- kwMvLl1JtYBgIUz5NHRrummY0mdnyAPM2lP6HtOGETw=
+ VHQRipAjzHtXPkUXXH4YvMFBZS9BgNyDe0llpuFstT8=
- Headers/OSMacros.h
+ Headers/OSJSONHandling.h
- hash
+ hash2
- 7HmaM9ljZnw77iovX0v/wnb3bX0=
+ s3NgkOLqd6fRlHYOq0qucoCdi9UhfSqxLGpl26BnNck=
+
+ Headers/OSMacros.h
+
hash2
aKanW/TgpNzztpIpYJVbnxfUUFcNJAolzoX8n0+EwJc=
- Headers/OSNotification+Internal.h
+ Headers/OSNetworkingUtils.h
- hash
+ hash2
- hwttm7oX6fN2cgP1Z4laQAKP49Q=
+ ItFeaL2odYTkJOQJKL87zSdrc69fJx36bv6/fi0gBDQ=
+
+ Headers/OSNotification+Internal.h
+
hash2
- bz9UK/DGxP8LAEzMdBiUj0l9UsfhSo11AUAW6X1NfNQ=
+ HTm2j1hepBvpJTVpL9yoinrtVoXPyBqD6UVOtRJcoGY=
Headers/OSNotification.h
- hash
-
- O/8gkRAMw3nV6j7znZxoXDKCi3o=
-
hash2
JOArzkdx1cCGHN5R6ITF+D2e8x/s5HVzQNEl26Gxdfg=
@@ -151,131 +195,125 @@
Headers/OSNotificationClasses.h
- hash
+ hash2
- iNvshoGLl4IEMy2K1Lq2stVxdB4=
+ egqNeJ1zJAyIjXAvTNBFqVuEQFl67+LbQ/B7V0jK2Rk=
+
+ Headers/OSObservable.h
+
hash2
- TfTvbYwUILlXsIfPJ92tgrhSS23UTibhhKt6j4Q984U=
+ R123THdisLYR5MKy2Wn8W5io6MEKh/bDRfZmFNF0YLQ=
Headers/OSPrivacyConsentController.h
- hash
+ hash2
- //dQV0JwOyLrzhcfN4IkI2abbFM=
+ ZbsLBZFACw0H6sd80zOvxaGw6Jq/0Sz1diu28fYUOZY=
+
+ Headers/OSRemoteParamController.h
+
hash2
- Nl0w50EzXPgal1ghTEM3QIoYLzOYHH195NTzq3Zlvmo=
+ ksHXJtuz3uj948tfqdNMchzP74zrK8cUPqvAVUHa3tQ=
Headers/OSRequests.h
- hash
-
- AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
-
hash2
- GmdFYLP8Zwsod7m7aemuj8E4msAflq+RJTLAA2Y/hpY=
+ M/MLqkkd57nFrH1WC5Rxa4vhOv3dQqS1upnW0aHrl+I=
Headers/OneSignalClient.h
- hash
-
- TAYBk2YV4sw9wzS85jL0QtcAen0=
-
hash2
- cbF3Wa3Lqa0Wb2275ot3ploX1KXQ+znQBiBOu0TzV6M=
+ CSAZbyxJ1QBEtH5JYy/HwJiYsj+udPG1u4dhMFgkUtQ=
Headers/OneSignalCommonDefines.h
- hash
+ hash2
- 8EW/BT5zG8zB/eiPeTO87RAHrmk=
+ cdCnbPkA8/s6gZ1onf57+ViY/4vwE9C0iX0t248KVkY=
+
+ Headers/OneSignalConfigManager.h
+
hash2
- NWKAhHt3dT7cwBqI8e/mkUC54p3rq3BI9kesgwCBiQs=
+ 6+sJzc6wU2Vd6ZJtouqBsA12C1qGLBjFS/ED/+he950=
Headers/OneSignalCore.h
- hash
-
- T109aNL3gpg8ZtBUTteB6+7IuQ8=
-
hash2
- uLAWfHauq9MJASOHxa8O6emo1oXTfJcLShIdOAUxG88=
+ iHKL75wMiv4mJ4emUkeYjDhpelhCMWjQE0+DCGnjbuo=
Headers/OneSignalCoreHelper.h
- hash
-
- xQeNeuYQWybV7qex/9h0H2mvUqI=
-
hash2
- vK6D0j+ZbW5ycXiO3jb9aLvluPdvyYGxCSFl1gkVp14=
+ UGIkfh6atqLP1mZmCLrT4t6Sw99OCMnd/8aGq8vaUYU=
Headers/OneSignalLog.h
- hash
+ hash2
- oEEDkA6eBW5XOmDs86IVGRpm28k=
+ nyebF5JgbuqB46Vsbi6A0g0HVGb9YNyMX1PaHKTScVw=
+
+ Headers/OneSignalMobileProvision.h
+
hash2
- fXXHmsA5in9ZjZz8sHnl3WaN/xiOjw63toiJ0AzJTE4=
+ l0RcO5v+JFSsTR7XTKreN7doUQ28JwnxoHpQKZd00vU=
Headers/OneSignalRequest.h
- hash
+ hash2
- /uBkuxddG/dPmbTbANavHELydCw=
+ b0DH58A5Q4B9Cj/lCH23eT3A6PqLAijRhgpNgm6nCbQ=
+
+ Headers/OneSignalSelectorHelpers.h
+
hash2
- 69iw4bnJGwQNk11KAchyrRMPCM6Rf4C9Wvn+HMnTCXc=
+ FcuF30Rl2JdaHXFJ+B6tKmImZk5GiiEUtfmseHgsVO8=
Headers/OneSignalTrackFirebaseAnalytics.h
- hash
-
- oUxC/1Bnj1fAEZ+hPm30tS5H+f0=
-
hash2
- VCgGIHlXYAQKerOcmqkIesJ+B+oWLXQya/3m1cYjnKc=
+ QQQ+yTOmYNCSKMYVwsP/jh0kJrt6EWJcaywB7947kO0=
Headers/OneSignalUserDefaults.h
- hash
-
- ZvwZZD2HkwwG1wOkh8jGhnl2lTY=
-
hash2
QIYtzchiCKQguyJOSY6PEhV0H98JRi2PdXSBmZxxLN4=
- Modules/module.modulemap
+ Headers/SwizzlingForwarder.h
- hash
+ hash2
- UwBMj9m72xH28UG69kKWlAJjycc=
+ 9kEbEQebIgu9aMkeBUQpTkT17xgIRXd1EC50UYWEmL8=
+
+ Modules/module.modulemap
+
hash2
K44cM22FGB3rV1SaGqR0xQQBO01/YgeIVYiCCcvFnOU=
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSRequests.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSRequests.h
deleted file mode 100644
index 269cc143e..000000000
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSRequests.h
+++ /dev/null
@@ -1,144 +0,0 @@
-/**
- * Modified MIT License
- *
- * Copyright 2017 OneSignal
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * 1. The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * 2. All copies of substantial portions of the Software may only be used in connection
- * with services provided by OneSignal.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-#import
-#import "OneSignalRequest.h"
-
-#ifndef OneSignalRequests_h
-#define OneSignalRequests_h
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface OSRequestGetTags : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
-@end
-
-@interface OSRequestGetIosParams : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
-@end
-
-@interface OSRequestPostNotification : OneSignalRequest
-+ (instancetype)withAppId:(NSString *)appId withJson:(NSMutableDictionary *)json;
-@end
-
-@interface OSRequestUpdateNotificationTypes : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId notificationTypes:(NSNumber *)notificationTypes;
-@end
-
-@interface OSRequestSendPurchases : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken appId:(NSString *)appId withPurchases:(NSArray *)purchases;
-+ (instancetype)withUserId:(NSString *)userId emailAuthToken:(NSString *)emailAuthToken appId:(NSString *)appId withPurchases:(NSArray *)purchases;
-@end
-
-@interface OSRequestSubmitNotificationOpened : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId wasOpened:(BOOL)opened messageId:(NSString *)messageId withDeviceType:(NSNumber *)deviceType;
-@end
-
-@interface OSRequestSyncHashedEmail : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId email:(NSString *)email networkType:(NSNumber *)netType;
-@end
-
-NS_ASSUME_NONNULL_END
-
-@interface OSRequestUpdateDeviceToken : OneSignalRequest
-// Push channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier notificationTypes:(NSNumber * _Nullable)notificationTypes externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-// Email channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier withParentId:(NSString * _Nullable)parentId emailAuthToken:(NSString * _Nullable)emailAuthHash email:(NSString * _Nullable)email externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-// SMS channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier smsAuthToken:(NSString * _Nullable)smsAuthToken externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestRegisterUser : OneSignalRequest
-+ (instancetype _Nonnull)withData:(NSDictionary * _Nonnull)registrationData userId:(NSString * _Nullable)userId;
-@end
-
-@interface OSRequestCreateDevice : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId withDeviceType:(NSNumber * _Nonnull)deviceType withEmail:(NSString * _Nullable)email withPlayerId:(NSString * _Nullable)playerId withEmailAuthHash:(NSString * _Nullable)emailAuthHash withExternalUserId:(NSString * _Nullable)externalUserId withExternalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId withDeviceType:(NSNumber * _Nonnull)deviceType withSMSNumber:(NSString * _Nullable)smsNumber withPlayerId:(NSString * _Nullable)playerId withSMSAuthHash:(NSString * _Nullable)smsAuthHash withExternalUserId:(NSString * _Nullable)externalUserId withExternalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestLogoutEmail : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId emailPlayerId:(NSString * _Nonnull)emailPlayerId devicePlayerId:(NSString * _Nonnull)devicePlayerId emailAuthHash:(NSString * _Nullable)emailAuthHash;
-@end
-
-@interface OSRequestLogoutSMS : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId smsPlayerId:(NSString * _Nonnull)smsPlayerId smsAuthHash:(NSString * _Nullable)smsAuthHash devicePlayerId:(NSString * _Nonnull)devicePlayerId;
-@end
-
-@interface OSRequestSendTagsToServer : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId tags:(NSDictionary * _Nonnull)tags networkType:(NSNumber * _Nonnull)netType withEmailAuthHashToken:(NSString * _Nullable)emailAuthToken withExternalIdAuthHashToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId tags:(NSDictionary * _Nonnull)tags networkType:(NSNumber * _Nonnull)netType withSMSAuthHashToken:(NSString * _Nullable)smsAuthToken withExternalIdAuthHashToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestUpdateLanguage : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- language:(NSString * _Nonnull)language
- emailAuthToken:(NSString * _Nullable)emailAuthHash
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- language:(NSString * _Nonnull)language
- smsAuthToken:(NSString * _Nullable)smsAuthToken
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestBadgeCount : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- badgeCount:(NSNumber * _Nonnull)badgeCount
- emailAuthToken:(NSString * _Nullable)emailAuthHash
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- badgeCount:(NSNumber * _Nonnull)badgeCount
- smsAuthToken:(NSString * _Nullable)smsAuthToken
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestUpdateExternalUserId : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withEmailHashToken:(NSString * _Nullable)emailHashToken appId:(NSString * _Nonnull)appId;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withSMSHashToken:(NSString * _Nullable)smsHashToken appId:(NSString * _Nonnull)appId;
-@end
-
-
-@interface OSRequestTrackV1 : OneSignalRequest
-+ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
- appId:(NSString * _Nonnull)appId;
-@end
-#endif /* Requests_h */
-
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/OneSignalCore b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/OneSignalCore
deleted file mode 100755
index 7b5433fc1..000000000
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/OneSignalCore and /dev/null differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSRequests.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSRequests.h
deleted file mode 100644
index 269cc143e..000000000
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSRequests.h
+++ /dev/null
@@ -1,144 +0,0 @@
-/**
- * Modified MIT License
- *
- * Copyright 2017 OneSignal
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * 1. The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * 2. All copies of substantial portions of the Software may only be used in connection
- * with services provided by OneSignal.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-#import
-#import "OneSignalRequest.h"
-
-#ifndef OneSignalRequests_h
-#define OneSignalRequests_h
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface OSRequestGetTags : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
-@end
-
-@interface OSRequestGetIosParams : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
-@end
-
-@interface OSRequestPostNotification : OneSignalRequest
-+ (instancetype)withAppId:(NSString *)appId withJson:(NSMutableDictionary *)json;
-@end
-
-@interface OSRequestUpdateNotificationTypes : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId notificationTypes:(NSNumber *)notificationTypes;
-@end
-
-@interface OSRequestSendPurchases : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken appId:(NSString *)appId withPurchases:(NSArray *)purchases;
-+ (instancetype)withUserId:(NSString *)userId emailAuthToken:(NSString *)emailAuthToken appId:(NSString *)appId withPurchases:(NSArray *)purchases;
-@end
-
-@interface OSRequestSubmitNotificationOpened : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId wasOpened:(BOOL)opened messageId:(NSString *)messageId withDeviceType:(NSNumber *)deviceType;
-@end
-
-@interface OSRequestSyncHashedEmail : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId email:(NSString *)email networkType:(NSNumber *)netType;
-@end
-
-NS_ASSUME_NONNULL_END
-
-@interface OSRequestUpdateDeviceToken : OneSignalRequest
-// Push channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier notificationTypes:(NSNumber * _Nullable)notificationTypes externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-// Email channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier withParentId:(NSString * _Nullable)parentId emailAuthToken:(NSString * _Nullable)emailAuthHash email:(NSString * _Nullable)email externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-// SMS channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier smsAuthToken:(NSString * _Nullable)smsAuthToken externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestRegisterUser : OneSignalRequest
-+ (instancetype _Nonnull)withData:(NSDictionary * _Nonnull)registrationData userId:(NSString * _Nullable)userId;
-@end
-
-@interface OSRequestCreateDevice : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId withDeviceType:(NSNumber * _Nonnull)deviceType withEmail:(NSString * _Nullable)email withPlayerId:(NSString * _Nullable)playerId withEmailAuthHash:(NSString * _Nullable)emailAuthHash withExternalUserId:(NSString * _Nullable)externalUserId withExternalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId withDeviceType:(NSNumber * _Nonnull)deviceType withSMSNumber:(NSString * _Nullable)smsNumber withPlayerId:(NSString * _Nullable)playerId withSMSAuthHash:(NSString * _Nullable)smsAuthHash withExternalUserId:(NSString * _Nullable)externalUserId withExternalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestLogoutEmail : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId emailPlayerId:(NSString * _Nonnull)emailPlayerId devicePlayerId:(NSString * _Nonnull)devicePlayerId emailAuthHash:(NSString * _Nullable)emailAuthHash;
-@end
-
-@interface OSRequestLogoutSMS : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId smsPlayerId:(NSString * _Nonnull)smsPlayerId smsAuthHash:(NSString * _Nullable)smsAuthHash devicePlayerId:(NSString * _Nonnull)devicePlayerId;
-@end
-
-@interface OSRequestSendTagsToServer : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId tags:(NSDictionary * _Nonnull)tags networkType:(NSNumber * _Nonnull)netType withEmailAuthHashToken:(NSString * _Nullable)emailAuthToken withExternalIdAuthHashToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId tags:(NSDictionary * _Nonnull)tags networkType:(NSNumber * _Nonnull)netType withSMSAuthHashToken:(NSString * _Nullable)smsAuthToken withExternalIdAuthHashToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestUpdateLanguage : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- language:(NSString * _Nonnull)language
- emailAuthToken:(NSString * _Nullable)emailAuthHash
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- language:(NSString * _Nonnull)language
- smsAuthToken:(NSString * _Nullable)smsAuthToken
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestBadgeCount : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- badgeCount:(NSNumber * _Nonnull)badgeCount
- emailAuthToken:(NSString * _Nullable)emailAuthHash
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- badgeCount:(NSNumber * _Nonnull)badgeCount
- smsAuthToken:(NSString * _Nullable)smsAuthToken
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestUpdateExternalUserId : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withEmailHashToken:(NSString * _Nullable)emailHashToken appId:(NSString * _Nonnull)appId;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withSMSHashToken:(NSString * _Nullable)smsHashToken appId:(NSString * _Nonnull)appId;
-@end
-
-
-@interface OSRequestTrackV1 : OneSignalRequest
-+ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
- appId:(NSString * _Nonnull)appId;
-@end
-#endif /* Requests_h */
-
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/OneSignalCore b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/OneSignalCore
deleted file mode 100755
index aeb28dfb7..000000000
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/OneSignalCore and /dev/null differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/NSDateFormatter+OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/NSDateFormatter+OneSignal.h
new file mode 100644
index 000000000..eb40931a9
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/NSDateFormatter+OneSignal.h
@@ -0,0 +1,31 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2020 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+@interface NSDateFormatter (OneSignal)
++ (instancetype)iso8601DateFormatter;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSDeviceUtils.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSDeviceUtils.h
new file mode 100644
index 000000000..e646d6d1d
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSDeviceUtils.h
@@ -0,0 +1,41 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+// NS_ASSUME_NONNULL_BEGIN
+
+@interface OSDeviceUtils : NSObject
+
++ (NSString *)getCurrentDeviceVersion;
++ (BOOL)isIOSVersionGreaterThanOrEqual:(NSString *)version;
++ (BOOL)isIOSVersionLessThan:(NSString *)version;
++ (NSString*)getDeviceVariant;
+
+@end
+
+// NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSDialogInstanceManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSDialogInstanceManager.h
new file mode 100644
index 000000000..a1e0ca559
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSDialogInstanceManager.h
@@ -0,0 +1,21 @@
+//
+// OSDialogPresenter.h
+// OneSignal
+//
+// Created by Elliot Mawby on 11/2/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+typedef void (^OSDialogActionCompletion)(int tappedActionIndex);
+
+@protocol OSDialogPresenter
+- (void)presentDialogWithTitle:(NSString * _Nonnull)title withMessage:(NSString * _Nonnull)message withActions:(NSArray * _Nullable)actionTitles cancelTitle:(NSString * _Nonnull)cancelTitle withActionCompletion:(OSDialogActionCompletion _Nullable)completion;
+- (void)clearQueue;
+@end
+
+@interface OSDialogInstanceManager : NSObject
++ (void)setSharedInstance:(NSObject *_Nonnull)instance;
++ (NSObject *_Nullable)sharedInstance;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSJSONHandling.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSJSONHandling.h
index 0a565039a..2979b48e6 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSJSONHandling.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSJSONHandling.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OSNotification.h"
+#import
@protocol OSJSONDecodable
+ (instancetype _Nullable)instanceWithData:(NSData * _Nonnull)data;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNetworkingUtils.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNetworkingUtils.h
new file mode 100644
index 000000000..585f8278b
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNetworkingUtils.h
@@ -0,0 +1,38 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+// NS_ASSUME_NONNULL_BEGIN
+
+@interface OSNetworkingUtils : NSObject
+
++ (NSNumber*)getNetType;
+
+@end
+
+// NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotification+Internal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotification+Internal.h
index cdc43ea8e..8dd70354e 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotification+Internal.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotification+Internal.h
@@ -25,7 +25,7 @@
* THE SOFTWARE.
*/
-#import "OSNotificationClasses.h"
+#import
#ifndef OSNotification_Internal_h
#define OSNotification_Internal_h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotificationClasses.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotificationClasses.h
index 2d8fed289..85dcb7cdb 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotificationClasses.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSNotificationClasses.h
@@ -25,7 +25,7 @@
* THE SOFTWARE.
*/
-#import "OSNotification.h"
+#import
// Pass in nil means a notification will not display
typedef void (^OSNotificationDisplayResponse)(OSNotification* _Nullable notification);
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSObservable.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSObservable.h
new file mode 100644
index 000000000..faaa2fc35
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSObservable.h
@@ -0,0 +1,43 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OSObservable_h
+#define OSObservable_h
+
+
+@protocol OSObserver
+- (void)onChanged:(id)state;
+@end
+
+@interface OSObservable<__covariant ObserverType, __covariant ObjectType> : NSObject
+- (instancetype _Nonnull)initWithChangeSelector:(SEL)selector;
+- (void)addObserver:(ObserverType)observer;
+- (void)removeObserver:(ObserverType)observer;
+- (BOOL)notifyChange:(ObjectType)state;
+@end
+
+#endif /* OSObservable_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSPrivacyConsentController.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSPrivacyConsentController.h
index 37c4f09e6..63f5beb56 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSPrivacyConsentController.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSPrivacyConsentController.h
@@ -29,5 +29,7 @@ THE SOFTWARE.
@interface OSPrivacyConsentController : NSObject
+ (BOOL)requiresUserPrivacyConsent;
+ (void)consentGranted:(BOOL)granted;
++ (BOOL)getPrivacyConsent;
+ (BOOL)shouldLogMissingPrivacyConsentErrorWithMethodName:(NSString *)methodName;
++ (void)setRequiresPrivacyConsent:(BOOL)required;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSRemoteParamController.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSRemoteParamController.h
new file mode 100644
index 000000000..94df375af
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSRemoteParamController.h
@@ -0,0 +1,48 @@
+/**
+Modified MIT License
+
+Copyright 2020 OneSignal
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+1. The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+2. All copies of substantial portions of the Software may only be used in connection
+with services provided by OneSignal.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+#ifndef OSRemoteParamController_h
+#define OSRemoteParamController_h
+
+@interface OSRemoteParamController : NSObject
+
++ (OSRemoteParamController *)sharedController;
+
+@property (strong, nonatomic, readonly, nonnull) NSDictionary *remoteParams;
+
+- (void)saveRemoteParams:(NSDictionary *_Nonnull)params;
+- (BOOL)hasLocationKey;
+- (BOOL)hasPrivacyConsentKey;
+
+- (BOOL)isLocationShared;
+- (void)saveLocationShared:(BOOL)shared;
+- (BOOL)isPrivacyConsentRequired;
+- (void)savePrivacyConsentRequired:(BOOL)shared;
+
+@end
+
+#endif /* OSRemoteParamController_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSRequests.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSRequests.h
index 269cc143e..bc3a2c3d3 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSRequests.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OSRequests.h
@@ -26,17 +26,13 @@
*/
#import
-#import "OneSignalRequest.h"
+#import
#ifndef OneSignalRequests_h
#define OneSignalRequests_h
NS_ASSUME_NONNULL_BEGIN
-@interface OSRequestGetTags : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
-@end
-
@interface OSRequestGetIosParams : OneSignalRequest
+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
@end
@@ -45,97 +41,12 @@ NS_ASSUME_NONNULL_BEGIN
+ (instancetype)withAppId:(NSString *)appId withJson:(NSMutableDictionary *)json;
@end
-@interface OSRequestUpdateNotificationTypes : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId notificationTypes:(NSNumber *)notificationTypes;
-@end
-
-@interface OSRequestSendPurchases : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken appId:(NSString *)appId withPurchases:(NSArray *)purchases;
-+ (instancetype)withUserId:(NSString *)userId emailAuthToken:(NSString *)emailAuthToken appId:(NSString *)appId withPurchases:(NSArray *)purchases;
-@end
-
@interface OSRequestSubmitNotificationOpened : OneSignalRequest
+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId wasOpened:(BOOL)opened messageId:(NSString *)messageId withDeviceType:(NSNumber *)deviceType;
@end
-@interface OSRequestSyncHashedEmail : OneSignalRequest
-+ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId email:(NSString *)email networkType:(NSNumber *)netType;
-@end
-
NS_ASSUME_NONNULL_END
-@interface OSRequestUpdateDeviceToken : OneSignalRequest
-// Push channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier notificationTypes:(NSNumber * _Nullable)notificationTypes externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-// Email channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier withParentId:(NSString * _Nullable)parentId emailAuthToken:(NSString * _Nullable)emailAuthHash email:(NSString * _Nullable)email externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-// SMS channel update device token
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId deviceToken:(NSString * _Nullable)identifier smsAuthToken:(NSString * _Nullable)smsAuthToken externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestRegisterUser : OneSignalRequest
-+ (instancetype _Nonnull)withData:(NSDictionary * _Nonnull)registrationData userId:(NSString * _Nullable)userId;
-@end
-
-@interface OSRequestCreateDevice : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId withDeviceType:(NSNumber * _Nonnull)deviceType withEmail:(NSString * _Nullable)email withPlayerId:(NSString * _Nullable)playerId withEmailAuthHash:(NSString * _Nullable)emailAuthHash withExternalUserId:(NSString * _Nullable)externalUserId withExternalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId withDeviceType:(NSNumber * _Nonnull)deviceType withSMSNumber:(NSString * _Nullable)smsNumber withPlayerId:(NSString * _Nullable)playerId withSMSAuthHash:(NSString * _Nullable)smsAuthHash withExternalUserId:(NSString * _Nullable)externalUserId withExternalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestLogoutEmail : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId emailPlayerId:(NSString * _Nonnull)emailPlayerId devicePlayerId:(NSString * _Nonnull)devicePlayerId emailAuthHash:(NSString * _Nullable)emailAuthHash;
-@end
-
-@interface OSRequestLogoutSMS : OneSignalRequest
-+ (instancetype _Nonnull)withAppId:(NSString * _Nonnull)appId smsPlayerId:(NSString * _Nonnull)smsPlayerId smsAuthHash:(NSString * _Nullable)smsAuthHash devicePlayerId:(NSString * _Nonnull)devicePlayerId;
-@end
-
-@interface OSRequestSendTagsToServer : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId tags:(NSDictionary * _Nonnull)tags networkType:(NSNumber * _Nonnull)netType withEmailAuthHashToken:(NSString * _Nullable)emailAuthToken withExternalIdAuthHashToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId tags:(NSDictionary * _Nonnull)tags networkType:(NSNumber * _Nonnull)netType withSMSAuthHashToken:(NSString * _Nullable)smsAuthToken withExternalIdAuthHashToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestUpdateLanguage : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- language:(NSString * _Nonnull)language
- emailAuthToken:(NSString * _Nullable)emailAuthHash
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- language:(NSString * _Nonnull)language
- smsAuthToken:(NSString * _Nullable)smsAuthToken
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestBadgeCount : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- badgeCount:(NSNumber * _Nonnull)badgeCount
- emailAuthToken:(NSString * _Nullable)emailAuthHash
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
- appId:(NSString * _Nonnull)appId
- badgeCount:(NSNumber * _Nonnull)badgeCount
- smsAuthToken:(NSString * _Nullable)smsAuthToken
- externalIdAuthToken:(NSString * _Nullable)externalIdAuthToken;
-@end
-
-@interface OSRequestUpdateExternalUserId : OneSignalRequest
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId appId:(NSString * _Nonnull)appId;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withEmailHashToken:(NSString * _Nullable)emailHashToken appId:(NSString * _Nonnull)appId;
-
-+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withSMSHashToken:(NSString * _Nullable)smsHashToken appId:(NSString * _Nonnull)appId;
-@end
-
-
@interface OSRequestTrackV1 : OneSignalRequest
+ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
appId:(NSString * _Nonnull)appId;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalClient.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalClient.h
index 432a9abda..46f466add 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalClient.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalClient.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OneSignalRequest.h"
+#import
#ifndef OneSignalClient_h
#define OneSignalClient_h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCommonDefines.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCommonDefines.h
index 505526611..23ba4f2e9 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCommonDefines.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCommonDefines.h
@@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App
-#define ONESIGNAL_VERSION @"031102"
+#define ONESIGNAL_VERSION @"050000-alpha-01"
#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
@@ -65,27 +65,9 @@
#define OSUD_PERMISSION_EPHEMERAL_FROM @"OSUD_PERMISSION_EPHEMERAL_FROM" // * OSUD_PERMISSION_EPHEMERAL_FROM
#define OSUD_LANGUAGE @"OSUD_LANGUAGE" // * OSUD_LANGUAGE
#define DEFAULT_LANGUAGE @"en" // * OSUD_LANGUAGE
-// Player
-#define OSUD_EXTERNAL_USER_ID @"OS_EXTERNAL_USER_ID" // * OSUD_EXTERNAL_USER_ID
-#define OSUD_PLAYER_ID_TO @"GT_PLAYER_ID" // * OSUD_PLAYER_ID_TO
-#define OSUD_PLAYER_ID_FROM @"GT_PLAYER_ID_LAST" // * OSUD_PLAYER_ID_FROM
-#define OSUD_PUSH_TOKEN_TO @"GT_DEVICE_TOKEN" // * OSUD_PUSH_TOKEN_TO
-#define OSUD_PUSH_TOKEN_FROM @"GT_DEVICE_TOKEN_LAST" // * OSUD_PUSH_TOKEN_FROM
-#define OSUD_USER_SUBSCRIPTION_TO @"ONESIGNAL_SUBSCRIPTION" // * OSUD_USER_SUBSCRIPTION_TO
-#define OSUD_USER_SUBSCRIPTION_FROM @"ONESIGNAL_SUBSCRIPTION_SETTING" // * OSUD_USER_SUBSCRIPTION_FROM
-#define OSUD_EXTERNAL_ID_AUTH_CODE @"OSUD_EXTERNAL_ID_AUTH_CODE"
-// Email
-#define OSUD_EMAIL_ADDRESS @"EMAIL_ADDRESS" // * OSUD_EMAIL_ADDRESS
-#define OSUD_EMAIL_PLAYER_ID @"GT_EMAIL_PLAYER_ID" // * OSUD_EMAIL_PLAYER_ID
-#define OSUD_EMAIL_EXTERNAL_USER_ID @"OSUD_EMAIL_EXTERNAL_USER_ID" // OSUD_EMAIL_EXTERNAL_USER_ID
-#define OSUD_REQUIRE_EMAIL_AUTH @"GT_REQUIRE_EMAIL_AUTH" // * OSUD_REQUIRE_EMAIL_AUTH
-#define OSUD_EMAIL_AUTH_CODE @"GT_EMAIL_AUTH_CODE" // * OSUD_EMAIL_AUTH_CODE
-// SMS
-#define OSUD_SMS_NUMBER @"OSUD_SMS_NUMBER"
-#define OSUD_SMS_PLAYER_ID @"OSUD_SMS_PLAYER_ID"
-#define OSUD_SMS_EXTERNAL_USER_ID @"OSUD_SMS_EXTERNAL_USER_ID"
-#define OSUD_REQUIRE_SMS_AUTH @"OSUD_REQUIRE_SMS_AUTH"
-#define OSUD_SMS_AUTH_CODE @"OSUD_SMS_AUTH_CODE"
+// Push Subscription
+#define OSUD_PUSH_SUBSCRIPTION_ID @"GT_PLAYER_ID" // * OSUD_PUSH_SUBSCRIPTION_ID
+#define OSUD_PUSH_TOKEN @"GT_DEVICE_TOKEN" // * OSUD_PUSH_TOKEN
// Notification
#define OSUD_LAST_MESSAGE_OPENED @"GT_LAST_MESSAGE_OPENED_" // * OSUD_MOST_RECENT_NOTIFICATION_OPENED
#define OSUD_NOTIFICATION_OPEN_LAUNCH_URL @"ONESIGNAL_INAPP_LAUNCH_URL" // * OSUD_NOTIFICATION_OPEN_LAUNCH_URL
@@ -118,8 +100,6 @@
#define OSUD_APP_LAST_CLOSED_TIME @"GT_LAST_CLOSED_TIME" // * OSUD_APP_LAST_CLOSED_TIME
#define OSUD_UNSENT_ACTIVE_TIME @"GT_UNSENT_ACTIVE_TIME" // * OSUD_UNSENT_ACTIVE_TIME
#define OSUD_UNSENT_ACTIVE_TIME_ATTRIBUTED @"GT_UNSENT_ACTIVE_TIME_ATTRIBUTED" // * OSUD_UNSENT_ACTIVE_TIME_ATTRIBUTED
-#define OSUD_PLAYER_TAGS @"OSUD_PLAYER_TAGS"
- // * OSUD_PLAYER_TAGS
// Deprecated Selectors
#define DEPRECATED_SELECTORS @[ @"application:didReceiveLocalNotification:", \
@@ -200,6 +180,11 @@ typedef enum {BACKGROUND, END_SESSION} FocusEventType;
typedef enum {ATTRIBUTED, NOT_ATTRIBUTED} FocusAttributionState;
#define focusAttributionStateString(enum) [@[@"ATTRIBUTED", @"NOT_ATTRIBUTED"] objectAtIndex:enum]
+// OneSignal Background Task Identifiers
+#define ATTRIBUTED_FOCUS_TASK @"ATTRIBUTED_FOCUS_TASK"
+#define UNATTRIBUTED_FOCUS_TASK @"UNATTRIBUTED_FOCUS_TASK"
+#define USER_MANAGER_BACKGROUND_TASK @"USER_MANAGER_BACKGROUND_TASK"
+
// OneSignal constants
#define OS_PUSH @"push"
#define OS_EMAIL @"email"
@@ -209,8 +194,8 @@ typedef enum {ATTRIBUTED, NOT_ATTRIBUTED} FocusAttributionState;
#define OS_CHANNELS @[OS_PUSH, OS_EMAIL, OS_SMS]
// OneSignal API Client Defines
-typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
-#define OS_API_CLIENT_STRINGS @[@"GET", @"POST", @"HEAD", @"PUT", @"DELETE", @"OPTIONS", @"CONNECT", @"TRACE"]
+typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTPMethod;
+#define OS_API_CLIENT_STRINGS @[@"GET", @"POST", @"HEAD", @"PUT", @"DELETE", @"OPTIONS", @"CONNECT", @"TRACE", @"PATCH"]
#define httpMethodString(enum) [OS_API_CLIENT_STRINGS objectAtIndex:enum]
// Notification types
@@ -233,13 +218,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
// 1 week in seconds
#define WEEK_IN_SECONDS 604800.0
-// Registration delay
-#define REGISTRATION_DELAY_SECONDS 30.0
-
-// How long the SDK will wait for APNS to respond
-// before registering the user anyways
-#define APNS_TIMEOUT 25.0
-
// The SDK saves a list of category ID's allowing multiple notifications
// to have their own unique buttons/etc.
#define SHARED_CATEGORY_LIST @"com.onesignal.shared_registered_categories"
@@ -301,4 +279,52 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
#define MAX_NOTIFICATION_MEDIA_SIZE_BYTES 50000000
+#pragma mark User Model
+
+#define OS_ONESIGNAL_ID @"onesignal_id"
+#define OS_EXTERNAL_ID @"external_id"
+
+#define OS_RETAIN_PREVIOUS_USER @"retain_previous_user"
+#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"
+
+// Models and Model Stores
+#define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY"
+#define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY"
+#define OS_PROPERTIES_MODEL_KEY @"OS_PROPERTIES_MODEL_KEY"
+#define OS_PROPERTIES_MODEL_STORE_KEY @"OS_PROPERTIES_MODEL_STORE_KEY"
+#define OS_PUSH_SUBSCRIPTION_MODEL_KEY @"OS_PUSH_SUBSCRIPTION_MODEL_KEY"
+#define OS_PUSH_SUBSCRIPTION_MODEL_STORE_KEY @"OS_PUSH_SUBSCRIPTION_MODEL_STORE_KEY"
+#define OS_SUBSCRIPTION_MODEL_STORE_KEY @"OS_SUBSCRIPTION_MODEL_STORE_KEY"
+
+// Deltas
+#define OS_ADD_ALIAS_DELTA @"OS_ADD_ALIAS_DELTA"
+#define OS_REMOVE_ALIAS_DELTA @"OS_REMOVE_ALIAS_DELTA"
+
+#define OS_UPDATE_PROPERTIES_DELTA @"OS_UPDATE_PROPERTIES_DELTA"
+
+#define OS_ADD_SUBSCRIPTION_DELTA @"OS_ADD_SUBSCRIPTION_DELTA"
+#define OS_REMOVE_SUBSCRIPTION_DELTA @"OS_REMOVE_SUBSCRIPTION_DELTA"
+#define OS_UPDATE_SUBSCRIPTION_DELTA @"OS_UPDATE_SUBSCRIPTION_DELTA"
+
+// Operation Repo
+#define OS_OPERATION_REPO_DELTA_QUEUE_KEY @"OS_OPERATION_REPO_DELTA_QUEUE_KEY"
+
+// User Executor
+#define OS_USER_EXECUTOR_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_REQUEST_QUEUE_KEY"
+
+// Identity Executor
+#define OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_IDENTITY_EXECUTOR_ADD_REQUEST_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_ADD_REQUEST_QUEUE_KEY"
+#define OS_IDENTITY_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY"
+
+// Property Executor
+#define OS_PROPERTIES_EXECUTOR_DELTA_QUEUE_KEY @"OS_PROPERTIES_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_PROPERTIES_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY @"OS_PROPERTIES_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY"
+
+// Subscription Executor
+#define OS_SUBSCRIPTION_EXECUTOR_DELTA_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_ADD_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_ADD_REQUEST_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY"
+
#endif /* OneSignalCommonDefines_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalConfigManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalConfigManager.h
new file mode 100644
index 000000000..481b16eee
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalConfigManager.h
@@ -0,0 +1,36 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+@interface OneSignalConfigManager : NSObject
+
++ (void)setAppId:(NSString *)appId;
++ (NSString *_Nullable)getAppId;
++ (BOOL)shouldAwaitAppIdAndLogMissingPrivacyConsentForMethod:(NSString *)methodName;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCore.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCore.h
index 5d7cc7c88..d8297cae1 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCore.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCore.h
@@ -27,24 +27,29 @@
#pragma clang diagnostic ignored "-Wnullability-completeness"
#import
-#import "OneSignalUserDefaults.h"
-#import "OneSignalCommonDefines.h"
-#import "OSNotification.h"
-#import "OSNotification+Internal.h"
-#import "OSNotificationClasses.h"
-#import "OneSignalLog.h"
-#import "NSURL+OneSignal.h"
-#import "NSString+OneSignal.h"
-#import "OSRequests.h"
-#import "OneSignalRequest.h"
-#import "OneSignalClient.h"
-#import "OneSignalCoreHelper.h"
-#import "OneSignalTrackFirebaseAnalytics.h"
-#import "OSMacros.h"
-#import "OSJSONHandling.h"
-#import "OSPrivacyConsentController.h"
-
-@interface OneSignalCore : NSObject
-
-@end
-
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCoreHelper.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCoreHelper.h
index 2a95e9c38..4df11aa83 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCoreHelper.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalCoreHelper.h
@@ -37,4 +37,12 @@
+ (NSString*)hashUsingSha1:(NSString*)string;
+ (NSString*)hashUsingMD5:(NSString*)string;
+ (NSString*)trimURLSpacing:(NSString*)url;
++ (NSString*)parseNSErrorAsJsonString:(NSError*)error;
++ (BOOL)isOneSignalPayload:(NSDictionary *)payload;
++ (NSMutableDictionary*) formatApsPayloadIntoStandard:(NSDictionary*)remoteUserInfo identifier:(NSString*)identifier;
++ (BOOL)isRemoteSilentNotification:(NSDictionary*)msg;
++ (BOOL)isDisplayableNotification:(NSDictionary*)msg;
++ (NSString*)randomStringWithLength:(int)length;
++ (BOOL)verifyURL:(NSString *)urlString;
++ (BOOL)isWWWScheme:(NSURL*)url;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalLog.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalLog.h
index 63bf4e1aa..2f36f30c3 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalLog.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalLog.h
@@ -26,8 +26,6 @@
*/
#import
-@interface OneSignalLog : NSObject
-#pragma mark Logging
typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
ONE_S_LL_NONE,
ONE_S_LL_FATAL,
@@ -38,7 +36,14 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
ONE_S_LL_VERBOSE
};
+@protocol OSDebug
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
-+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
++ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+@end
+@interface OneSignalLog : NSObject
++ (Class)Debug;
++ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
++ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
++ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalMobileProvision.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalMobileProvision.h
new file mode 100644
index 000000000..b040ea114
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalMobileProvision.h
@@ -0,0 +1,23 @@
+//
+// OneSignalMobileProvision.h
+// Renamed from UIApplication+BSMobileProvision.h to prevent conflicts
+//
+// Created by kaolin fire on 2013-06-24.
+// Copyright (c) 2013 The Blindsight Corporation. All rights reserved.
+// Released under the BSD 2-Clause License (see LICENSE)
+
+typedef NS_ENUM(NSInteger, OSUIApplicationReleaseMode) {
+ UIApplicationReleaseUnknown,
+ UIApplicationReleaseDev,
+ UIApplicationReleaseAdHoc,
+ UIApplicationReleaseWildcard,
+ UIApplicationReleaseAppStore,
+ UIApplicationReleaseSim,
+ UIApplicationReleaseEnterprise
+};
+
+@interface OneSignalMobileProvision : NSObject
+
++ (OSUIApplicationReleaseMode) releaseMode;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalRequest.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalRequest.h
index 4e1b1fa82..be81332ed 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalRequest.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalRequest.h
@@ -28,7 +28,7 @@
#pragma clang diagnostic ignored "-Wnullability-completeness"
#import
-#import "OneSignalCommonDefines.h"
+#import
#ifndef OneSignalRequest_h
@@ -47,6 +47,7 @@ typedef void (^OSFailureBlock)(NSError* error);
@property (strong, nonatomic, nullable) NSDictionary *additionalHeaders;
@property (nonatomic) int reattemptCount;
@property (nonatomic) BOOL dataRequest; //false for JSON based requests
+@property (nonatomic) NSDate *timestamp;
-(BOOL)missingAppId; //for requests that don't require an appId parameter, the subclass should override this method and return false
-(NSMutableURLRequest * _Nonnull )urlRequest;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalSelectorHelpers.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalSelectorHelpers.h
new file mode 100644
index 000000000..4cd8469c7
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalSelectorHelpers.h
@@ -0,0 +1,34 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OneSignalSelectorHelpers_h
+#define OneSignalSelectorHelpers_h
+
+// Functions to help sizzle methods.
+BOOL injectSelector(Class targetClass, SEL targetSelector, Class myClass, SEL mySelector);
+
+#endif /* OneSignalSelectorHelpers_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalTrackFirebaseAnalytics.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalTrackFirebaseAnalytics.h
index 7cc355975..b40a02eb5 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalTrackFirebaseAnalytics.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/OneSignalTrackFirebaseAnalytics.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OSNotificationClasses.h"
+#import
@interface OneSignalTrackFirebaseAnalytics : NSObject
+(BOOL)libraryExists;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/SwizzlingForwarder.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/SwizzlingForwarder.h
new file mode 100644
index 000000000..5559b52d1
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Headers/SwizzlingForwarder.h
@@ -0,0 +1,38 @@
+#import
+
+NS_ASSUME_NONNULL_BEGIN
+
+/**
+ Use this in your swizzled methods implementations to ensure your swizzling
+ does not create side effects.
+ This is done by checking if there was an existing implementations and also if
+ the object has a forwardingTargetForSelector: setup.
+ */
+@interface SwizzlingForwarder : NSObject
+/**
+ Constructor to setup this instance so you can call invokeWithArgs latter
+ to forward the call onto the correct selector and object so you swizzling does
+ create any cause side effects.
+ @param object Your object, normally you should pass in self.
+ @param yourSelector Your named selector.
+ @param originalSelector The original selector, the one you would call if
+ swizzling was out of the picture.
+ @return Always returns an instance.
+ */
+-(instancetype)initWithTarget:(id)object
+ withYourSelector:(SEL)yourSelector
+ withOriginalSelector:(SEL)originalSelector;
+
+/**
+ Optionally call before invokeWithArgs to know it will execute anything.
+ */
+-(BOOL)hasReceiver;
+
+/**
+ Must call this to call in your swizzled method somewhere to ensure the
+ original code is still run.
+ */
+-(void)invokeWithArgs:(NSArray*)args;
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/OneSignalCore b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/OneSignalCore
index 6ed9833e1..57c8672b1 100755
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/OneSignalCore and b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/OneSignalCore differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Resources/Info.plist
index f73f78d28..1f9d1fbf6 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Resources/Info.plist
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/Resources/Info.plist
@@ -3,7 +3,7 @@
BuildMachineOSBuild
- 20E241
+ 21G72
CFBundleDevelopmentRegion
en
CFBundleExecutable
@@ -27,19 +27,19 @@
DTCompiler
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
- 13C100
+ 14B47
DTPlatformName
macosx
DTPlatformVersion
- 12.1
+ 13.0
DTSDKBuild
- 21C46
+ 22A372
DTSDKName
- macosx12.1
+ macosx13.0
DTXcode
- 1321
+ 1410
DTXcodeBuild
- 13C100
+ 14B47
LSMinimumSystemVersion
10.15
UIDeviceFamily
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/_CodeSignature/CodeResources
index 831363884..ef97e402f 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/_CodeSignature/CodeResources
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalCore.framework/Versions/A/_CodeSignature/CodeResources
@@ -6,11 +6,18 @@
Resources/Info.plist
- d/6zbYwnUTM67RvvnNjUWNAAKIU=
+ TDZyXPkD5rWGvmYa+/URMu+V4kI=
files2
+ Headers/NSDateFormatter+OneSignal.h
+
+ hash2
+
+ hn2vYW78u8AOY/ve3SKGul3cFrG350NV3Um0+EzhGHU=
+
+
Headers/NSString+OneSignal.h
hash2
@@ -25,11 +32,25 @@
DC9WcVr/94eTh7NHtwKhA8C2fPJVJfY0nn9A6fuHGhA=
+ Headers/OSDeviceUtils.h
+
+ hash2
+
+ CJpM5If7vZz4m960lM+ulaOZohExs1bTVVH5q0zODe4=
+
+
+ Headers/OSDialogInstanceManager.h
+
+ hash2
+
+ VHQRipAjzHtXPkUXXH4YvMFBZS9BgNyDe0llpuFstT8=
+
+
Headers/OSJSONHandling.h
hash2
- kwMvLl1JtYBgIUz5NHRrummY0mdnyAPM2lP6HtOGETw=
+ s3NgkOLqd6fRlHYOq0qucoCdi9UhfSqxLGpl26BnNck=
Headers/OSMacros.h
@@ -39,11 +60,18 @@
aKanW/TgpNzztpIpYJVbnxfUUFcNJAolzoX8n0+EwJc=
+ Headers/OSNetworkingUtils.h
+
+ hash2
+
+ ItFeaL2odYTkJOQJKL87zSdrc69fJx36bv6/fi0gBDQ=
+
+
Headers/OSNotification+Internal.h
hash2
- bz9UK/DGxP8LAEzMdBiUj0l9UsfhSo11AUAW6X1NfNQ=
+ HTm2j1hepBvpJTVpL9yoinrtVoXPyBqD6UVOtRJcoGY=
Headers/OSNotification.h
@@ -57,70 +85,105 @@
hash2
- TfTvbYwUILlXsIfPJ92tgrhSS23UTibhhKt6j4Q984U=
+ egqNeJ1zJAyIjXAvTNBFqVuEQFl67+LbQ/B7V0jK2Rk=
+
+
+ Headers/OSObservable.h
+
+ hash2
+
+ R123THdisLYR5MKy2Wn8W5io6MEKh/bDRfZmFNF0YLQ=
Headers/OSPrivacyConsentController.h
hash2
- Nl0w50EzXPgal1ghTEM3QIoYLzOYHH195NTzq3Zlvmo=
+ ZbsLBZFACw0H6sd80zOvxaGw6Jq/0Sz1diu28fYUOZY=
+
+
+ Headers/OSRemoteParamController.h
+
+ hash2
+
+ ksHXJtuz3uj948tfqdNMchzP74zrK8cUPqvAVUHa3tQ=
Headers/OSRequests.h
hash2
- GmdFYLP8Zwsod7m7aemuj8E4msAflq+RJTLAA2Y/hpY=
+ M/MLqkkd57nFrH1WC5Rxa4vhOv3dQqS1upnW0aHrl+I=
Headers/OneSignalClient.h
hash2
- cbF3Wa3Lqa0Wb2275ot3ploX1KXQ+znQBiBOu0TzV6M=
+ CSAZbyxJ1QBEtH5JYy/HwJiYsj+udPG1u4dhMFgkUtQ=
Headers/OneSignalCommonDefines.h
hash2
- NWKAhHt3dT7cwBqI8e/mkUC54p3rq3BI9kesgwCBiQs=
+ cdCnbPkA8/s6gZ1onf57+ViY/4vwE9C0iX0t248KVkY=
+
+
+ Headers/OneSignalConfigManager.h
+
+ hash2
+
+ 6+sJzc6wU2Vd6ZJtouqBsA12C1qGLBjFS/ED/+he950=
Headers/OneSignalCore.h
hash2
- uLAWfHauq9MJASOHxa8O6emo1oXTfJcLShIdOAUxG88=
+ iHKL75wMiv4mJ4emUkeYjDhpelhCMWjQE0+DCGnjbuo=
Headers/OneSignalCoreHelper.h
hash2
- vK6D0j+ZbW5ycXiO3jb9aLvluPdvyYGxCSFl1gkVp14=
+ UGIkfh6atqLP1mZmCLrT4t6Sw99OCMnd/8aGq8vaUYU=
Headers/OneSignalLog.h
hash2
- fXXHmsA5in9ZjZz8sHnl3WaN/xiOjw63toiJ0AzJTE4=
+ nyebF5JgbuqB46Vsbi6A0g0HVGb9YNyMX1PaHKTScVw=
+
+
+ Headers/OneSignalMobileProvision.h
+
+ hash2
+
+ l0RcO5v+JFSsTR7XTKreN7doUQ28JwnxoHpQKZd00vU=
Headers/OneSignalRequest.h
hash2
- 69iw4bnJGwQNk11KAchyrRMPCM6Rf4C9Wvn+HMnTCXc=
+ b0DH58A5Q4B9Cj/lCH23eT3A6PqLAijRhgpNgm6nCbQ=
+
+
+ Headers/OneSignalSelectorHelpers.h
+
+ hash2
+
+ FcuF30Rl2JdaHXFJ+B6tKmImZk5GiiEUtfmseHgsVO8=
Headers/OneSignalTrackFirebaseAnalytics.h
hash2
- VCgGIHlXYAQKerOcmqkIesJ+B+oWLXQya/3m1cYjnKc=
+ QQQ+yTOmYNCSKMYVwsP/jh0kJrt6EWJcaywB7947kO0=
Headers/OneSignalUserDefaults.h
@@ -130,6 +193,13 @@
QIYtzchiCKQguyJOSY6PEhV0H98JRi2PdXSBmZxxLN4=
+ Headers/SwizzlingForwarder.h
+
+ hash2
+
+ 9kEbEQebIgu9aMkeBUQpTkT17xgIRXd1EC50UYWEmL8=
+
+
Modules/module.modulemap
hash2
@@ -141,7 +211,7 @@
hash2
- 0hofut3zuH07bfgcc25hR8z79GWueh5ktZqlv3RmVhY=
+ 4QdEexwLXqtQB6MbpfmTYKzSlIKwLWPNbUeC2PUz804=
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/NSDateFormatter+OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/NSDateFormatter+OneSignal.h
new file mode 100644
index 000000000..eb40931a9
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/NSDateFormatter+OneSignal.h
@@ -0,0 +1,31 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2020 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+@interface NSDateFormatter (OneSignal)
++ (instancetype)iso8601DateFormatter;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/NSString+OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/NSString+OneSignal.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/NSString+OneSignal.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/NSString+OneSignal.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/NSURL+OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/NSURL+OneSignal.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/NSURL+OneSignal.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/NSURL+OneSignal.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSDeviceUtils.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSDeviceUtils.h
new file mode 100644
index 000000000..e646d6d1d
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSDeviceUtils.h
@@ -0,0 +1,41 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+// NS_ASSUME_NONNULL_BEGIN
+
+@interface OSDeviceUtils : NSObject
+
++ (NSString *)getCurrentDeviceVersion;
++ (BOOL)isIOSVersionGreaterThanOrEqual:(NSString *)version;
++ (BOOL)isIOSVersionLessThan:(NSString *)version;
++ (NSString*)getDeviceVariant;
+
+@end
+
+// NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSDialogInstanceManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSDialogInstanceManager.h
new file mode 100644
index 000000000..a1e0ca559
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSDialogInstanceManager.h
@@ -0,0 +1,21 @@
+//
+// OSDialogPresenter.h
+// OneSignal
+//
+// Created by Elliot Mawby on 11/2/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+typedef void (^OSDialogActionCompletion)(int tappedActionIndex);
+
+@protocol OSDialogPresenter
+- (void)presentDialogWithTitle:(NSString * _Nonnull)title withMessage:(NSString * _Nonnull)message withActions:(NSArray * _Nullable)actionTitles cancelTitle:(NSString * _Nonnull)cancelTitle withActionCompletion:(OSDialogActionCompletion _Nullable)completion;
+- (void)clearQueue;
+@end
+
+@interface OSDialogInstanceManager : NSObject
++ (void)setSharedInstance:(NSObject *_Nonnull)instance;
++ (NSObject *_Nullable)sharedInstance;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSJSONHandling.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSJSONHandling.h
similarity index 97%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSJSONHandling.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSJSONHandling.h
index 0a565039a..2979b48e6 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSJSONHandling.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSJSONHandling.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OSNotification.h"
+#import
@protocol OSJSONDecodable
+ (instancetype _Nullable)instanceWithData:(NSData * _Nonnull)data;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSMacros.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSMacros.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSMacros.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSMacros.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNetworkingUtils.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNetworkingUtils.h
new file mode 100644
index 000000000..585f8278b
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNetworkingUtils.h
@@ -0,0 +1,38 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+// NS_ASSUME_NONNULL_BEGIN
+
+@interface OSNetworkingUtils : NSObject
+
++ (NSNumber*)getNetType;
+
+@end
+
+// NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification+Internal.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification+Internal.h
similarity index 97%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification+Internal.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification+Internal.h
index cdc43ea8e..8dd70354e 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification+Internal.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification+Internal.h
@@ -25,7 +25,7 @@
* THE SOFTWARE.
*/
-#import "OSNotificationClasses.h"
+#import
#ifndef OSNotification_Internal_h
#define OSNotification_Internal_h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotification.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotificationClasses.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotificationClasses.h
similarity index 98%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotificationClasses.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotificationClasses.h
index 2d8fed289..85dcb7cdb 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSNotificationClasses.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSNotificationClasses.h
@@ -25,7 +25,7 @@
* THE SOFTWARE.
*/
-#import "OSNotification.h"
+#import
// Pass in nil means a notification will not display
typedef void (^OSNotificationDisplayResponse)(OSNotification* _Nullable notification);
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSObservable.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSObservable.h
new file mode 100644
index 000000000..faaa2fc35
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSObservable.h
@@ -0,0 +1,43 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OSObservable_h
+#define OSObservable_h
+
+
+@protocol OSObserver
+- (void)onChanged:(id)state;
+@end
+
+@interface OSObservable<__covariant ObserverType, __covariant ObjectType> : NSObject
+- (instancetype _Nonnull)initWithChangeSelector:(SEL)selector;
+- (void)addObserver:(ObserverType)observer;
+- (void)removeObserver:(ObserverType)observer;
+- (BOOL)notifyChange:(ObjectType)state;
+@end
+
+#endif /* OSObservable_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSPrivacyConsentController.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
similarity index 94%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
index 37c4f09e6..63f5beb56 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSPrivacyConsentController.h
@@ -29,5 +29,7 @@ THE SOFTWARE.
@interface OSPrivacyConsentController : NSObject
+ (BOOL)requiresUserPrivacyConsent;
+ (void)consentGranted:(BOOL)granted;
++ (BOOL)getPrivacyConsent;
+ (BOOL)shouldLogMissingPrivacyConsentErrorWithMethodName:(NSString *)methodName;
++ (void)setRequiresPrivacyConsent:(BOOL)required;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSRemoteParamController.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSRemoteParamController.h
new file mode 100644
index 000000000..94df375af
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSRemoteParamController.h
@@ -0,0 +1,48 @@
+/**
+Modified MIT License
+
+Copyright 2020 OneSignal
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+1. The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+2. All copies of substantial portions of the Software may only be used in connection
+with services provided by OneSignal.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+#ifndef OSRemoteParamController_h
+#define OSRemoteParamController_h
+
+@interface OSRemoteParamController : NSObject
+
++ (OSRemoteParamController *)sharedController;
+
+@property (strong, nonatomic, readonly, nonnull) NSDictionary *remoteParams;
+
+- (void)saveRemoteParams:(NSDictionary *_Nonnull)params;
+- (BOOL)hasLocationKey;
+- (BOOL)hasPrivacyConsentKey;
+
+- (BOOL)isLocationShared;
+- (void)saveLocationShared:(BOOL)shared;
+- (BOOL)isPrivacyConsentRequired;
+- (void)savePrivacyConsentRequired:(BOOL)shared;
+
+@end
+
+#endif /* OSRemoteParamController_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSRequests.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSRequests.h
new file mode 100644
index 000000000..bc3a2c3d3
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OSRequests.h
@@ -0,0 +1,55 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+#import
+
+#ifndef OneSignalRequests_h
+#define OneSignalRequests_h
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface OSRequestGetIosParams : OneSignalRequest
++ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId;
+@end
+
+@interface OSRequestPostNotification : OneSignalRequest
++ (instancetype)withAppId:(NSString *)appId withJson:(NSMutableDictionary *)json;
+@end
+
+@interface OSRequestSubmitNotificationOpened : OneSignalRequest
++ (instancetype)withUserId:(NSString *)userId appId:(NSString *)appId wasOpened:(BOOL)opened messageId:(NSString *)messageId withDeviceType:(NSNumber *)deviceType;
+@end
+
+NS_ASSUME_NONNULL_END
+
+@interface OSRequestTrackV1 : OneSignalRequest
++ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
+ appId:(NSString * _Nonnull)appId;
+@end
+#endif /* Requests_h */
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalClient.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalClient.h
similarity index 98%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalClient.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalClient.h
index 432a9abda..46f466add 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalClient.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalClient.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OneSignalRequest.h"
+#import
#ifndef OneSignalClient_h
#define OneSignalClient_h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCommonDefines.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
similarity index 81%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
index 505526611..23ba4f2e9 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCommonDefines.h
@@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App
-#define ONESIGNAL_VERSION @"031102"
+#define ONESIGNAL_VERSION @"050000-alpha-01"
#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
@@ -65,27 +65,9 @@
#define OSUD_PERMISSION_EPHEMERAL_FROM @"OSUD_PERMISSION_EPHEMERAL_FROM" // * OSUD_PERMISSION_EPHEMERAL_FROM
#define OSUD_LANGUAGE @"OSUD_LANGUAGE" // * OSUD_LANGUAGE
#define DEFAULT_LANGUAGE @"en" // * OSUD_LANGUAGE
-// Player
-#define OSUD_EXTERNAL_USER_ID @"OS_EXTERNAL_USER_ID" // * OSUD_EXTERNAL_USER_ID
-#define OSUD_PLAYER_ID_TO @"GT_PLAYER_ID" // * OSUD_PLAYER_ID_TO
-#define OSUD_PLAYER_ID_FROM @"GT_PLAYER_ID_LAST" // * OSUD_PLAYER_ID_FROM
-#define OSUD_PUSH_TOKEN_TO @"GT_DEVICE_TOKEN" // * OSUD_PUSH_TOKEN_TO
-#define OSUD_PUSH_TOKEN_FROM @"GT_DEVICE_TOKEN_LAST" // * OSUD_PUSH_TOKEN_FROM
-#define OSUD_USER_SUBSCRIPTION_TO @"ONESIGNAL_SUBSCRIPTION" // * OSUD_USER_SUBSCRIPTION_TO
-#define OSUD_USER_SUBSCRIPTION_FROM @"ONESIGNAL_SUBSCRIPTION_SETTING" // * OSUD_USER_SUBSCRIPTION_FROM
-#define OSUD_EXTERNAL_ID_AUTH_CODE @"OSUD_EXTERNAL_ID_AUTH_CODE"
-// Email
-#define OSUD_EMAIL_ADDRESS @"EMAIL_ADDRESS" // * OSUD_EMAIL_ADDRESS
-#define OSUD_EMAIL_PLAYER_ID @"GT_EMAIL_PLAYER_ID" // * OSUD_EMAIL_PLAYER_ID
-#define OSUD_EMAIL_EXTERNAL_USER_ID @"OSUD_EMAIL_EXTERNAL_USER_ID" // OSUD_EMAIL_EXTERNAL_USER_ID
-#define OSUD_REQUIRE_EMAIL_AUTH @"GT_REQUIRE_EMAIL_AUTH" // * OSUD_REQUIRE_EMAIL_AUTH
-#define OSUD_EMAIL_AUTH_CODE @"GT_EMAIL_AUTH_CODE" // * OSUD_EMAIL_AUTH_CODE
-// SMS
-#define OSUD_SMS_NUMBER @"OSUD_SMS_NUMBER"
-#define OSUD_SMS_PLAYER_ID @"OSUD_SMS_PLAYER_ID"
-#define OSUD_SMS_EXTERNAL_USER_ID @"OSUD_SMS_EXTERNAL_USER_ID"
-#define OSUD_REQUIRE_SMS_AUTH @"OSUD_REQUIRE_SMS_AUTH"
-#define OSUD_SMS_AUTH_CODE @"OSUD_SMS_AUTH_CODE"
+// Push Subscription
+#define OSUD_PUSH_SUBSCRIPTION_ID @"GT_PLAYER_ID" // * OSUD_PUSH_SUBSCRIPTION_ID
+#define OSUD_PUSH_TOKEN @"GT_DEVICE_TOKEN" // * OSUD_PUSH_TOKEN
// Notification
#define OSUD_LAST_MESSAGE_OPENED @"GT_LAST_MESSAGE_OPENED_" // * OSUD_MOST_RECENT_NOTIFICATION_OPENED
#define OSUD_NOTIFICATION_OPEN_LAUNCH_URL @"ONESIGNAL_INAPP_LAUNCH_URL" // * OSUD_NOTIFICATION_OPEN_LAUNCH_URL
@@ -118,8 +100,6 @@
#define OSUD_APP_LAST_CLOSED_TIME @"GT_LAST_CLOSED_TIME" // * OSUD_APP_LAST_CLOSED_TIME
#define OSUD_UNSENT_ACTIVE_TIME @"GT_UNSENT_ACTIVE_TIME" // * OSUD_UNSENT_ACTIVE_TIME
#define OSUD_UNSENT_ACTIVE_TIME_ATTRIBUTED @"GT_UNSENT_ACTIVE_TIME_ATTRIBUTED" // * OSUD_UNSENT_ACTIVE_TIME_ATTRIBUTED
-#define OSUD_PLAYER_TAGS @"OSUD_PLAYER_TAGS"
- // * OSUD_PLAYER_TAGS
// Deprecated Selectors
#define DEPRECATED_SELECTORS @[ @"application:didReceiveLocalNotification:", \
@@ -200,6 +180,11 @@ typedef enum {BACKGROUND, END_SESSION} FocusEventType;
typedef enum {ATTRIBUTED, NOT_ATTRIBUTED} FocusAttributionState;
#define focusAttributionStateString(enum) [@[@"ATTRIBUTED", @"NOT_ATTRIBUTED"] objectAtIndex:enum]
+// OneSignal Background Task Identifiers
+#define ATTRIBUTED_FOCUS_TASK @"ATTRIBUTED_FOCUS_TASK"
+#define UNATTRIBUTED_FOCUS_TASK @"UNATTRIBUTED_FOCUS_TASK"
+#define USER_MANAGER_BACKGROUND_TASK @"USER_MANAGER_BACKGROUND_TASK"
+
// OneSignal constants
#define OS_PUSH @"push"
#define OS_EMAIL @"email"
@@ -209,8 +194,8 @@ typedef enum {ATTRIBUTED, NOT_ATTRIBUTED} FocusAttributionState;
#define OS_CHANNELS @[OS_PUSH, OS_EMAIL, OS_SMS]
// OneSignal API Client Defines
-typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
-#define OS_API_CLIENT_STRINGS @[@"GET", @"POST", @"HEAD", @"PUT", @"DELETE", @"OPTIONS", @"CONNECT", @"TRACE"]
+typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTPMethod;
+#define OS_API_CLIENT_STRINGS @[@"GET", @"POST", @"HEAD", @"PUT", @"DELETE", @"OPTIONS", @"CONNECT", @"TRACE", @"PATCH"]
#define httpMethodString(enum) [OS_API_CLIENT_STRINGS objectAtIndex:enum]
// Notification types
@@ -233,13 +218,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
// 1 week in seconds
#define WEEK_IN_SECONDS 604800.0
-// Registration delay
-#define REGISTRATION_DELAY_SECONDS 30.0
-
-// How long the SDK will wait for APNS to respond
-// before registering the user anyways
-#define APNS_TIMEOUT 25.0
-
// The SDK saves a list of category ID's allowing multiple notifications
// to have their own unique buttons/etc.
#define SHARED_CATEGORY_LIST @"com.onesignal.shared_registered_categories"
@@ -301,4 +279,52 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE} HTTPMethod;
#define MAX_NOTIFICATION_MEDIA_SIZE_BYTES 50000000
+#pragma mark User Model
+
+#define OS_ONESIGNAL_ID @"onesignal_id"
+#define OS_EXTERNAL_ID @"external_id"
+
+#define OS_RETAIN_PREVIOUS_USER @"retain_previous_user"
+#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"
+
+// Models and Model Stores
+#define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY"
+#define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY"
+#define OS_PROPERTIES_MODEL_KEY @"OS_PROPERTIES_MODEL_KEY"
+#define OS_PROPERTIES_MODEL_STORE_KEY @"OS_PROPERTIES_MODEL_STORE_KEY"
+#define OS_PUSH_SUBSCRIPTION_MODEL_KEY @"OS_PUSH_SUBSCRIPTION_MODEL_KEY"
+#define OS_PUSH_SUBSCRIPTION_MODEL_STORE_KEY @"OS_PUSH_SUBSCRIPTION_MODEL_STORE_KEY"
+#define OS_SUBSCRIPTION_MODEL_STORE_KEY @"OS_SUBSCRIPTION_MODEL_STORE_KEY"
+
+// Deltas
+#define OS_ADD_ALIAS_DELTA @"OS_ADD_ALIAS_DELTA"
+#define OS_REMOVE_ALIAS_DELTA @"OS_REMOVE_ALIAS_DELTA"
+
+#define OS_UPDATE_PROPERTIES_DELTA @"OS_UPDATE_PROPERTIES_DELTA"
+
+#define OS_ADD_SUBSCRIPTION_DELTA @"OS_ADD_SUBSCRIPTION_DELTA"
+#define OS_REMOVE_SUBSCRIPTION_DELTA @"OS_REMOVE_SUBSCRIPTION_DELTA"
+#define OS_UPDATE_SUBSCRIPTION_DELTA @"OS_UPDATE_SUBSCRIPTION_DELTA"
+
+// Operation Repo
+#define OS_OPERATION_REPO_DELTA_QUEUE_KEY @"OS_OPERATION_REPO_DELTA_QUEUE_KEY"
+
+// User Executor
+#define OS_USER_EXECUTOR_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_REQUEST_QUEUE_KEY"
+
+// Identity Executor
+#define OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_IDENTITY_EXECUTOR_ADD_REQUEST_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_ADD_REQUEST_QUEUE_KEY"
+#define OS_IDENTITY_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY"
+
+// Property Executor
+#define OS_PROPERTIES_EXECUTOR_DELTA_QUEUE_KEY @"OS_PROPERTIES_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_PROPERTIES_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY @"OS_PROPERTIES_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY"
+
+// Subscription Executor
+#define OS_SUBSCRIPTION_EXECUTOR_DELTA_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_DELTA_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_ADD_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_ADD_REQUEST_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_REMOVE_REQUEST_QUEUE_KEY"
+#define OS_SUBSCRIPTION_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY @"OS_SUBSCRIPTION_EXECUTOR_UPDATE_REQUEST_QUEUE_KEY"
+
#endif /* OneSignalCommonDefines_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalConfigManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalConfigManager.h
new file mode 100644
index 000000000..481b16eee
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalConfigManager.h
@@ -0,0 +1,36 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+@interface OneSignalConfigManager : NSObject
+
++ (void)setAppId:(NSString *)appId;
++ (NSString *_Nullable)getAppId;
++ (BOOL)shouldAwaitAppIdAndLogMissingPrivacyConsentForMethod:(NSString *)methodName;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCore.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCore.h
new file mode 100644
index 000000000..d8297cae1
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCore.h
@@ -0,0 +1,55 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2021 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#pragma clang diagnostic ignored "-Wnullability-completeness"
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCoreHelper.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
similarity index 79%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
index 2a95e9c38..4df11aa83 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCoreHelper.h
@@ -37,4 +37,12 @@
+ (NSString*)hashUsingSha1:(NSString*)string;
+ (NSString*)hashUsingMD5:(NSString*)string;
+ (NSString*)trimURLSpacing:(NSString*)url;
++ (NSString*)parseNSErrorAsJsonString:(NSError*)error;
++ (BOOL)isOneSignalPayload:(NSDictionary *)payload;
++ (NSMutableDictionary*) formatApsPayloadIntoStandard:(NSDictionary*)remoteUserInfo identifier:(NSString*)identifier;
++ (BOOL)isRemoteSilentNotification:(NSDictionary*)msg;
++ (BOOL)isDisplayableNotification:(NSDictionary*)msg;
++ (NSString*)randomStringWithLength:(int)length;
++ (BOOL)verifyURL:(NSString *)urlString;
++ (BOOL)isWWWScheme:(NSURL*)url;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalLog.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalLog.h
similarity index 86%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalLog.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalLog.h
index 63bf4e1aa..2f36f30c3 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalLog.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalLog.h
@@ -26,8 +26,6 @@
*/
#import
-@interface OneSignalLog : NSObject
-#pragma mark Logging
typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
ONE_S_LL_NONE,
ONE_S_LL_FATAL,
@@ -38,7 +36,14 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
ONE_S_LL_VERBOSE
};
+@protocol OSDebug
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
-+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
++ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+@end
+@interface OneSignalLog : NSObject
++ (Class)Debug;
++ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
++ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
++ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalMobileProvision.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalMobileProvision.h
new file mode 100644
index 000000000..b040ea114
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalMobileProvision.h
@@ -0,0 +1,23 @@
+//
+// OneSignalMobileProvision.h
+// Renamed from UIApplication+BSMobileProvision.h to prevent conflicts
+//
+// Created by kaolin fire on 2013-06-24.
+// Copyright (c) 2013 The Blindsight Corporation. All rights reserved.
+// Released under the BSD 2-Clause License (see LICENSE)
+
+typedef NS_ENUM(NSInteger, OSUIApplicationReleaseMode) {
+ UIApplicationReleaseUnknown,
+ UIApplicationReleaseDev,
+ UIApplicationReleaseAdHoc,
+ UIApplicationReleaseWildcard,
+ UIApplicationReleaseAppStore,
+ UIApplicationReleaseSim,
+ UIApplicationReleaseEnterprise
+};
+
+@interface OneSignalMobileProvision : NSObject
+
++ (OSUIApplicationReleaseMode) releaseMode;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalRequest.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalRequest.h
similarity index 96%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalRequest.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalRequest.h
index 4e1b1fa82..be81332ed 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalRequest.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalRequest.h
@@ -28,7 +28,7 @@
#pragma clang diagnostic ignored "-Wnullability-completeness"
#import
-#import "OneSignalCommonDefines.h"
+#import
#ifndef OneSignalRequest_h
@@ -47,6 +47,7 @@ typedef void (^OSFailureBlock)(NSError* error);
@property (strong, nonatomic, nullable) NSDictionary *additionalHeaders;
@property (nonatomic) int reattemptCount;
@property (nonatomic) BOOL dataRequest; //false for JSON based requests
+@property (nonatomic) NSDate *timestamp;
-(BOOL)missingAppId; //for requests that don't require an appId parameter, the subclass should override this method and return false
-(NSMutableURLRequest * _Nonnull )urlRequest;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalSelectorHelpers.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalSelectorHelpers.h
new file mode 100644
index 000000000..4cd8469c7
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalSelectorHelpers.h
@@ -0,0 +1,34 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OneSignalSelectorHelpers_h
+#define OneSignalSelectorHelpers_h
+
+// Functions to help sizzle methods.
+BOOL injectSelector(Class targetClass, SEL targetSelector, Class myClass, SEL mySelector);
+
+#endif /* OneSignalSelectorHelpers_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
similarity index 97%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
index 7cc355975..b40a02eb5 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalTrackFirebaseAnalytics.h
@@ -26,7 +26,7 @@
*/
#import
-#import "OSNotificationClasses.h"
+#import
@interface OneSignalTrackFirebaseAnalytics : NSObject
+(BOOL)libraryExists;
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalUserDefaults.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalUserDefaults.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalUserDefaults.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalUserDefaults.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/SwizzlingForwarder.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/SwizzlingForwarder.h
new file mode 100644
index 000000000..5559b52d1
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Headers/SwizzlingForwarder.h
@@ -0,0 +1,38 @@
+#import
+
+NS_ASSUME_NONNULL_BEGIN
+
+/**
+ Use this in your swizzled methods implementations to ensure your swizzling
+ does not create side effects.
+ This is done by checking if there was an existing implementations and also if
+ the object has a forwardingTargetForSelector: setup.
+ */
+@interface SwizzlingForwarder : NSObject
+/**
+ Constructor to setup this instance so you can call invokeWithArgs latter
+ to forward the call onto the correct selector and object so you swizzling does
+ create any cause side effects.
+ @param object Your object, normally you should pass in self.
+ @param yourSelector Your named selector.
+ @param originalSelector The original selector, the one you would call if
+ swizzling was out of the picture.
+ @return Always returns an instance.
+ */
+-(instancetype)initWithTarget:(id)object
+ withYourSelector:(SEL)yourSelector
+ withOriginalSelector:(SEL)originalSelector;
+
+/**
+ Optionally call before invokeWithArgs to know it will execute anything.
+ */
+-(BOOL)hasReceiver;
+
+/**
+ Must call this to call in your swizzled method somewhere to ensure the
+ original code is still run.
+ */
+-(void)invokeWithArgs:(NSArray*)args;
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Info.plist
similarity index 54%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Info.plist
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Info.plist
index a659fd397..f66091240 100644
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Info.plist differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Modules/module.modulemap
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Modules/module.modulemap
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Modules/module.modulemap
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/OneSignalCore b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/OneSignalCore
new file mode 100755
index 000000000..9c046bb2f
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/OneSignalCore differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources
similarity index 62%
rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources
rename to iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources
index 9375c0a13..5fd1dd176 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources
@@ -4,6 +4,10 @@
files
+ Headers/NSDateFormatter+OneSignal.h
+
+ ifs8KRiBPsLi2tcZaH5fqH8jlNg=
+
Headers/NSString+OneSignal.h
/HTg8wbY+rfIy9/kCShHF2Oev6Y=
@@ -12,17 +16,29 @@
RUcvMsE7Pj+BUpa1H4SgBH/O/EQ=
+ Headers/OSDeviceUtils.h
+
+ qZnSYyg9QxHCH9m743tw/0wlLEE=
+
+ Headers/OSDialogInstanceManager.h
+
+ PnoiGb2/H8T+q91po5vPVhJMXnA=
+
Headers/OSJSONHandling.h
- 91d8OZhU9KOTu2qY+EdAF+M47+E=
+ 4LPubo4CHRtzWQ0TUlW8TcnrpnA=
Headers/OSMacros.h
7HmaM9ljZnw77iovX0v/wnb3bX0=
+ Headers/OSNetworkingUtils.h
+
+ LwlsUTJlqWyOXjg5jrd2MiXaYUI=
+
Headers/OSNotification+Internal.h
- hwttm7oX6fN2cgP1Z4laQAKP49Q=
+ 4e+6YBjSX6NRA8rNizQp2+aBQ30=
Headers/OSNotification.h
@@ -30,51 +46,75 @@
Headers/OSNotificationClasses.h
- iNvshoGLl4IEMy2K1Lq2stVxdB4=
+ ffIK3c1zT2cADgVHard2wYmgrvQ=
+
+ Headers/OSObservable.h
+
+ EKZEgY7y78TFR02v2BdqFWq6wVc=
Headers/OSPrivacyConsentController.h
- //dQV0JwOyLrzhcfN4IkI2abbFM=
+ M+s6N3SgUW271aVJk0EYnL/UIAo=
+
+ Headers/OSRemoteParamController.h
+
+ vX2LZhQ43LmAjwjYp/La6Hloomc=
Headers/OSRequests.h
- AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
+ UZS3D91540HrPy/+mptjek+Cnhk=
Headers/OneSignalClient.h
- TAYBk2YV4sw9wzS85jL0QtcAen0=
+ xP3ln1gkiz3rYTGL3cLbXxIleq4=
Headers/OneSignalCommonDefines.h
- 8EW/BT5zG8zB/eiPeTO87RAHrmk=
+ tlUNi+6DSJlbVTqB2JwrRPm8wF4=
+
+ Headers/OneSignalConfigManager.h
+
+ rs5am2kldk0oFRiHVIRnYiOwwfk=
Headers/OneSignalCore.h
- T109aNL3gpg8ZtBUTteB6+7IuQ8=
+ bYttD+ZlFuou9kO+yEcixhnk96M=
Headers/OneSignalCoreHelper.h
- xQeNeuYQWybV7qex/9h0H2mvUqI=
+ AWb5daVf6cRJe0A0e5x5Gp7jU+U=
Headers/OneSignalLog.h
- oEEDkA6eBW5XOmDs86IVGRpm28k=
+ +AiZ0kKN8BatL469uOR7lP2dKUk=
+
+ Headers/OneSignalMobileProvision.h
+
+ 7ZQcyM590dEqGyz7BtLDG3YORL0=
Headers/OneSignalRequest.h
- /uBkuxddG/dPmbTbANavHELydCw=
+ MxsNsoartS9iesNGTQE5YZ5qp64=
+
+ Headers/OneSignalSelectorHelpers.h
+
+ 3CBAjr2xx3yz874iThgaAtmtaAo=
Headers/OneSignalTrackFirebaseAnalytics.h
- oUxC/1Bnj1fAEZ+hPm30tS5H+f0=
+ 3x6uorCcPwt7XTytGlVwmVv3NXE=
Headers/OneSignalUserDefaults.h
ZvwZZD2HkwwG1wOkh8jGhnl2lTY=
+ Headers/SwizzlingForwarder.h
+
+ HfyVhL3eh5S045pKiGtUIUEbITU=
+
Info.plist
- ERMX+ZtCY3fPp0xaArdRhwc34Hk=
+ KXsDbLNDRTIFTwr5LJBEYI6WLzs=
Modules/module.modulemap
@@ -83,12 +123,15 @@
files2
- Headers/NSString+OneSignal.h
+ Headers/NSDateFormatter+OneSignal.h
- hash
+ hash2
- /HTg8wbY+rfIy9/kCShHF2Oev6Y=
+ hn2vYW78u8AOY/ve3SKGul3cFrG350NV3Um0+EzhGHU=
+
+ Headers/NSString+OneSignal.h
+
hash2
qBhBU+sclS17YY3HDiZmbgqnTFtSJWm7tX4ThKcr3cM=
@@ -96,54 +139,55 @@
Headers/NSURL+OneSignal.h
- hash
-
- RUcvMsE7Pj+BUpa1H4SgBH/O/EQ=
-
hash2
DC9WcVr/94eTh7NHtwKhA8C2fPJVJfY0nn9A6fuHGhA=
- Headers/OSJSONHandling.h
+ Headers/OSDeviceUtils.h
- hash
+ hash2
- 91d8OZhU9KOTu2qY+EdAF+M47+E=
+ CJpM5If7vZz4m960lM+ulaOZohExs1bTVVH5q0zODe4=
+
+ Headers/OSDialogInstanceManager.h
+
hash2
- kwMvLl1JtYBgIUz5NHRrummY0mdnyAPM2lP6HtOGETw=
+ VHQRipAjzHtXPkUXXH4YvMFBZS9BgNyDe0llpuFstT8=
- Headers/OSMacros.h
+ Headers/OSJSONHandling.h
- hash
+ hash2
- 7HmaM9ljZnw77iovX0v/wnb3bX0=
+ s3NgkOLqd6fRlHYOq0qucoCdi9UhfSqxLGpl26BnNck=
+
+ Headers/OSMacros.h
+
hash2
aKanW/TgpNzztpIpYJVbnxfUUFcNJAolzoX8n0+EwJc=
- Headers/OSNotification+Internal.h
+ Headers/OSNetworkingUtils.h
- hash
+ hash2
- hwttm7oX6fN2cgP1Z4laQAKP49Q=
+ ItFeaL2odYTkJOQJKL87zSdrc69fJx36bv6/fi0gBDQ=
+
+ Headers/OSNotification+Internal.h
+
hash2
- bz9UK/DGxP8LAEzMdBiUj0l9UsfhSo11AUAW6X1NfNQ=
+ HTm2j1hepBvpJTVpL9yoinrtVoXPyBqD6UVOtRJcoGY=
Headers/OSNotification.h
- hash
-
- O/8gkRAMw3nV6j7znZxoXDKCi3o=
-
hash2
JOArzkdx1cCGHN5R6ITF+D2e8x/s5HVzQNEl26Gxdfg=
@@ -151,131 +195,125 @@
Headers/OSNotificationClasses.h
- hash
+ hash2
- iNvshoGLl4IEMy2K1Lq2stVxdB4=
+ egqNeJ1zJAyIjXAvTNBFqVuEQFl67+LbQ/B7V0jK2Rk=
+
+ Headers/OSObservable.h
+
hash2
- TfTvbYwUILlXsIfPJ92tgrhSS23UTibhhKt6j4Q984U=
+ R123THdisLYR5MKy2Wn8W5io6MEKh/bDRfZmFNF0YLQ=
Headers/OSPrivacyConsentController.h
- hash
+ hash2
- //dQV0JwOyLrzhcfN4IkI2abbFM=
+ ZbsLBZFACw0H6sd80zOvxaGw6Jq/0Sz1diu28fYUOZY=
+
+ Headers/OSRemoteParamController.h
+
hash2
- Nl0w50EzXPgal1ghTEM3QIoYLzOYHH195NTzq3Zlvmo=
+ ksHXJtuz3uj948tfqdNMchzP74zrK8cUPqvAVUHa3tQ=
Headers/OSRequests.h
- hash
-
- AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
-
hash2
- GmdFYLP8Zwsod7m7aemuj8E4msAflq+RJTLAA2Y/hpY=
+ M/MLqkkd57nFrH1WC5Rxa4vhOv3dQqS1upnW0aHrl+I=
Headers/OneSignalClient.h
- hash
-
- TAYBk2YV4sw9wzS85jL0QtcAen0=
-
hash2
- cbF3Wa3Lqa0Wb2275ot3ploX1KXQ+znQBiBOu0TzV6M=
+ CSAZbyxJ1QBEtH5JYy/HwJiYsj+udPG1u4dhMFgkUtQ=
Headers/OneSignalCommonDefines.h
- hash
+ hash2
- 8EW/BT5zG8zB/eiPeTO87RAHrmk=
+ cdCnbPkA8/s6gZ1onf57+ViY/4vwE9C0iX0t248KVkY=
+
+ Headers/OneSignalConfigManager.h
+
hash2
- NWKAhHt3dT7cwBqI8e/mkUC54p3rq3BI9kesgwCBiQs=
+ 6+sJzc6wU2Vd6ZJtouqBsA12C1qGLBjFS/ED/+he950=
Headers/OneSignalCore.h
- hash
-
- T109aNL3gpg8ZtBUTteB6+7IuQ8=
-
hash2
- uLAWfHauq9MJASOHxa8O6emo1oXTfJcLShIdOAUxG88=
+ iHKL75wMiv4mJ4emUkeYjDhpelhCMWjQE0+DCGnjbuo=
Headers/OneSignalCoreHelper.h
- hash
-
- xQeNeuYQWybV7qex/9h0H2mvUqI=
-
hash2
- vK6D0j+ZbW5ycXiO3jb9aLvluPdvyYGxCSFl1gkVp14=
+ UGIkfh6atqLP1mZmCLrT4t6Sw99OCMnd/8aGq8vaUYU=
Headers/OneSignalLog.h
- hash
+ hash2
- oEEDkA6eBW5XOmDs86IVGRpm28k=
+ nyebF5JgbuqB46Vsbi6A0g0HVGb9YNyMX1PaHKTScVw=
+
+ Headers/OneSignalMobileProvision.h
+
hash2
- fXXHmsA5in9ZjZz8sHnl3WaN/xiOjw63toiJ0AzJTE4=
+ l0RcO5v+JFSsTR7XTKreN7doUQ28JwnxoHpQKZd00vU=
Headers/OneSignalRequest.h
- hash
+ hash2
- /uBkuxddG/dPmbTbANavHELydCw=
+ b0DH58A5Q4B9Cj/lCH23eT3A6PqLAijRhgpNgm6nCbQ=
+
+ Headers/OneSignalSelectorHelpers.h
+
hash2
- 69iw4bnJGwQNk11KAchyrRMPCM6Rf4C9Wvn+HMnTCXc=
+ FcuF30Rl2JdaHXFJ+B6tKmImZk5GiiEUtfmseHgsVO8=
Headers/OneSignalTrackFirebaseAnalytics.h
- hash
-
- oUxC/1Bnj1fAEZ+hPm30tS5H+f0=
-
hash2
- VCgGIHlXYAQKerOcmqkIesJ+B+oWLXQya/3m1cYjnKc=
+ QQQ+yTOmYNCSKMYVwsP/jh0kJrt6EWJcaywB7947kO0=
Headers/OneSignalUserDefaults.h
- hash
-
- ZvwZZD2HkwwG1wOkh8jGhnl2lTY=
-
hash2
QIYtzchiCKQguyJOSY6PEhV0H98JRi2PdXSBmZxxLN4=
- Modules/module.modulemap
+ Headers/SwizzlingForwarder.h
- hash
+ hash2
- UwBMj9m72xH28UG69kKWlAJjycc=
+ 9kEbEQebIgu9aMkeBUQpTkT17xgIRXd1EC50UYWEmL8=
+
+ Modules/module.modulemap
+
hash2
K44cM22FGB3rV1SaGqR0xQQBO01/YgeIVYiCCcvFnOU=
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework.zip
index 890064a61..b58100cb5 100644
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework.zip and b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework.zip differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/Info.plist
index 20e191b5c..dd8cca3f6 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/Info.plist
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/Info.plist
@@ -6,33 +6,30 @@
LibraryIdentifier
- ios-arm64_i386_x86_64-simulator
+ ios-arm64
LibraryPath
OneSignalExtension.framework
SupportedArchitectures
arm64
- i386
- x86_64
SupportedPlatform
ios
- SupportedPlatformVariant
- simulator
LibraryIdentifier
- ios-arm64_armv7_armv7s
+ ios-arm64_x86_64-simulator
LibraryPath
OneSignalExtension.framework
SupportedArchitectures
arm64
- armv7
- armv7s
+ x86_64
SupportedPlatform
ios
+ SupportedPlatformVariant
+ simulator
LibraryIdentifier
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalExtension.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalExtension.h
similarity index 90%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalExtension.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalExtension.h
index ef76a2cea..9a0853efc 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalExtension.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalExtension.h
@@ -27,10 +27,10 @@
#import
#import
-#import "OneSignalAttachmentHandler.h"
-#import "OneSignalExtensionBadgeHandler.h"
-#import "OneSignalReceiveReceiptsController.h"
-#import "OneSignalNotificationServiceExtensionHandler.h"
+#import
+#import
+#import
+#import
@interface OneSignalExtension : NSObject
#pragma mark NotificationService Extension
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Info.plist
new file mode 100644
index 000000000..57cd4f1cf
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Info.plist differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Modules/module.modulemap
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Modules/module.modulemap
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Modules/module.modulemap
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/OneSignalExtension b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/OneSignalExtension
new file mode 100755
index 000000000..01587a795
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/OneSignalExtension differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/_CodeSignature/CodeResources
similarity index 85%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/_CodeSignature/CodeResources
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/_CodeSignature/CodeResources
index b624eb3ba..5ddc0746a 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/_CodeSignature/CodeResources
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/_CodeSignature/CodeResources
@@ -10,7 +10,7 @@
Headers/OneSignalExtension.h
- edpFiRa+RCtTJobW5Rf0OSLMC44=
+ xD9hBHTGgdB/REvVahfaCi1i15U=
Headers/OneSignalExtensionBadgeHandler.h
@@ -26,7 +26,7 @@
Info.plist
- abH2hiOOYLSzOtk4Y2/I+kLhXPw=
+ yioYnA9S644C2f5Vv95C4Qqu9h0=
Modules/module.modulemap
@@ -37,10 +37,6 @@
Headers/OneSignalAttachmentHandler.h
- hash
-
- Za9LMjXp6qqe0gjBYwJ0VU0gR18=
-
hash2
vrE5Ym//qjzLDplqe4oxKQOUmDk90rXhMTqHygsPGx0=
@@ -48,21 +44,13 @@
Headers/OneSignalExtension.h
- hash
-
- edpFiRa+RCtTJobW5Rf0OSLMC44=
-
hash2
- n4H86fUHxM2+HPT5GfHt7NhJQpn0HM/r4TA/xwRONF4=
+ d70Tj0PSUiGB4l6QdbVsmZRuKHKFYscrQlOWTgXAC7Q=
Headers/OneSignalExtensionBadgeHandler.h
- hash
-
- 9FedGtPt9rCXhNagzqNjl5h9MtI=
-
hash2
/CxutAe5JEon++77YvKoCU1k0Z+E0T0xhoxaRmZgCY4=
@@ -70,10 +58,6 @@
Headers/OneSignalNotificationServiceExtensionHandler.h
- hash
-
- uDNyK1ot8TvsWZLHUvpZseAhbc8=
-
hash2
Lv7C1iLbC+fw3VPs5jaBF+DXeg7K4SmMvl1q9n8KDCI=
@@ -81,10 +65,6 @@
Headers/OneSignalReceiveReceiptsController.h
- hash
-
- rB2oKywqGzoh8BBPu+i4924UtE4=
-
hash2
zFt5+Ycq1CA/brx6hkQu0LGXtv96FVSeDlJsTsbkRL8=
@@ -92,10 +72,6 @@
Modules/module.modulemap
- hash
-
- MniqwSJOOQq7kIj/mIrXwnwSVlU=
-
hash2
tDPf+7yPnc5GbW/ygIzPKJ0ZkgW0SgdPvoOOrivzzvw=
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/OneSignalExtension b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/OneSignalExtension
deleted file mode 100755
index b985ba6ff..000000000
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/OneSignalExtension and /dev/null differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Info.plist
deleted file mode 100644
index 6bcb0a6f9..000000000
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Info.plist and /dev/null differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension
deleted file mode 100755
index 675435722..000000000
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension and /dev/null differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Headers/OneSignalExtension.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Headers/OneSignalExtension.h
index ef76a2cea..9a0853efc 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Headers/OneSignalExtension.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Headers/OneSignalExtension.h
@@ -27,10 +27,10 @@
#import
#import
-#import "OneSignalAttachmentHandler.h"
-#import "OneSignalExtensionBadgeHandler.h"
-#import "OneSignalReceiveReceiptsController.h"
-#import "OneSignalNotificationServiceExtensionHandler.h"
+#import
+#import
+#import
+#import
@interface OneSignalExtension : NSObject
#pragma mark NotificationService Extension
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/OneSignalExtension b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/OneSignalExtension
index d534d97df..4ac97e84c 100755
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/OneSignalExtension and b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/OneSignalExtension differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Resources/Info.plist
index 89001747c..6e4360a85 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Resources/Info.plist
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/Resources/Info.plist
@@ -3,7 +3,7 @@
BuildMachineOSBuild
- 20E241
+ 21G72
CFBundleDevelopmentRegion
en
CFBundleExecutable
@@ -27,19 +27,19 @@
DTCompiler
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
- 13C100
+ 14B47
DTPlatformName
macosx
DTPlatformVersion
- 12.1
+ 13.0
DTSDKBuild
- 21C46
+ 22A372
DTSDKName
- macosx12.1
+ macosx13.0
DTXcode
- 1321
+ 1410
DTXcodeBuild
- 13C100
+ 14B47
LSMinimumSystemVersion
10.15
UIDeviceFamily
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/_CodeSignature/CodeResources
index c6e979253..265340f97 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/_CodeSignature/CodeResources
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalExtension.framework/Versions/A/_CodeSignature/CodeResources
@@ -6,7 +6,7 @@
Resources/Info.plist
- gdmh11hRMj90plSsHTxFOW56izI=
+ axSH1sBwAB9DwWVdLCIeajGf5xE=
files2
@@ -22,7 +22,7 @@
hash2
- n4H86fUHxM2+HPT5GfHt7NhJQpn0HM/r4TA/xwRONF4=
+ d70Tj0PSUiGB4l6QdbVsmZRuKHKFYscrQlOWTgXAC7Q=
Headers/OneSignalExtensionBadgeHandler.h
@@ -57,7 +57,7 @@
hash2
- CmLrM5ytAjHSVzZthps2WqPVFPn8E9VFtVR7mB5gPtg=
+ OIMR0/CnSAhWGeaFaa2Vutj6zWUh8flbh0qDQ8qUHnk=
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalAttachmentHandler.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtension.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtension.h
similarity index 90%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtension.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtension.h
index ef76a2cea..9a0853efc 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtension.h
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtension.h
@@ -27,10 +27,10 @@
#import
#import
-#import "OneSignalAttachmentHandler.h"
-#import "OneSignalExtensionBadgeHandler.h"
-#import "OneSignalReceiveReceiptsController.h"
-#import "OneSignalNotificationServiceExtensionHandler.h"
+#import
+#import
+#import
+#import
@interface OneSignalExtension : NSObject
#pragma mark NotificationService Extension
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalExtensionBadgeHandler.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalNotificationServiceExtensionHandler.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Headers/OneSignalReceiveReceiptsController.h
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Info.plist
similarity index 53%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Info.plist
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Info.plist
index aa788fe5f..197c4b2d9 100644
Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_armv7_armv7s/OneSignalExtension.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Info.plist differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Modules/module.modulemap
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/Modules/module.modulemap
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Modules/module.modulemap
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension
new file mode 100755
index 000000000..ca477298a
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources
similarity index 85%
rename from iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources
rename to iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources
index 6c0d8108a..ab0407623 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources
@@ -10,7 +10,7 @@
Headers/OneSignalExtension.h
- edpFiRa+RCtTJobW5Rf0OSLMC44=
+ xD9hBHTGgdB/REvVahfaCi1i15U=
Headers/OneSignalExtensionBadgeHandler.h
@@ -26,7 +26,7 @@
Info.plist
- yNpJ5HgOKLnSvJswdp2MsAmmqQ8=
+ mI5JRjmQu3fbghXHccJXjoOiRZg=
Modules/module.modulemap
@@ -37,10 +37,6 @@
Headers/OneSignalAttachmentHandler.h
- hash
-
- Za9LMjXp6qqe0gjBYwJ0VU0gR18=
-
hash2
vrE5Ym//qjzLDplqe4oxKQOUmDk90rXhMTqHygsPGx0=
@@ -48,21 +44,13 @@
Headers/OneSignalExtension.h
- hash
-
- edpFiRa+RCtTJobW5Rf0OSLMC44=
-
hash2
- n4H86fUHxM2+HPT5GfHt7NhJQpn0HM/r4TA/xwRONF4=
+ d70Tj0PSUiGB4l6QdbVsmZRuKHKFYscrQlOWTgXAC7Q=
Headers/OneSignalExtensionBadgeHandler.h
- hash
-
- 9FedGtPt9rCXhNagzqNjl5h9MtI=
-
hash2
/CxutAe5JEon++77YvKoCU1k0Z+E0T0xhoxaRmZgCY4=
@@ -70,10 +58,6 @@
Headers/OneSignalNotificationServiceExtensionHandler.h
- hash
-
- uDNyK1ot8TvsWZLHUvpZseAhbc8=
-
hash2
Lv7C1iLbC+fw3VPs5jaBF+DXeg7K4SmMvl1q9n8KDCI=
@@ -81,10 +65,6 @@
Headers/OneSignalReceiveReceiptsController.h
- hash
-
- rB2oKywqGzoh8BBPu+i4924UtE4=
-
hash2
zFt5+Ycq1CA/brx6hkQu0LGXtv96FVSeDlJsTsbkRL8=
@@ -92,10 +72,6 @@
Modules/module.modulemap
- hash
-
- MniqwSJOOQq7kIj/mIrXwnwSVlU=
-
hash2
tDPf+7yPnc5GbW/ygIzPKJ0ZkgW0SgdPvoOOrivzzvw=
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework.zip
new file mode 100644
index 000000000..27505cf4a
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework.zip differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/Info.plist
similarity index 80%
rename from iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/Info.plist
rename to iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/Info.plist
index 8e3cf6147..91ab48bfb 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/Info.plist
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/Info.plist
@@ -6,39 +6,36 @@
LibraryIdentifier
- ios-arm64_i386_x86_64-simulator
+ ios-arm64
LibraryPath
- OneSignal.framework
+ OneSignalNotifications.framework
SupportedArchitectures
arm64
- i386
- x86_64
SupportedPlatform
ios
- SupportedPlatformVariant
- simulator
LibraryIdentifier
- ios-arm64_armv7_armv7s
+ ios-arm64_x86_64-simulator
LibraryPath
- OneSignal.framework
+ OneSignalNotifications.framework
SupportedArchitectures
arm64
- armv7
- armv7s
+ x86_64
SupportedPlatform
ios
+ SupportedPlatformVariant
+ simulator
LibraryIdentifier
ios-arm64_x86_64-maccatalyst
LibraryPath
- OneSignal.framework
+ OneSignalNotifications.framework
SupportedArchitectures
arm64
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OSNotificationsManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OSNotificationsManager.h
new file mode 100644
index 000000000..4922e38bb
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OSNotificationsManager.h
@@ -0,0 +1,111 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+#import
+#import
+#import
+#import
+
+// If the completion block is not called within 25 seconds of this block being called in notificationWillShowInForegroundHandler then the completion will be automatically fired.
+typedef void (^OSNotificationWillShowInForegroundBlock)(OSNotification * _Nonnull notification, OSNotificationDisplayResponse _Nonnull completion);
+typedef void (^OSNotificationOpenedBlock)(OSNotificationOpenedResult * _Nonnull result);
+
+/**
+ Public API.
+ */
+@protocol OSNotifications
++ (BOOL)permission NS_REFINED_FOR_SWIFT;
++ (BOOL)canRequestPermission NS_REFINED_FOR_SWIFT;
++ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block;
++ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block;
++ (void)requestPermission:(OSUserResponseBlock _Nullable )block;
++ (void)requestPermission:(OSUserResponseBlock _Nullable )block fallbackToSettings:(BOOL)fallback;
++ (void)registerForProvisionalAuthorization:(OSUserResponseBlock _Nullable )block NS_REFINED_FOR_SWIFT;
++ (void)addPermissionObserver:(NSObject*_Nonnull)observer NS_REFINED_FOR_SWIFT;
++ (void)removePermissionObserver:(NSObject*_Nonnull)observer NS_REFINED_FOR_SWIFT;
++ (void)clearAll;
+@end
+
+
+@protocol OneSignalNotificationsDelegate
+// set delegate before user
+// can check responds to selector
+- (void)setNotificationTypes:(int)notificationTypes;
+- (void)setPushToken:(NSString * _Nonnull)pushToken;
+- (void)setAccepted:(BOOL)inAccepted;
+
+@end
+
+
+@interface OSNotificationsManager : NSObject
+
+@property (class, weak, nonatomic, nullable) id delegate;
+
++ (Class _Nonnull)Notifications;
++ (void)start;
++ (void)setColdStartFromTapOnNotification:(BOOL)coldStartFromTapOnNotification;
++ (BOOL)getColdStartFromTapOnNotification;
+
+@property (class, readonly) OSPermissionStateInternal* _Nonnull currentPermissionState;
+@property (class) OSPermissionStateInternal* _Nonnull lastPermissionState;
+
++ (void)clearStatics; // Used by Unit Tests
+
+// Indicates if the app provides its own custom Notification customization settings UI
+// To enable this, set kOSSettingsKeyProvidesAppNotificationSettings to true in init.
++ (BOOL)providesAppNotificationSettings;
+/* Used to determine if the app is able to present it's own customized Notification Settings view (iOS 12+) */
++ (void)setProvidesNotificationSettingsView:(BOOL)providesView;
+
++ (BOOL)registerForAPNsToken;
++ (void)sendPushTokenToDelegate;
+
++ (int)getNotificationTypes:(BOOL)pushDisabled;
++ (void)updateNotificationTypes:(int)notificationTypes;
++ (void)sendNotificationTypesUpdateToDelegate;
+
+// Used to manage observers added by the app developer.
+@property (class, readonly) ObservablePermissionStateChangesType* _Nullable permissionStateChangesObserver;
+
+@property (class, readonly) OneSignalNotificationSettings* _Nonnull osNotificationSettings;
+
+// This is set by the user module
++ (void)setPushSubscriptionId:(NSString *_Nullable)pushSubscriptionId;
+
++ (void)handleWillShowInForegroundHandlerForNotification:(OSNotification *_Nonnull)notification completion:(OSNotificationDisplayResponse _Nonnull)completion;
++ (void)handleNotificationAction:(OSNotificationActionType)actionType actionID:(NSString* _Nonnull)actionID;
+
++ (BOOL)clearBadgeCount:(BOOL)fromNotifOpened;
+
++ (BOOL)receiveRemoteNotification:(UIApplication* _Nonnull)application UserInfo:(NSDictionary* _Nonnull)userInfo completionHandler:(void (^_Nonnull)(UIBackgroundFetchResult))completionHandler;
++ (void)notificationReceived:(NSDictionary* _Nonnull)messageDict wasOpened:(BOOL)opened;
++ (void)handleWillPresentNotificationInForegroundWithPayload:(NSDictionary * _Nonnull)payload withCompletion:(OSNotificationDisplayResponse _Nonnull)completion;
++ (void)didRegisterForRemoteNotifications:(UIApplication *_Nonnull)app deviceToken:(NSData *_Nonnull)inDeviceToken;
++ (void)handleDidFailRegisterForRemoteNotification:(NSError*_Nonnull)err;
++ (void)checkProvisionalAuthorizationStatus;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OSPermission.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OSPermission.h
new file mode 100644
index 000000000..10c7c04f4
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OSPermission.h
@@ -0,0 +1,114 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+
+#import
+
+typedef NS_ENUM(NSInteger, OSNotificationPermission) {
+ // The user has not yet made a choice regarding whether your app can show notifications.
+ OSNotificationPermissionNotDetermined = 0,
+
+ // The application is not authorized to post user notifications.
+ OSNotificationPermissionDenied,
+
+ // The application is authorized to post user notifications.
+ OSNotificationPermissionAuthorized,
+
+ // the application is only authorized to post Provisional notifications (direct to history)
+ OSNotificationPermissionProvisional,
+
+ // the application is authorized to send notifications for 8 hours. Only used by App Clips.
+ OSNotificationPermissionEphemeral
+};
+
+// Permission Classes
+@interface OSPermissionState : NSObject
+// TODO: Decide: remove/change properties after addition of canRequestPermission and permission boolean
+@property (readonly, nonatomic) BOOL reachable;
+@property (readonly, nonatomic) BOOL hasPrompted;
+@property (readonly, nonatomic) BOOL provisional;
+@property (readonly, nonatomic) BOOL providesAppNotificationSettings;
+@property (readonly, nonatomic) OSNotificationPermission status;
+- (NSDictionary* _Nonnull)toDictionary;
+- (instancetype _Nonnull )initWithStatus:(OSNotificationPermission)status reachable:(BOOL)reachable hasPrompted:(BOOL)hasPrompted provisional:(BOOL)provisional providesAppNotificationSettings:(BOOL)providesAppNotificationSettings;
+@end
+
+@protocol OSPermissionStateObserver
+- (void)onChanged:(OSPermissionState * _Nonnull)state;
+@end
+
+typedef OSObservable*, OSPermissionState*> ObservablePermissionStateType;
+
+
+// Redefine OSPermissionState
+@interface OSPermissionStateInternal : NSObject {
+@protected BOOL _hasPrompted;
+@protected BOOL _answeredPrompt;
+}
+@property (readwrite, nonatomic) BOOL hasPrompted;
+@property (readwrite, nonatomic) BOOL providesAppNotificationSettings;
+@property (readwrite, nonatomic) BOOL answeredPrompt;
+@property (readwrite, nonatomic) BOOL accepted;
+@property (readwrite, nonatomic) BOOL provisional; //internal flag
+@property (readwrite, nonatomic) BOOL ephemeral;
+@property (readwrite, nonatomic) BOOL reachable;
+@property (readonly, nonatomic) OSNotificationPermission status;
+@property int notificationTypes;
+
+@property (nonatomic) ObservablePermissionStateType * _Nonnull observable;
+
+- (void) persistAsFrom;
+
+- (instancetype _Nonnull )initAsTo;
+- (instancetype _Nonnull )initAsFrom;
+
+- (BOOL)compare:(OSPermissionStateInternal * _Nonnull)from;
+- (OSPermissionState * _Nonnull)getExternalState;
+
+@end
+
+@interface OSPermissionStateChanges : NSObject
+
+@property (readonly, nonnull) OSPermissionState* to;
+@property (readonly, nonnull) OSPermissionState* from;
+- (NSDictionary* _Nonnull)toDictionary;
+- (instancetype _Nonnull)initAsTo:(OSPermissionState * _Nonnull)to from:(OSPermissionState * _Nonnull)from;
+@end
+
+@protocol OSPermissionObserver
+- (void)onOSPermissionChanged:(OSPermissionStateChanges * _Nonnull)stateChanges;
+@end
+
+typedef OSObservable*, OSPermissionStateChanges*> ObservablePermissionStateChangesType;
+
+
+@interface OSPermissionChangedInternalObserver : NSObject
++ (void)fireChangesObserver:(OSPermissionStateInternal * _Nonnull)state;
+@end
+
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalNotificationSettings.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalNotificationSettings.h
new file mode 100644
index 000000000..6f4850b19
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalNotificationSettings.h
@@ -0,0 +1,48 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OneSignalNotificationSettings_h
+#define OneSignalNotificationSettings_h
+
+#import
+#import
+
+typedef void(^OSUserResponseBlock)(BOOL accepted);
+
+@interface OneSignalNotificationSettings : NSObject
+- (int) getNotificationTypes;
+- (OSPermissionStateInternal*)getNotificationPermissionState;
+- (void)getNotificationPermissionState:(void (^)(OSPermissionStateInternal *subscriptionState))completionHandler;
+- (void)promptForNotifications:(OSUserResponseBlock)block;
+- (void)registerForProvisionalAuthorization:(OSUserResponseBlock)block;
+// Only used for iOS 9
+- (void)onNotificationPromptResponse:(int)notificationTypes;
++(dispatch_queue_t)getQueue;
+@end
+
+
+#endif /* OneSignaNotificationSettings_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalNotifications.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalNotifications.h
new file mode 100644
index 000000000..ff7ebb803
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalNotifications.h
@@ -0,0 +1,14 @@
+//
+// OneSignalNotifications.h
+// OneSignalNotifications
+//
+// Created by Elliot Mawby on 11/2/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+#import
+#import
+#import
+#import
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalWebView.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalWebView.h
new file mode 100644
index 000000000..d1c7c6fd6
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalWebView.h
@@ -0,0 +1,40 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2016 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+#import
+
+@interface OneSignalWebView : UIViewController
+
+@property(nonatomic, copy)NSURL *url;
+@property(nonatomic)WKWebView *webView;
+@property(nonatomic)UIActivityIndicatorView *uiBusy;
+
+- (void)dismiss:(id)sender;
+- (void)showInApp;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalWebViewManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalWebViewManager.h
new file mode 100644
index 000000000..7b28eaefe
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Headers/OneSignalWebViewManager.h
@@ -0,0 +1,14 @@
+//
+// OneSignalWebViewManager.h
+// OneSignalNotifications
+//
+// Created by Elliot Mawby on 11/3/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+@interface OneSignalWebViewManager : NSObject
++ (OneSignalWebView *_Nonnull)webVC;
++ (void)displayWebView:(NSURL*_Nonnull)url;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Info.plist
new file mode 100644
index 000000000..de61521e6
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Info.plist differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Modules/module.modulemap
new file mode 100644
index 000000000..263e7a4d3
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Modules/module.modulemap
@@ -0,0 +1,6 @@
+framework module OneSignalNotifications {
+ umbrella header "OneSignalNotifications.h"
+
+ export *
+ module * { export * }
+}
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/OneSignalNotifications b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/OneSignalNotifications
new file mode 100755
index 000000000..31f2e19b6
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/OneSignalNotifications differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/_CodeSignature/CodeResources
similarity index 58%
rename from iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/_CodeSignature/CodeResources
rename to iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/_CodeSignature/CodeResources
index d2df7b5d3..43dfaed0f 100644
--- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/_CodeSignature/CodeResources
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/_CodeSignature/CodeResources
@@ -4,41 +4,88 @@
files
- Headers/OneSignal.h
+ Headers/OSNotificationsManager.h
- mQ+MJNUP1yuwHNHzLF2Yntx7Juk=
+ mPg7BChiJjEj9WhHw8tcjqS8HcM=
+
+ Headers/OSPermission.h
+
+ UPxX3JPsjJLeeQ3zJ2ts8mrz2bo=
+
+ Headers/OneSignalNotificationSettings.h
+
+ O0VW5U5ovJN56cmcc4RLErRjhCw=
+
+ Headers/OneSignalNotifications.h
+
+ 3tgLo9RWNkQ6hW5wgJwVt+ruCug=
+
+ Headers/OneSignalWebView.h
+
+ JALJsv6oFrdNQR3GjCNLG/8CHM4=
+
+ Headers/OneSignalWebViewManager.h
+
+ tFG7qHre3ZQ6fYfRELA+WbfHwHU=
Info.plist
- 0xl5JLlmO6khK7CeXIxAnx4TLkI=
+ r/AevLyBgm/QaVxxZh2vPCburgY=
Modules/module.modulemap
- fJj0ATF9ohjya70dUZjH6i9w44o=
+ Nb2bgnv0pUFVZ6tSM+07dhyQT/I=
files2
- Headers/OneSignal.h
+ Headers/OSNotificationsManager.h
- hash
+ hash2
- mQ+MJNUP1yuwHNHzLF2Yntx7Juk=
+ aSz/6j5CYixhm/o6BHPoZ0t+otEX6uSeDUNzVVk/TZE=
+
+ Headers/OSPermission.h
+
hash2
- VELs3Q2lmztrUjGTE9911GS73kLP2HPzBCZl2dk3dkA=
+ sU6EzGlbg2EwV5oZVxaK+pX+Rq77ExinJllW2Um37fs=
- Modules/module.modulemap
+ Headers/OneSignalNotificationSettings.h
- hash
+ hash2
- fJj0ATF9ohjya70dUZjH6i9w44o=
+ rJtIGSr7QHhlu2N4Spuo1ZjGKzAgOQAf+MN+wMIMCmc=
+
+ Headers/OneSignalNotifications.h
+
+ hash2
+
+ i5bdYE2EfQMqDvjFUyJn6nn0Q4hxTCxA67oiaIghyk8=
+
+
+ Headers/OneSignalWebView.h
+
+ hash2
+
+ pYKG6fEvBCr4CxwtkOao+SM6ZtwfD2bqfH8rWxbQrl8=
+
+
+ Headers/OneSignalWebViewManager.h
+
+ hash2
+
+ zokKYOmqkwjw0LGBpNfHiM3wjvhaHyq7Pjz8jAo1vkw=
+
+
+ Modules/module.modulemap
+
hash2
- Gn6ZaR3ERppbMM1cYIPVzhn7nRrRbOZoQYYdkOd4nJw=
+ /PUDV/RfFn4t5ClXw6FR9EVxf2LUlWBf6oRKtqsv75w=
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Headers b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Headers
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Headers
rename to iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Headers
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Modules b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Modules
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Modules
rename to iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Modules
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/OneSignalNotifications b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/OneSignalNotifications
new file mode 120000
index 000000000..9dbda0771
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/OneSignalNotifications
@@ -0,0 +1 @@
+Versions/Current/OneSignalNotifications
\ No newline at end of file
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Resources b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Resources
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Resources
rename to iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Resources
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OSNotificationsManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OSNotificationsManager.h
new file mode 100644
index 000000000..4922e38bb
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OSNotificationsManager.h
@@ -0,0 +1,111 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+#import
+#import
+#import
+#import
+
+// If the completion block is not called within 25 seconds of this block being called in notificationWillShowInForegroundHandler then the completion will be automatically fired.
+typedef void (^OSNotificationWillShowInForegroundBlock)(OSNotification * _Nonnull notification, OSNotificationDisplayResponse _Nonnull completion);
+typedef void (^OSNotificationOpenedBlock)(OSNotificationOpenedResult * _Nonnull result);
+
+/**
+ Public API.
+ */
+@protocol OSNotifications
++ (BOOL)permission NS_REFINED_FOR_SWIFT;
++ (BOOL)canRequestPermission NS_REFINED_FOR_SWIFT;
++ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block;
++ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block;
++ (void)requestPermission:(OSUserResponseBlock _Nullable )block;
++ (void)requestPermission:(OSUserResponseBlock _Nullable )block fallbackToSettings:(BOOL)fallback;
++ (void)registerForProvisionalAuthorization:(OSUserResponseBlock _Nullable )block NS_REFINED_FOR_SWIFT;
++ (void)addPermissionObserver:(NSObject*_Nonnull)observer NS_REFINED_FOR_SWIFT;
++ (void)removePermissionObserver:(NSObject*_Nonnull)observer NS_REFINED_FOR_SWIFT;
++ (void)clearAll;
+@end
+
+
+@protocol OneSignalNotificationsDelegate
+// set delegate before user
+// can check responds to selector
+- (void)setNotificationTypes:(int)notificationTypes;
+- (void)setPushToken:(NSString * _Nonnull)pushToken;
+- (void)setAccepted:(BOOL)inAccepted;
+
+@end
+
+
+@interface OSNotificationsManager : NSObject
+
+@property (class, weak, nonatomic, nullable) id delegate;
+
++ (Class _Nonnull)Notifications;
++ (void)start;
++ (void)setColdStartFromTapOnNotification:(BOOL)coldStartFromTapOnNotification;
++ (BOOL)getColdStartFromTapOnNotification;
+
+@property (class, readonly) OSPermissionStateInternal* _Nonnull currentPermissionState;
+@property (class) OSPermissionStateInternal* _Nonnull lastPermissionState;
+
++ (void)clearStatics; // Used by Unit Tests
+
+// Indicates if the app provides its own custom Notification customization settings UI
+// To enable this, set kOSSettingsKeyProvidesAppNotificationSettings to true in init.
++ (BOOL)providesAppNotificationSettings;
+/* Used to determine if the app is able to present it's own customized Notification Settings view (iOS 12+) */
++ (void)setProvidesNotificationSettingsView:(BOOL)providesView;
+
++ (BOOL)registerForAPNsToken;
++ (void)sendPushTokenToDelegate;
+
++ (int)getNotificationTypes:(BOOL)pushDisabled;
++ (void)updateNotificationTypes:(int)notificationTypes;
++ (void)sendNotificationTypesUpdateToDelegate;
+
+// Used to manage observers added by the app developer.
+@property (class, readonly) ObservablePermissionStateChangesType* _Nullable permissionStateChangesObserver;
+
+@property (class, readonly) OneSignalNotificationSettings* _Nonnull osNotificationSettings;
+
+// This is set by the user module
++ (void)setPushSubscriptionId:(NSString *_Nullable)pushSubscriptionId;
+
++ (void)handleWillShowInForegroundHandlerForNotification:(OSNotification *_Nonnull)notification completion:(OSNotificationDisplayResponse _Nonnull)completion;
++ (void)handleNotificationAction:(OSNotificationActionType)actionType actionID:(NSString* _Nonnull)actionID;
+
++ (BOOL)clearBadgeCount:(BOOL)fromNotifOpened;
+
++ (BOOL)receiveRemoteNotification:(UIApplication* _Nonnull)application UserInfo:(NSDictionary* _Nonnull)userInfo completionHandler:(void (^_Nonnull)(UIBackgroundFetchResult))completionHandler;
++ (void)notificationReceived:(NSDictionary* _Nonnull)messageDict wasOpened:(BOOL)opened;
++ (void)handleWillPresentNotificationInForegroundWithPayload:(NSDictionary * _Nonnull)payload withCompletion:(OSNotificationDisplayResponse _Nonnull)completion;
++ (void)didRegisterForRemoteNotifications:(UIApplication *_Nonnull)app deviceToken:(NSData *_Nonnull)inDeviceToken;
++ (void)handleDidFailRegisterForRemoteNotification:(NSError*_Nonnull)err;
++ (void)checkProvisionalAuthorizationStatus;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OSPermission.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OSPermission.h
new file mode 100644
index 000000000..10c7c04f4
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OSPermission.h
@@ -0,0 +1,114 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+
+#import
+
+typedef NS_ENUM(NSInteger, OSNotificationPermission) {
+ // The user has not yet made a choice regarding whether your app can show notifications.
+ OSNotificationPermissionNotDetermined = 0,
+
+ // The application is not authorized to post user notifications.
+ OSNotificationPermissionDenied,
+
+ // The application is authorized to post user notifications.
+ OSNotificationPermissionAuthorized,
+
+ // the application is only authorized to post Provisional notifications (direct to history)
+ OSNotificationPermissionProvisional,
+
+ // the application is authorized to send notifications for 8 hours. Only used by App Clips.
+ OSNotificationPermissionEphemeral
+};
+
+// Permission Classes
+@interface OSPermissionState : NSObject
+// TODO: Decide: remove/change properties after addition of canRequestPermission and permission boolean
+@property (readonly, nonatomic) BOOL reachable;
+@property (readonly, nonatomic) BOOL hasPrompted;
+@property (readonly, nonatomic) BOOL provisional;
+@property (readonly, nonatomic) BOOL providesAppNotificationSettings;
+@property (readonly, nonatomic) OSNotificationPermission status;
+- (NSDictionary* _Nonnull)toDictionary;
+- (instancetype _Nonnull )initWithStatus:(OSNotificationPermission)status reachable:(BOOL)reachable hasPrompted:(BOOL)hasPrompted provisional:(BOOL)provisional providesAppNotificationSettings:(BOOL)providesAppNotificationSettings;
+@end
+
+@protocol OSPermissionStateObserver
+- (void)onChanged:(OSPermissionState * _Nonnull)state;
+@end
+
+typedef OSObservable*, OSPermissionState*> ObservablePermissionStateType;
+
+
+// Redefine OSPermissionState
+@interface OSPermissionStateInternal : NSObject {
+@protected BOOL _hasPrompted;
+@protected BOOL _answeredPrompt;
+}
+@property (readwrite, nonatomic) BOOL hasPrompted;
+@property (readwrite, nonatomic) BOOL providesAppNotificationSettings;
+@property (readwrite, nonatomic) BOOL answeredPrompt;
+@property (readwrite, nonatomic) BOOL accepted;
+@property (readwrite, nonatomic) BOOL provisional; //internal flag
+@property (readwrite, nonatomic) BOOL ephemeral;
+@property (readwrite, nonatomic) BOOL reachable;
+@property (readonly, nonatomic) OSNotificationPermission status;
+@property int notificationTypes;
+
+@property (nonatomic) ObservablePermissionStateType * _Nonnull observable;
+
+- (void) persistAsFrom;
+
+- (instancetype _Nonnull )initAsTo;
+- (instancetype _Nonnull )initAsFrom;
+
+- (BOOL)compare:(OSPermissionStateInternal * _Nonnull)from;
+- (OSPermissionState * _Nonnull)getExternalState;
+
+@end
+
+@interface OSPermissionStateChanges : NSObject
+
+@property (readonly, nonnull) OSPermissionState* to;
+@property (readonly, nonnull) OSPermissionState* from;
+- (NSDictionary* _Nonnull)toDictionary;
+- (instancetype _Nonnull)initAsTo:(OSPermissionState * _Nonnull)to from:(OSPermissionState * _Nonnull)from;
+@end
+
+@protocol OSPermissionObserver
+- (void)onOSPermissionChanged:(OSPermissionStateChanges * _Nonnull)stateChanges;
+@end
+
+typedef OSObservable*, OSPermissionStateChanges*> ObservablePermissionStateChangesType;
+
+
+@interface OSPermissionChangedInternalObserver : NSObject
++ (void)fireChangesObserver:(OSPermissionStateInternal * _Nonnull)state;
+@end
+
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalNotificationSettings.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalNotificationSettings.h
new file mode 100644
index 000000000..6f4850b19
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalNotificationSettings.h
@@ -0,0 +1,48 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OneSignalNotificationSettings_h
+#define OneSignalNotificationSettings_h
+
+#import
+#import
+
+typedef void(^OSUserResponseBlock)(BOOL accepted);
+
+@interface OneSignalNotificationSettings : NSObject
+- (int) getNotificationTypes;
+- (OSPermissionStateInternal*)getNotificationPermissionState;
+- (void)getNotificationPermissionState:(void (^)(OSPermissionStateInternal *subscriptionState))completionHandler;
+- (void)promptForNotifications:(OSUserResponseBlock)block;
+- (void)registerForProvisionalAuthorization:(OSUserResponseBlock)block;
+// Only used for iOS 9
+- (void)onNotificationPromptResponse:(int)notificationTypes;
++(dispatch_queue_t)getQueue;
+@end
+
+
+#endif /* OneSignaNotificationSettings_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalNotifications.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalNotifications.h
new file mode 100644
index 000000000..ff7ebb803
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalNotifications.h
@@ -0,0 +1,14 @@
+//
+// OneSignalNotifications.h
+// OneSignalNotifications
+//
+// Created by Elliot Mawby on 11/2/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+#import
+#import
+#import
+#import
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalWebView.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalWebView.h
new file mode 100644
index 000000000..d1c7c6fd6
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalWebView.h
@@ -0,0 +1,40 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2016 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+#import
+
+@interface OneSignalWebView : UIViewController
+
+@property(nonatomic, copy)NSURL *url;
+@property(nonatomic)WKWebView *webView;
+@property(nonatomic)UIActivityIndicatorView *uiBusy;
+
+- (void)dismiss:(id)sender;
+- (void)showInApp;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalWebViewManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalWebViewManager.h
new file mode 100644
index 000000000..7b28eaefe
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Headers/OneSignalWebViewManager.h
@@ -0,0 +1,14 @@
+//
+// OneSignalWebViewManager.h
+// OneSignalNotifications
+//
+// Created by Elliot Mawby on 11/3/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+@interface OneSignalWebViewManager : NSObject
++ (OneSignalWebView *_Nonnull)webVC;
++ (void)displayWebView:(NSURL*_Nonnull)url;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Modules/module.modulemap
new file mode 100644
index 000000000..263e7a4d3
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Modules/module.modulemap
@@ -0,0 +1,6 @@
+framework module OneSignalNotifications {
+ umbrella header "OneSignalNotifications.h"
+
+ export *
+ module * { export * }
+}
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/OneSignalNotifications b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/OneSignalNotifications
new file mode 100755
index 000000000..0aa5654c5
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/OneSignalNotifications differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Resources/Info.plist
new file mode 100644
index 000000000..6cb3d1bf3
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/Resources/Info.plist
@@ -0,0 +1,52 @@
+
+
+
+
+ BuildMachineOSBuild
+ 21G72
+ CFBundleDevelopmentRegion
+ English
+ CFBundleExecutable
+ OneSignalNotifications
+ CFBundleIdentifier
+ com.onesignal.OneSignalNotifications
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ OneSignalNotifications
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSupportedPlatforms
+
+ MacOSX
+
+ CFBundleVersion
+ 1
+ DTCompiler
+ com.apple.compilers.llvm.clang.1_0
+ DTPlatformBuild
+ 14B47
+ DTPlatformName
+ macosx
+ DTPlatformVersion
+ 13.0
+ DTSDKBuild
+ 22A372
+ DTSDKName
+ macosx13.0
+ DTXcode
+ 1410
+ DTXcodeBuild
+ 14B47
+ LSMinimumSystemVersion
+ 10.15
+ NSHumanReadableCopyright
+ Copyright © 2022 Hiptic. All rights reserved.
+ UIDeviceFamily
+
+ 2
+
+
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/_CodeSignature/CodeResources
new file mode 100644
index 000000000..e636651ba
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/_CodeSignature/CodeResources
@@ -0,0 +1,177 @@
+
+
+
+
+ files
+
+ Resources/Info.plist
+
+ M5n5mABdBSgCqVtHiplxZt02Lzw=
+
+
+ files2
+
+ Headers/OSNotificationsManager.h
+
+ hash2
+
+ aSz/6j5CYixhm/o6BHPoZ0t+otEX6uSeDUNzVVk/TZE=
+
+
+ Headers/OSPermission.h
+
+ hash2
+
+ sU6EzGlbg2EwV5oZVxaK+pX+Rq77ExinJllW2Um37fs=
+
+
+ Headers/OneSignalNotificationSettings.h
+
+ hash2
+
+ rJtIGSr7QHhlu2N4Spuo1ZjGKzAgOQAf+MN+wMIMCmc=
+
+
+ Headers/OneSignalNotifications.h
+
+ hash2
+
+ i5bdYE2EfQMqDvjFUyJn6nn0Q4hxTCxA67oiaIghyk8=
+
+
+ Headers/OneSignalWebView.h
+
+ hash2
+
+ pYKG6fEvBCr4CxwtkOao+SM6ZtwfD2bqfH8rWxbQrl8=
+
+
+ Headers/OneSignalWebViewManager.h
+
+ hash2
+
+ zokKYOmqkwjw0LGBpNfHiM3wjvhaHyq7Pjz8jAo1vkw=
+
+
+ Modules/module.modulemap
+
+ hash2
+
+ /PUDV/RfFn4t5ClXw6FR9EVxf2LUlWBf6oRKtqsv75w=
+
+
+ Resources/Info.plist
+
+ hash2
+
+ QTpmt3DanyGljX7SEgP9+/jC4+sFA7AamTtyFqy+cAI=
+
+
+
+ rules
+
+ ^Resources/
+
+ ^Resources/.*\.lproj/
+
+ optional
+
+ weight
+ 1000
+
+ ^Resources/.*\.lproj/locversion.plist$
+
+ omit
+
+ weight
+ 1100
+
+ ^Resources/Base\.lproj/
+
+ weight
+ 1010
+
+ ^version.plist$
+
+
+ rules2
+
+ .*\.dSYM($|/)
+
+ weight
+ 11
+
+ ^(.*/)?\.DS_Store$
+
+ omit
+
+ weight
+ 2000
+
+ ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/
+
+ nested
+
+ weight
+ 10
+
+ ^.*
+
+ ^Info\.plist$
+
+ omit
+
+ weight
+ 20
+
+ ^PkgInfo$
+
+ omit
+
+ weight
+ 20
+
+ ^Resources/
+
+ weight
+ 20
+
+ ^Resources/.*\.lproj/
+
+ optional
+
+ weight
+ 1000
+
+ ^Resources/.*\.lproj/locversion.plist$
+
+ omit
+
+ weight
+ 1100
+
+ ^Resources/Base\.lproj/
+
+ weight
+ 1010
+
+ ^[^/]+$
+
+ nested
+
+ weight
+ 10
+
+ ^embedded\.provisionprofile$
+
+ weight
+ 20
+
+ ^version\.plist$
+
+ weight
+ 20
+
+
+
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/Current b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/Current
similarity index 100%
rename from iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/Current
rename to iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/Current
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OSNotificationsManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OSNotificationsManager.h
new file mode 100644
index 000000000..4922e38bb
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OSNotificationsManager.h
@@ -0,0 +1,111 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+#import
+#import
+#import
+#import
+
+// If the completion block is not called within 25 seconds of this block being called in notificationWillShowInForegroundHandler then the completion will be automatically fired.
+typedef void (^OSNotificationWillShowInForegroundBlock)(OSNotification * _Nonnull notification, OSNotificationDisplayResponse _Nonnull completion);
+typedef void (^OSNotificationOpenedBlock)(OSNotificationOpenedResult * _Nonnull result);
+
+/**
+ Public API.
+ */
+@protocol OSNotifications
++ (BOOL)permission NS_REFINED_FOR_SWIFT;
++ (BOOL)canRequestPermission NS_REFINED_FOR_SWIFT;
++ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block;
++ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block;
++ (void)requestPermission:(OSUserResponseBlock _Nullable )block;
++ (void)requestPermission:(OSUserResponseBlock _Nullable )block fallbackToSettings:(BOOL)fallback;
++ (void)registerForProvisionalAuthorization:(OSUserResponseBlock _Nullable )block NS_REFINED_FOR_SWIFT;
++ (void)addPermissionObserver:(NSObject*_Nonnull)observer NS_REFINED_FOR_SWIFT;
++ (void)removePermissionObserver:(NSObject*_Nonnull)observer NS_REFINED_FOR_SWIFT;
++ (void)clearAll;
+@end
+
+
+@protocol OneSignalNotificationsDelegate
+// set delegate before user
+// can check responds to selector
+- (void)setNotificationTypes:(int)notificationTypes;
+- (void)setPushToken:(NSString * _Nonnull)pushToken;
+- (void)setAccepted:(BOOL)inAccepted;
+
+@end
+
+
+@interface OSNotificationsManager : NSObject
+
+@property (class, weak, nonatomic, nullable) id delegate;
+
++ (Class _Nonnull)Notifications;
++ (void)start;
++ (void)setColdStartFromTapOnNotification:(BOOL)coldStartFromTapOnNotification;
++ (BOOL)getColdStartFromTapOnNotification;
+
+@property (class, readonly) OSPermissionStateInternal* _Nonnull currentPermissionState;
+@property (class) OSPermissionStateInternal* _Nonnull lastPermissionState;
+
++ (void)clearStatics; // Used by Unit Tests
+
+// Indicates if the app provides its own custom Notification customization settings UI
+// To enable this, set kOSSettingsKeyProvidesAppNotificationSettings to true in init.
++ (BOOL)providesAppNotificationSettings;
+/* Used to determine if the app is able to present it's own customized Notification Settings view (iOS 12+) */
++ (void)setProvidesNotificationSettingsView:(BOOL)providesView;
+
++ (BOOL)registerForAPNsToken;
++ (void)sendPushTokenToDelegate;
+
++ (int)getNotificationTypes:(BOOL)pushDisabled;
++ (void)updateNotificationTypes:(int)notificationTypes;
++ (void)sendNotificationTypesUpdateToDelegate;
+
+// Used to manage observers added by the app developer.
+@property (class, readonly) ObservablePermissionStateChangesType* _Nullable permissionStateChangesObserver;
+
+@property (class, readonly) OneSignalNotificationSettings* _Nonnull osNotificationSettings;
+
+// This is set by the user module
++ (void)setPushSubscriptionId:(NSString *_Nullable)pushSubscriptionId;
+
++ (void)handleWillShowInForegroundHandlerForNotification:(OSNotification *_Nonnull)notification completion:(OSNotificationDisplayResponse _Nonnull)completion;
++ (void)handleNotificationAction:(OSNotificationActionType)actionType actionID:(NSString* _Nonnull)actionID;
+
++ (BOOL)clearBadgeCount:(BOOL)fromNotifOpened;
+
++ (BOOL)receiveRemoteNotification:(UIApplication* _Nonnull)application UserInfo:(NSDictionary* _Nonnull)userInfo completionHandler:(void (^_Nonnull)(UIBackgroundFetchResult))completionHandler;
++ (void)notificationReceived:(NSDictionary* _Nonnull)messageDict wasOpened:(BOOL)opened;
++ (void)handleWillPresentNotificationInForegroundWithPayload:(NSDictionary * _Nonnull)payload withCompletion:(OSNotificationDisplayResponse _Nonnull)completion;
++ (void)didRegisterForRemoteNotifications:(UIApplication *_Nonnull)app deviceToken:(NSData *_Nonnull)inDeviceToken;
++ (void)handleDidFailRegisterForRemoteNotification:(NSError*_Nonnull)err;
++ (void)checkProvisionalAuthorizationStatus;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OSPermission.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OSPermission.h
new file mode 100644
index 000000000..10c7c04f4
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OSPermission.h
@@ -0,0 +1,114 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+
+#import
+
+typedef NS_ENUM(NSInteger, OSNotificationPermission) {
+ // The user has not yet made a choice regarding whether your app can show notifications.
+ OSNotificationPermissionNotDetermined = 0,
+
+ // The application is not authorized to post user notifications.
+ OSNotificationPermissionDenied,
+
+ // The application is authorized to post user notifications.
+ OSNotificationPermissionAuthorized,
+
+ // the application is only authorized to post Provisional notifications (direct to history)
+ OSNotificationPermissionProvisional,
+
+ // the application is authorized to send notifications for 8 hours. Only used by App Clips.
+ OSNotificationPermissionEphemeral
+};
+
+// Permission Classes
+@interface OSPermissionState : NSObject
+// TODO: Decide: remove/change properties after addition of canRequestPermission and permission boolean
+@property (readonly, nonatomic) BOOL reachable;
+@property (readonly, nonatomic) BOOL hasPrompted;
+@property (readonly, nonatomic) BOOL provisional;
+@property (readonly, nonatomic) BOOL providesAppNotificationSettings;
+@property (readonly, nonatomic) OSNotificationPermission status;
+- (NSDictionary* _Nonnull)toDictionary;
+- (instancetype _Nonnull )initWithStatus:(OSNotificationPermission)status reachable:(BOOL)reachable hasPrompted:(BOOL)hasPrompted provisional:(BOOL)provisional providesAppNotificationSettings:(BOOL)providesAppNotificationSettings;
+@end
+
+@protocol OSPermissionStateObserver
+- (void)onChanged:(OSPermissionState * _Nonnull)state;
+@end
+
+typedef OSObservable*, OSPermissionState*> ObservablePermissionStateType;
+
+
+// Redefine OSPermissionState
+@interface OSPermissionStateInternal : NSObject {
+@protected BOOL _hasPrompted;
+@protected BOOL _answeredPrompt;
+}
+@property (readwrite, nonatomic) BOOL hasPrompted;
+@property (readwrite, nonatomic) BOOL providesAppNotificationSettings;
+@property (readwrite, nonatomic) BOOL answeredPrompt;
+@property (readwrite, nonatomic) BOOL accepted;
+@property (readwrite, nonatomic) BOOL provisional; //internal flag
+@property (readwrite, nonatomic) BOOL ephemeral;
+@property (readwrite, nonatomic) BOOL reachable;
+@property (readonly, nonatomic) OSNotificationPermission status;
+@property int notificationTypes;
+
+@property (nonatomic) ObservablePermissionStateType * _Nonnull observable;
+
+- (void) persistAsFrom;
+
+- (instancetype _Nonnull )initAsTo;
+- (instancetype _Nonnull )initAsFrom;
+
+- (BOOL)compare:(OSPermissionStateInternal * _Nonnull)from;
+- (OSPermissionState * _Nonnull)getExternalState;
+
+@end
+
+@interface OSPermissionStateChanges : NSObject
+
+@property (readonly, nonnull) OSPermissionState* to;
+@property (readonly, nonnull) OSPermissionState* from;
+- (NSDictionary* _Nonnull)toDictionary;
+- (instancetype _Nonnull)initAsTo:(OSPermissionState * _Nonnull)to from:(OSPermissionState * _Nonnull)from;
+@end
+
+@protocol OSPermissionObserver
+- (void)onOSPermissionChanged:(OSPermissionStateChanges * _Nonnull)stateChanges;
+@end
+
+typedef OSObservable*, OSPermissionStateChanges*> ObservablePermissionStateChangesType;
+
+
+@interface OSPermissionChangedInternalObserver : NSObject
++ (void)fireChangesObserver:(OSPermissionStateInternal * _Nonnull)state;
+@end
+
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalNotificationSettings.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalNotificationSettings.h
new file mode 100644
index 000000000..6f4850b19
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalNotificationSettings.h
@@ -0,0 +1,48 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2017 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#ifndef OneSignalNotificationSettings_h
+#define OneSignalNotificationSettings_h
+
+#import
+#import
+
+typedef void(^OSUserResponseBlock)(BOOL accepted);
+
+@interface OneSignalNotificationSettings : NSObject
+- (int) getNotificationTypes;
+- (OSPermissionStateInternal*)getNotificationPermissionState;
+- (void)getNotificationPermissionState:(void (^)(OSPermissionStateInternal *subscriptionState))completionHandler;
+- (void)promptForNotifications:(OSUserResponseBlock)block;
+- (void)registerForProvisionalAuthorization:(OSUserResponseBlock)block;
+// Only used for iOS 9
+- (void)onNotificationPromptResponse:(int)notificationTypes;
++(dispatch_queue_t)getQueue;
+@end
+
+
+#endif /* OneSignaNotificationSettings_h */
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalNotifications.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalNotifications.h
new file mode 100644
index 000000000..ff7ebb803
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalNotifications.h
@@ -0,0 +1,14 @@
+//
+// OneSignalNotifications.h
+// OneSignalNotifications
+//
+// Created by Elliot Mawby on 11/2/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+#import
+#import
+#import
+#import
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalWebView.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalWebView.h
new file mode 100644
index 000000000..d1c7c6fd6
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalWebView.h
@@ -0,0 +1,40 @@
+/**
+ * Modified MIT License
+ *
+ * Copyright 2016 OneSignal
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * 1. The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * 2. All copies of substantial portions of the Software may only be used in connection
+ * with services provided by OneSignal.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+#import
+#import
+
+@interface OneSignalWebView : UIViewController
+
+@property(nonatomic, copy)NSURL *url;
+@property(nonatomic)WKWebView *webView;
+@property(nonatomic)UIActivityIndicatorView *uiBusy;
+
+- (void)dismiss:(id)sender;
+- (void)showInApp;
+
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalWebViewManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalWebViewManager.h
new file mode 100644
index 000000000..7b28eaefe
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Headers/OneSignalWebViewManager.h
@@ -0,0 +1,14 @@
+//
+// OneSignalWebViewManager.h
+// OneSignalNotifications
+//
+// Created by Elliot Mawby on 11/3/22.
+// Copyright © 2022 Hiptic. All rights reserved.
+//
+
+#import
+
+@interface OneSignalWebViewManager : NSObject
++ (OneSignalWebView *_Nonnull)webVC;
++ (void)displayWebView:(NSURL*_Nonnull)url;
+@end
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Info.plist
new file mode 100644
index 000000000..f6be073e3
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Info.plist differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Modules/module.modulemap
new file mode 100644
index 000000000..263e7a4d3
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Modules/module.modulemap
@@ -0,0 +1,6 @@
+framework module OneSignalNotifications {
+ umbrella header "OneSignalNotifications.h"
+
+ export *
+ module * { export * }
+}
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/OneSignalNotifications b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/OneSignalNotifications
new file mode 100755
index 000000000..bc310af40
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/OneSignalNotifications differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/_CodeSignature/CodeResources
new file mode 100644
index 000000000..75f0ad513
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/_CodeSignature/CodeResources
@@ -0,0 +1,179 @@
+
+
+
+
+ files
+
+ Headers/OSNotificationsManager.h
+
+ mPg7BChiJjEj9WhHw8tcjqS8HcM=
+
+ Headers/OSPermission.h
+
+ UPxX3JPsjJLeeQ3zJ2ts8mrz2bo=
+
+ Headers/OneSignalNotificationSettings.h
+
+ O0VW5U5ovJN56cmcc4RLErRjhCw=
+
+ Headers/OneSignalNotifications.h
+
+ 3tgLo9RWNkQ6hW5wgJwVt+ruCug=
+
+ Headers/OneSignalWebView.h
+
+ JALJsv6oFrdNQR3GjCNLG/8CHM4=
+
+ Headers/OneSignalWebViewManager.h
+
+ tFG7qHre3ZQ6fYfRELA+WbfHwHU=
+
+ Info.plist
+
+ GT0PMA8ag5TLFSIC6nfhGxNKtPQ=
+
+ Modules/module.modulemap
+
+ Nb2bgnv0pUFVZ6tSM+07dhyQT/I=
+
+
+ files2
+
+ Headers/OSNotificationsManager.h
+
+ hash2
+
+ aSz/6j5CYixhm/o6BHPoZ0t+otEX6uSeDUNzVVk/TZE=
+
+
+ Headers/OSPermission.h
+
+ hash2
+
+ sU6EzGlbg2EwV5oZVxaK+pX+Rq77ExinJllW2Um37fs=
+
+
+ Headers/OneSignalNotificationSettings.h
+
+ hash2
+
+ rJtIGSr7QHhlu2N4Spuo1ZjGKzAgOQAf+MN+wMIMCmc=
+
+
+ Headers/OneSignalNotifications.h
+
+ hash2
+
+ i5bdYE2EfQMqDvjFUyJn6nn0Q4hxTCxA67oiaIghyk8=
+
+
+ Headers/OneSignalWebView.h
+
+ hash2
+
+ pYKG6fEvBCr4CxwtkOao+SM6ZtwfD2bqfH8rWxbQrl8=
+
+
+ Headers/OneSignalWebViewManager.h
+
+ hash2
+
+ zokKYOmqkwjw0LGBpNfHiM3wjvhaHyq7Pjz8jAo1vkw=
+
+
+ Modules/module.modulemap
+
+ hash2
+
+ /PUDV/RfFn4t5ClXw6FR9EVxf2LUlWBf6oRKtqsv75w=
+
+
+
+ rules
+
+ ^.*
+
+ ^.*\.lproj/
+
+ optional
+
+ weight
+ 1000
+
+ ^.*\.lproj/locversion.plist$
+
+ omit
+
+ weight
+ 1100
+
+ ^Base\.lproj/
+
+ weight
+ 1010
+
+ ^version.plist$
+
+
+ rules2
+
+ .*\.dSYM($|/)
+
+ weight
+ 11
+
+ ^(.*/)?\.DS_Store$
+
+ omit
+
+ weight
+ 2000
+
+ ^.*
+
+ ^.*\.lproj/
+
+ optional
+
+ weight
+ 1000
+
+ ^.*\.lproj/locversion.plist$
+
+ omit
+
+ weight
+ 1100
+
+ ^Base\.lproj/
+
+ weight
+ 1010
+
+ ^Info\.plist$
+
+ omit
+
+ weight
+ 20
+
+ ^PkgInfo$
+
+ omit
+
+ weight
+ 20
+
+ ^embedded\.provisionprofile$
+
+ weight
+ 20
+
+ ^version\.plist$
+
+ weight
+ 20
+
+
+
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework.zip
new file mode 100644
index 000000000..39b33d424
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework.zip differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/Info.plist
new file mode 100644
index 000000000..98346d7f9
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/Info.plist
@@ -0,0 +1,55 @@
+
+
+
+
+ AvailableLibraries
+
+
+ LibraryIdentifier
+ ios-arm64_x86_64-simulator
+ LibraryPath
+ OneSignalOSCore.framework
+ SupportedArchitectures
+
+ arm64
+ x86_64
+
+ SupportedPlatform
+ ios
+ SupportedPlatformVariant
+ simulator
+
+
+ LibraryIdentifier
+ ios-arm64
+ LibraryPath
+ OneSignalOSCore.framework
+ SupportedArchitectures
+
+ arm64
+
+ SupportedPlatform
+ ios
+
+
+ LibraryIdentifier
+ ios-arm64_x86_64-maccatalyst
+ LibraryPath
+ OneSignalOSCore.framework
+ SupportedArchitectures
+
+ arm64
+ x86_64
+
+ SupportedPlatform
+ ios
+ SupportedPlatformVariant
+ maccatalyst
+
+
+ CFBundlePackageType
+ XFWK
+ XCFrameworkFormatVersion
+ 1.0
+
+
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Headers/OneSignalOSCore-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Headers/OneSignalOSCore-Swift.h
new file mode 100644
index 000000000..47ed6f418
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Headers/OneSignalOSCore-Swift.h
@@ -0,0 +1,325 @@
+#if 0
+#elif defined(__arm64__) && __arm64__
+// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51)
+#ifndef ONESIGNALOSCORE_SWIFT_H
+#define ONESIGNALOSCORE_SWIFT_H
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wgcc-compat"
+
+#if !defined(__has_include)
+# define __has_include(x) 0
+#endif
+#if !defined(__has_attribute)
+# define __has_attribute(x) 0
+#endif
+#if !defined(__has_feature)
+# define __has_feature(x) 0
+#endif
+#if !defined(__has_warning)
+# define __has_warning(x) 0
+#endif
+
+#if __has_include()
+# include
+#endif
+
+#pragma clang diagnostic ignored "-Wduplicate-method-match"
+#pragma clang diagnostic ignored "-Wauto-import"
+#if defined(__OBJC__)
+#include
+#endif
+#if defined(__cplusplus)
+#include
+#include
+#include
+#else
+#include
+#include
+#include
+#endif
+
+#if !defined(SWIFT_TYPEDEFS)
+# define SWIFT_TYPEDEFS 1
+# if __has_include()
+# include
+# elif !defined(__cplusplus)
+typedef uint_least16_t char16_t;
+typedef uint_least32_t char32_t;
+# endif
+typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
+typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
+typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
+typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
+typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
+typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
+typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
+typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
+typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
+typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
+typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
+typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
+#endif
+
+#if !defined(SWIFT_PASTE)
+# define SWIFT_PASTE_HELPER(x, y) x##y
+# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
+#endif
+#if !defined(SWIFT_METATYPE)
+# define SWIFT_METATYPE(X) Class
+#endif
+#if !defined(SWIFT_CLASS_PROPERTY)
+# if __has_feature(objc_class_property)
+# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
+# else
+# define SWIFT_CLASS_PROPERTY(...)
+# endif
+#endif
+
+#if __has_attribute(objc_runtime_name)
+# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
+#else
+# define SWIFT_RUNTIME_NAME(X)
+#endif
+#if __has_attribute(swift_name)
+# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
+#else
+# define SWIFT_COMPILE_NAME(X)
+#endif
+#if __has_attribute(objc_method_family)
+# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
+#else
+# define SWIFT_METHOD_FAMILY(X)
+#endif
+#if __has_attribute(noescape)
+# define SWIFT_NOESCAPE __attribute__((noescape))
+#else
+# define SWIFT_NOESCAPE
+#endif
+#if __has_attribute(ns_consumed)
+# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
+#else
+# define SWIFT_RELEASES_ARGUMENT
+#endif
+#if __has_attribute(warn_unused_result)
+# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+# define SWIFT_WARN_UNUSED_RESULT
+#endif
+#if __has_attribute(noreturn)
+# define SWIFT_NORETURN __attribute__((noreturn))
+#else
+# define SWIFT_NORETURN
+#endif
+#if !defined(SWIFT_CLASS_EXTRA)
+# define SWIFT_CLASS_EXTRA
+#endif
+#if !defined(SWIFT_PROTOCOL_EXTRA)
+# define SWIFT_PROTOCOL_EXTRA
+#endif
+#if !defined(SWIFT_ENUM_EXTRA)
+# define SWIFT_ENUM_EXTRA
+#endif
+#if !defined(SWIFT_CLASS)
+# if __has_attribute(objc_subclassing_restricted)
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# else
+# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# endif
+#endif
+#if !defined(SWIFT_RESILIENT_CLASS)
+# if __has_attribute(objc_class_stub)
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# else
+# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
+# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
+# endif
+#endif
+
+#if !defined(SWIFT_PROTOCOL)
+# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+#endif
+
+#if !defined(SWIFT_EXTENSION)
+# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
+#endif
+
+#if !defined(OBJC_DESIGNATED_INITIALIZER)
+# if __has_attribute(objc_designated_initializer)
+# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
+# else
+# define OBJC_DESIGNATED_INITIALIZER
+# endif
+#endif
+#if !defined(SWIFT_ENUM_ATTR)
+# if defined(__has_attribute) && __has_attribute(enum_extensibility)
+# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
+# else
+# define SWIFT_ENUM_ATTR(_extensibility)
+# endif
+#endif
+#if !defined(SWIFT_ENUM)
+# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# if __has_feature(generalized_swift_name)
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
+# else
+# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
+# endif
+#endif
+#if !defined(SWIFT_UNAVAILABLE)
+# define SWIFT_UNAVAILABLE __attribute__((unavailable))
+#endif
+#if !defined(SWIFT_UNAVAILABLE_MSG)
+# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
+#endif
+#if !defined(SWIFT_AVAILABILITY)
+# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
+#endif
+#if !defined(SWIFT_WEAK_IMPORT)
+# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
+#endif
+#if !defined(SWIFT_DEPRECATED)
+# define SWIFT_DEPRECATED __attribute__((deprecated))
+#endif
+#if !defined(SWIFT_DEPRECATED_MSG)
+# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
+#endif
+#if __has_feature(attribute_diagnose_if_objc)
+# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
+#else
+# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
+#endif
+#if defined(__OBJC__)
+#if !defined(IBSegueAction)
+# define IBSegueAction
+#endif
+#endif
+#if !defined(SWIFT_EXTERN)
+# if defined(__cplusplus)
+# define SWIFT_EXTERN extern "C"
+# else
+# define SWIFT_EXTERN extern
+# endif
+#endif
+#if !defined(SWIFT_CALL)
+# define SWIFT_CALL __attribute__((swiftcall))
+#endif
+#if defined(__cplusplus)
+#if !defined(SWIFT_NOEXCEPT)
+# define SWIFT_NOEXCEPT noexcept
+#endif
+#else
+#if !defined(SWIFT_NOEXCEPT)
+# define SWIFT_NOEXCEPT
+#endif
+#endif
+#if defined(__cplusplus)
+#if !defined(SWIFT_CXX_INT_DEFINED)
+#define SWIFT_CXX_INT_DEFINED
+namespace swift {
+using Int = ptrdiff_t;
+using UInt = size_t;
+}
+#endif
+#endif
+#if defined(__OBJC__)
+#if __has_feature(modules)
+#if __has_warning("-Watimport-in-framework-header")
+#pragma clang diagnostic ignored "-Watimport-in-framework-header"
+#endif
+@import Foundation;
+@import ObjectiveC;
+#endif
+
+#endif
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+#if __has_warning("-Wpragma-clang-attribute")
+# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
+#endif
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
+#pragma clang diagnostic ignored "-Wnullability"
+#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
+
+#if __has_attribute(external_source_symbol)
+# pragma push_macro("any")
+# undef any
+# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="OneSignalOSCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
+# pragma pop_macro("any")
+#endif
+
+#if defined(__OBJC__)
+@protocol OSBackgroundTaskManagerDelegate;
+@class NSString;
+
+SWIFT_CLASS("_TtC15OneSignalOSCore23OSBackgroundTaskManager")
+@interface OSBackgroundTaskManager : NSObject
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, weak) id _Nullable delegate;)
++ (id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT;
++ (void)setDelegate:(id _Nullable)value;
++ (void)beginBackgroundTask:(NSString * _Nonnull)taskIdentifier;
++ (void)endBackgroundTask:(NSString * _Nonnull)taskIdentifier;
++ (void)setTaskInvalid:(NSString * _Nonnull)taskIdentifier;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+SWIFT_PROTOCOL("_TtP15OneSignalOSCore31OSBackgroundTaskManagerDelegate_")
+@protocol OSBackgroundTaskManagerDelegate
+- (void)beginBackgroundTask:(NSString * _Nonnull)taskIdentifier;
+- (void)endBackgroundTask:(NSString * _Nonnull)taskIdentifier;
+- (void)setTaskInvalid:(NSString * _Nonnull)taskIdentifier;
+@end
+
+@class NSCoder;
+
+SWIFT_CLASS("_TtC15OneSignalOSCore7OSDelta")
+@interface OSDelta : NSObject
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
+- (void)encodeWithCoder:(NSCoder * _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+
+SWIFT_CLASS("_TtC15OneSignalOSCore7OSModel")
+@interface OSModel : NSObject
+- (void)encodeWithCoder:(NSCoder * _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+
+SWIFT_CLASS("_TtC15OneSignalOSCore18OSModelChangedArgs")
+@interface OSModelChangedArgs : NSObject
+@property (nonatomic, readonly, copy) NSString * _Nonnull description;
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+
+/// The OSOperationRepo is a static singleton.
+/// OSDeltas are enqueued when model store observers observe changes to their models, and sorted to their appropriate executors.
+SWIFT_CLASS("_TtC15OneSignalOSCore15OSOperationRepo")
+@interface OSOperationRepo : NSObject
+- (void)flushDeltaQueue;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+#endif
+#if defined(__cplusplus)
+#endif
+#if __has_attribute(external_source_symbol)
+# pragma clang attribute pop
+#endif
+#pragma clang diagnostic pop
+#endif
+
+#else
+#error unsupported Swift architecture
+#endif
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Headers/OneSignalOSCore.h b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Headers/OneSignalOSCore.h
new file mode 100644
index 000000000..e1e4858b7
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Headers/OneSignalOSCore.h
@@ -0,0 +1,34 @@
+/*
+ Modified MIT License
+
+ Copyright 2022 OneSignal
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ 2. All copies of substantial portions of the Software may only be used in connection
+ with services provided by OneSignal.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+ */
+
+#import
+
+//! Project version number for OneSignalOSCore.
+FOUNDATION_EXPORT double OneSignalOSCoreVersionNumber;
+
+//! Project version string for OneSignalOSCore.
+FOUNDATION_EXPORT const unsigned char OneSignalOSCoreVersionString[];
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Info.plist
new file mode 100644
index 000000000..086960908
Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Info.plist differ
diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.abi.json
new file mode 100644
index 000000000..bd597a314
--- /dev/null
+++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.abi.json
@@ -0,0 +1,3529 @@
+{
+ "ABIRoot": {
+ "kind": "Root",
+ "name": "TopLevel",
+ "printedName": "TopLevel",
+ "children": [
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "OneSignalCore",
+ "printedName": "OneSignalCore",
+ "declKind": "Import",
+ "moduleName": "OneSignalOSCore"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "OSOperationRepo",
+ "printedName": "OSOperationRepo",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "sharedInstance",
+ "printedName": "sharedInstance",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSOperationRepo",
+ "printedName": "OneSignalOSCore.OSOperationRepo",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSOperationRepo"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15OneSignalOSCore15OSOperationRepoC14sharedInstanceACvpZ",
+ "mangledName": "$s15OneSignalOSCore15OSOperationRepoC14sharedInstanceACvpZ",
+ "moduleName": "OneSignalOSCore",
+ "static": true,
+ "declAttributes": [
+ "HasInitialValue",
+ "Final",
+ "HasStorage",
+ "AccessControl"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSOperationRepo",
+ "printedName": "OneSignalOSCore.OSOperationRepo",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSOperationRepo"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15OneSignalOSCore15OSOperationRepoC14sharedInstanceACvgZ",
+ "mangledName": "$s15OneSignalOSCore15OSOperationRepoC14sharedInstanceACvgZ",
+ "moduleName": "OneSignalOSCore",
+ "static": true,
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "start",
+ "printedName": "start()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore15OSOperationRepoC5startyyF",
+ "mangledName": "$s15OneSignalOSCore15OSOperationRepoC5startyyF",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "addExecutor",
+ "printedName": "addExecutor(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "OSOperationExecutor",
+ "printedName": "OneSignalOSCore.OSOperationExecutor",
+ "usr": "s:15OneSignalOSCore19OSOperationExecutorP"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore15OSOperationRepoC11addExecutoryyAA0dG0_pF",
+ "mangledName": "$s15OneSignalOSCore15OSOperationRepoC11addExecutoryyAA0dG0_pF",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "flushDeltaQueue",
+ "printedName": "flushDeltaQueue()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSOperationRepo(im)flushDeltaQueue",
+ "mangledName": "$s15OneSignalOSCore15OSOperationRepoC15flushDeltaQueueyyF",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSOperationRepo",
+ "printedName": "OneSignalOSCore.OSOperationRepo",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSOperationRepo"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSOperationRepo(im)init",
+ "mangledName": "$s15OneSignalOSCore15OSOperationRepoCACycfc",
+ "moduleName": "OneSignalOSCore",
+ "overriding": true,
+ "implicit": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override"
+ ],
+ "init_kind": "Designated"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSOperationRepo",
+ "mangledName": "$s15OneSignalOSCore15OSOperationRepoC",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment",
+ "ObjC"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "inheritsConvenienceInitializers": true,
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
+ }
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "OneSignalCore",
+ "printedName": "OneSignalCore",
+ "declKind": "Import",
+ "moduleName": "OneSignalOSCore"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "OSEventProducer",
+ "printedName": "OSEventProducer",
+ "children": [
+ {
+ "kind": "Function",
+ "name": "subscribe",
+ "printedName": "subscribe(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore15OSEventProducerC9subscribeyyxF",
+ "mangledName": "$s15OneSignalOSCore15OSEventProducerC9subscribeyyxF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "unsubscribe",
+ "printedName": "unsubscribe(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore15OSEventProducerC11unsubscribeyyxF",
+ "mangledName": "$s15OneSignalOSCore15OSEventProducerC11unsubscribeyyxF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "fire",
+ "printedName": "fire(callback:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(τ_0_0) -> ()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "typeAttributes": [
+ "noescape"
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore15OSEventProducerC4fire8callbackyyxXE_tF",
+ "mangledName": "$s15OneSignalOSCore15OSEventProducerC4fire8callbackyyxXE_tF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSEventProducer",
+ "printedName": "OneSignalOSCore.OSEventProducer<τ_0_0>",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore15OSEventProducerC"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:15OneSignalOSCore15OSEventProducerCACyxGycfc",
+ "mangledName": "$s15OneSignalOSCore15OSEventProducerCACyxGycfc",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0>",
+ "sugared_genericSig": "",
+ "overriding": true,
+ "implicit": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override"
+ ],
+ "init_kind": "Designated"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "s:15OneSignalOSCore15OSEventProducerC",
+ "mangledName": "$s15OneSignalOSCore15OSEventProducerC",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "inheritsConvenienceInitializers": true,
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
+ }
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "OneSignalCore",
+ "printedName": "OneSignalCore",
+ "declKind": "Import",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "OSModelStore",
+ "printedName": "OSModelStore",
+ "children": [
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(changeSubscription:storeKey:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelStore",
+ "printedName": "OneSignalOSCore.OSModelStore<τ_0_0>",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore12OSModelStoreC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "OSEventProducer",
+ "printedName": "OneSignalOSCore.OSEventProducer",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelStoreChangedHandler",
+ "printedName": "OneSignalOSCore.OSModelStoreChangedHandler",
+ "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore15OSEventProducerC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC18changeSubscription8storeKeyACyxGAA15OSEventProducerCyAA0dE14ChangedHandler_pG_SStcfc",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC18changeSubscription8storeKeyACyxGAA15OSEventProducerCyAA0dE14ChangedHandler_pG_SStcfc",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Function",
+ "name": "registerAsUserObserver",
+ "printedName": "registerAsUserObserver()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelStore",
+ "printedName": "OneSignalOSCore.OSModelStore<τ_0_0>",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore12OSModelStoreC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC22registerAsUserObserverACyxGyF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC22registerAsUserObserverACyxGyF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "getModel",
+ "printedName": "getModel(key:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "τ_0_0?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC8getModel3keyxSgSS_tF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC8getModel3keyxSgSS_tF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "getModel",
+ "printedName": "getModel(modelId:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "τ_0_0?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC8getModel7modelIdxSgSS_tF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC8getModel7modelIdxSgSS_tF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "getModels",
+ "printedName": "getModels()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Dictionary",
+ "printedName": "[Swift.String : τ_0_0]",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "usr": "s:SD"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC9getModelsSDySSxGyF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC9getModelsSDySSxGyF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "add",
+ "printedName": "add(id:model:hydrating:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC3add2id5model9hydratingySS_xSbtF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC3add2id5model9hydratingySS_xSbtF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "remove",
+ "printedName": "remove(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC6removeySbSSF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC6removeySbSSF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "clearModelsFromStore",
+ "printedName": "clearModelsFromStore()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC015clearModelsFromE0yyF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC015clearModelsFromE0yyF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelStore",
+ "printedName": "OneSignalOSCore.OSModelStore<τ_0_0>",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore12OSModelStoreC"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:15OneSignalOSCore12OSModelStoreCACyxGycfc",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreCACyxGycfc",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "overriding": true,
+ "implicit": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Function",
+ "name": "onModelUpdated",
+ "printedName": "onModelUpdated(args:hydrating:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelChangedArgs",
+ "printedName": "OneSignalOSCore.OSModelChangedArgs",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC14onModelUpdated4args9hydratingyAA0D11ChangedArgsC_SbtF",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC14onModelUpdated4args9hydratingyAA0D11ChangedArgsC_SbtF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "s:15OneSignalOSCore12OSModelStoreC",
+ "mangledName": "$s15OneSignalOSCore12OSModelStoreC",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModel>",
+ "sugared_genericSig": "",
+ "isOpen": true,
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "OSModelChangedHandler",
+ "printedName": "OSModelChangedHandler",
+ "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP",
+ "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
+ }
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "OSModel",
+ "printedName": "OSModel",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "modelId",
+ "printedName": "modelId",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15OneSignalOSCore7OSModelC7modelIdSSvp",
+ "mangledName": "$s15OneSignalOSCore7OSModelC7modelIdSSvp",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "Final",
+ "HasStorage",
+ "AccessControl"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15OneSignalOSCore7OSModelC7modelIdSSvg",
+ "mangledName": "$s15OneSignalOSCore7OSModelC7modelIdSSvg",
+ "moduleName": "OneSignalOSCore",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "changeNotifier",
+ "printedName": "changeNotifier",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSEventProducer",
+ "printedName": "OneSignalOSCore.OSEventProducer",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelChangedHandler",
+ "printedName": "OneSignalOSCore.OSModelChangedHandler",
+ "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore15OSEventProducerC"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvp",
+ "mangledName": "$s15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvp",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl"
+ ],
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSEventProducer",
+ "printedName": "OneSignalOSCore.OSEventProducer",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelChangedHandler",
+ "printedName": "OneSignalOSCore.OSModelChangedHandler",
+ "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore15OSEventProducerC"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvg",
+ "mangledName": "$s15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvg",
+ "moduleName": "OneSignalOSCore",
+ "implicit": true,
+ "accessorKind": "get"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "OSEventProducer",
+ "printedName": "OneSignalOSCore.OSEventProducer",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelChangedHandler",
+ "printedName": "OneSignalOSCore.OSModelChangedHandler",
+ "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore15OSEventProducerC"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvs",
+ "mangledName": "$s15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvs",
+ "moduleName": "OneSignalOSCore",
+ "implicit": true,
+ "accessorKind": "set"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Modify",
+ "printedName": "Modify()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvM",
+ "mangledName": "$s15OneSignalOSCore7OSModelC14changeNotifierAA15OSEventProducerCyAA0D14ChangedHandler_pGvM",
+ "moduleName": "OneSignalOSCore",
+ "implicit": true,
+ "accessorKind": "_modify"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(changeNotifier:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModel",
+ "printedName": "OneSignalOSCore.OSModel",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "OSEventProducer",
+ "printedName": "OneSignalOSCore.OSEventProducer",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModelChangedHandler",
+ "printedName": "OneSignalOSCore.OSModelChangedHandler",
+ "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP"
+ }
+ ],
+ "usr": "s:15OneSignalOSCore15OSEventProducerC"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:15OneSignalOSCore7OSModelC14changeNotifierAcA15OSEventProducerCyAA0D14ChangedHandler_pG_tcfc",
+ "mangledName": "$s15OneSignalOSCore7OSModelC14changeNotifierAcA15OSEventProducerCyAA0D14ChangedHandler_pG_tcfc",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Function",
+ "name": "encode",
+ "printedName": "encode(with:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "NSCoder",
+ "printedName": "Foundation.NSCoder",
+ "usr": "c:objc(cs)NSCoder"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel(im)encodeWithCoder:",
+ "mangledName": "$s15OneSignalOSCore7OSModelC6encode4withySo7NSCoderC_tF",
+ "moduleName": "OneSignalOSCore",
+ "isOpen": true,
+ "objc_name": "encodeWithCoder:",
+ "declAttributes": [
+ "ObjC",
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(coder:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "OneSignalOSCore.OSModel?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModel",
+ "printedName": "OneSignalOSCore.OSModel",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "NSCoder",
+ "printedName": "Foundation.NSCoder",
+ "usr": "c:objc(cs)NSCoder"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel(im)initWithCoder:",
+ "mangledName": "$s15OneSignalOSCore7OSModelC5coderACSgSo7NSCoderC_tcfc",
+ "moduleName": "OneSignalOSCore",
+ "objc_name": "initWithCoder:",
+ "declAttributes": [
+ "ObjC",
+ "Required",
+ "AccessControl"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Function",
+ "name": "set",
+ "printedName": "set(property:newValue:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "GenericTypeParam",
+ "printedName": "τ_0_0"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore7OSModelC3set8property8newValueySS_xtlF",
+ "mangledName": "$s15OneSignalOSCore7OSModelC3set8property8newValueySS_xtlF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "hydrate",
+ "printedName": "hydrate(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Dictionary",
+ "printedName": "[Swift.String : Any]",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ProtocolComposition",
+ "printedName": "Any"
+ }
+ ],
+ "usr": "s:SD"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore7OSModelC7hydrateyySDySSypGF",
+ "mangledName": "$s15OneSignalOSCore7OSModelC7hydrateyySDySSypGF",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "hydrateModel",
+ "printedName": "hydrateModel(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Dictionary",
+ "printedName": "[Swift.String : Any]",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ProtocolComposition",
+ "printedName": "Any"
+ }
+ ],
+ "usr": "s:SD"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15OneSignalOSCore7OSModelC12hydrateModelyySDySSypGF",
+ "mangledName": "$s15OneSignalOSCore7OSModelC12hydrateModelyySDySSypGF",
+ "moduleName": "OneSignalOSCore",
+ "isOpen": true,
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "OSModel",
+ "printedName": "OneSignalOSCore.OSModel",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel(im)init",
+ "mangledName": "$s15OneSignalOSCore7OSModelCACycfc",
+ "moduleName": "OneSignalOSCore",
+ "overriding": true,
+ "implicit": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override"
+ ],
+ "init_kind": "Designated"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel",
+ "mangledName": "$s15OneSignalOSCore7OSModelC",
+ "moduleName": "OneSignalOSCore",
+ "isOpen": true,
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
+ }
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "OneSignalOSCore",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "OSBackgroundTaskManagerDelegate",
+ "printedName": "OSBackgroundTaskManagerDelegate",
+ "children": [
+ {
+ "kind": "Function",
+ "name": "beginBackgroundTask",
+ "printedName": "beginBackgroundTask(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate(im)beginBackgroundTask:",
+ "mangledName": "$s15OneSignalOSCore31OSBackgroundTaskManagerDelegateP015beginBackgroundE0yySSF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSBackgroundTaskManagerDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "ObjC"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "endBackgroundTask",
+ "printedName": "endBackgroundTask(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate(im)endBackgroundTask:",
+ "mangledName": "$s15OneSignalOSCore31OSBackgroundTaskManagerDelegateP013endBackgroundE0yySSF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSBackgroundTaskManagerDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "ObjC"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "setTaskInvalid",
+ "printedName": "setTaskInvalid(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate(im)setTaskInvalid:",
+ "mangledName": "$s15OneSignalOSCore31OSBackgroundTaskManagerDelegateP03setE7InvalidyySSF",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSBackgroundTaskManagerDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "ObjC"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Protocol",
+ "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate",
+ "mangledName": "$s15OneSignalOSCore31OSBackgroundTaskManagerDelegateP",
+ "moduleName": "OneSignalOSCore",
+ "genericSig": "<τ_0_0 : AnyObject>",
+ "sugared_genericSig": "