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": "", + "declAttributes": [ + "AccessControl", + "ObjC" + ] + }, + { + "kind": "TypeDecl", + "name": "OSBackgroundTaskManager", + "printedName": "OSBackgroundTaskManager", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cpy)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvpZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "ReferenceOwnership", + "AccessControl", + "ObjC" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvgZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)setDelegate:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvsZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "_modify" + } + ] + }, + { + "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(cs)OSBackgroundTaskManager(cm)beginBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC015beginBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)endBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC013endBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)setTaskInvalid:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC03setE7InvalidyySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManager", + "printedName": "OneSignalOSCore.OSBackgroundTaskManager", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(im)init", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "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": "OSModelStoreListener", + "printedName": "OSModelStoreListener", + "children": [ + { + "kind": "AssociatedType", + "name": "TModel", + "printedName": "TModel", + "declKind": "AssociatedType", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "moduleName": "OneSignalOSCore", + "protocolReq": true + }, + { + "kind": "Var", + "name": "store", + "printedName": "store", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(store:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "getAddModelDelta", + "printedName": "getAddModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getRemoveModelDelta", + "printedName": "getRemoveModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUpdateModelDelta", + "printedName": "getUpdateModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler, τ_0_0.TModel : OneSignalOSCore.OSModel>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "children": [ + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSDelta", + "printedName": "OSDelta", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC4nameSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvp", + "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:15OneSignalOSCore7OSDeltaC4nameSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaId", + "printedName": "deltaId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "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:15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "timestamp", + "printedName": "timestamp", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC8propertySSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvp", + "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:15OneSignalOSCore7OSDeltaC8propertySSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(py)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:model:property:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ], + "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)OSDelta(im)encodeWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC6encode4withySo7NSCoderC_tF", + "moduleName": "OneSignalOSCore", + "objc_name": "encodeWithCoder:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(coder:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "NSCoder", + "printedName": "Foundation.NSCoder", + "usr": "c:objc(cs)NSCoder" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)initWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5coderACSgSo7NSCoderC_tcfc", + "moduleName": "OneSignalOSCore", + "objc_name": "initWithCoder:", + "declAttributes": [ + "ObjC", + "Required", + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)init", + "mangledName": "$s15OneSignalOSCore7OSDeltaCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta", + "mangledName": "$s15OneSignalOSCore7OSDeltaC", + "moduleName": "OneSignalOSCore", + "isOpen": true, + "declAttributes": [ + "AccessControl", + "RawDocComment", + "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": "OSModelChangedArgs", + "printedName": "OSModelChangedArgs", + "children": [ + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "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:15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "newValue", + "printedName": "newValue", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(py)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)init", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSModelChangedHandler", + "printedName": "OSModelChangedHandler", + "children": [ + { + "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:15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSOperationExecutor", + "printedName": "OSOperationExecutor", + "children": [ + { + "kind": "Var", + "name": "supportedDeltas", + "printedName": "supportedDeltas", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaQueue", + "printedName": "deltaQueue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "enqueueDelta", + "printedName": "enqueueDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "cacheDeltaQueue", + "printedName": "cacheDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processDeltaQueue", + "printedName": "processDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processRequestQueue", + "printedName": "processRequestQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "BooleanLiteral", + "offset": 1573, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Dictionary", + "offset": 1711, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1758, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1793, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "IntegerLiteral", + "offset": 1901, + "length": 1, + "value": "5" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelStore.swift", + "kind": "StringLiteral", + "offset": 1257, + "length": 12, + "value": "\"OneSignalOSCore.OSModelStore\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "BooleanLiteral", + "offset": 1419, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "StringLiteral", + "offset": 1260, + "length": 7, + "value": "\"OneSignalOSCore.OSModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSDelta.swift", + "kind": "StringLiteral", + "offset": 1455, + "length": 7, + "value": "\"OneSignalOSCore.OSDelta\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelChangedHandler.swift", + "kind": "StringLiteral", + "offset": 1256, + "length": 18, + "value": "\"OneSignalOSCore.OSModelChangedArgs\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 000000000..7f20d2c8b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 000000000..01707a5fc Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 000000000..7f20d2c8b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/module.modulemap new file mode 100644 index 000000000..efd705b1d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalOSCore { + umbrella header "OneSignalOSCore.h" + + export * + module * { export * } +} + +module OneSignalOSCore.Swift { + header "OneSignalOSCore-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/OneSignalOSCore b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/OneSignalOSCore new file mode 100755 index 000000000..8bd2442c6 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/OneSignalOSCore differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..4f97bf68b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/_CodeSignature/CodeResources @@ -0,0 +1,190 @@ + + + + + files + + Headers/OneSignalOSCore-Swift.h + + p102bkxkh+vE8bds9UWh41j+Jtk= + + Headers/OneSignalOSCore.h + + NPNe/ZRA14AwHLWAugk3qv0+YqQ= + + Info.plist + + 05f1ZHNRsHSEFaZGTbEws+Etux4= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.abi.json + + 4dqoPD+nBTYKCmjOQ4nLqDdmkZ4= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.private.swiftinterface + + 8zfong/0qHrbnLW/Hn4tlxROGGg= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftdoc + + 86VSWG1MtvvUqnN+ONNC5Wh2z8k= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftinterface + + 8zfong/0qHrbnLW/Hn4tlxROGGg= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftmodule + + 1R9IjIlxNvEqtzocwI4Q1bo96lE= + + Modules/module.modulemap + + 2Kj2K1hz5KUjSlkdSNvCqAGr0Xg= + + + files2 + + Headers/OneSignalOSCore-Swift.h + + hash2 + + lpP2DSuHV+Gj0lrZ+IwICteJDB5CSKi7myG0EYh9+rM= + + + Headers/OneSignalOSCore.h + + hash2 + + MsJrzFE2HsCHUBJgwVudBxIOtUFFRPJU9Vq9bsNV27A= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.abi.json + + hash2 + + hsp5z3P4wsy2Z8gSuvhVoK24tUvxKKdKGRmYHIS+Vb0= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.private.swiftinterface + + hash2 + + Hi8BOeGc7hVnekujdjBzSu/rgtnnSlA+IFLsC+sSzUg= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftdoc + + hash2 + + wBjDBcSdwU1rhkhcZ92M7KvDPY7gNY+sMli+hcQli/g= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftinterface + + hash2 + + Hi8BOeGc7hVnekujdjBzSu/rgtnnSlA+IFLsC+sSzUg= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.swiftmodule + + hash2 + + cgNTY9+JuzQNXqCKvx+W+0zwazz+KO5SAc6m+0QnwM0= + + + Modules/module.modulemap + + hash2 + + x91khB5nqURf4ltg1dva7WEuxxdOwv8OyWtDKvlKnYg= + + + + 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/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Headers b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Headers new file mode 120000 index 000000000..a177d2a6b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Modules b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Modules new file mode 120000 index 000000000..5736f3186 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/OneSignalOSCore b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/OneSignalOSCore new file mode 120000 index 000000000..b74928a50 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/OneSignalOSCore @@ -0,0 +1 @@ +Versions/Current/OneSignalOSCore \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Resources b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Resources new file mode 120000 index 000000000..953ee36f3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Headers/OneSignalOSCore-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Headers/OneSignalOSCore-Swift.h new file mode 100644 index 000000000..adcf82054 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Headers/OneSignalOSCore-Swift.h @@ -0,0 +1,646 @@ +#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 + +#elif defined(__x86_64__) && __x86_64__ +// 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_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Headers/OneSignalOSCore.h b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Headers/OneSignalOSCore.h new file mode 100644 index 000000000..e1e4858b7 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/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_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.abi.json new file mode 100644 index 000000000..bd597a314 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.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": "", + "declAttributes": [ + "AccessControl", + "ObjC" + ] + }, + { + "kind": "TypeDecl", + "name": "OSBackgroundTaskManager", + "printedName": "OSBackgroundTaskManager", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cpy)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvpZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "ReferenceOwnership", + "AccessControl", + "ObjC" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvgZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)setDelegate:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvsZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "_modify" + } + ] + }, + { + "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(cs)OSBackgroundTaskManager(cm)beginBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC015beginBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)endBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC013endBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)setTaskInvalid:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC03setE7InvalidyySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManager", + "printedName": "OneSignalOSCore.OSBackgroundTaskManager", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(im)init", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "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": "OSModelStoreListener", + "printedName": "OSModelStoreListener", + "children": [ + { + "kind": "AssociatedType", + "name": "TModel", + "printedName": "TModel", + "declKind": "AssociatedType", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "moduleName": "OneSignalOSCore", + "protocolReq": true + }, + { + "kind": "Var", + "name": "store", + "printedName": "store", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(store:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "getAddModelDelta", + "printedName": "getAddModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getRemoveModelDelta", + "printedName": "getRemoveModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUpdateModelDelta", + "printedName": "getUpdateModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler, τ_0_0.TModel : OneSignalOSCore.OSModel>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "children": [ + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSDelta", + "printedName": "OSDelta", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC4nameSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvp", + "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:15OneSignalOSCore7OSDeltaC4nameSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaId", + "printedName": "deltaId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "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:15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "timestamp", + "printedName": "timestamp", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC8propertySSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvp", + "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:15OneSignalOSCore7OSDeltaC8propertySSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(py)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:model:property:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ], + "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)OSDelta(im)encodeWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC6encode4withySo7NSCoderC_tF", + "moduleName": "OneSignalOSCore", + "objc_name": "encodeWithCoder:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(coder:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "NSCoder", + "printedName": "Foundation.NSCoder", + "usr": "c:objc(cs)NSCoder" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)initWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5coderACSgSo7NSCoderC_tcfc", + "moduleName": "OneSignalOSCore", + "objc_name": "initWithCoder:", + "declAttributes": [ + "ObjC", + "Required", + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)init", + "mangledName": "$s15OneSignalOSCore7OSDeltaCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta", + "mangledName": "$s15OneSignalOSCore7OSDeltaC", + "moduleName": "OneSignalOSCore", + "isOpen": true, + "declAttributes": [ + "AccessControl", + "RawDocComment", + "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": "OSModelChangedArgs", + "printedName": "OSModelChangedArgs", + "children": [ + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "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:15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "newValue", + "printedName": "newValue", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(py)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)init", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSModelChangedHandler", + "printedName": "OSModelChangedHandler", + "children": [ + { + "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:15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSOperationExecutor", + "printedName": "OSOperationExecutor", + "children": [ + { + "kind": "Var", + "name": "supportedDeltas", + "printedName": "supportedDeltas", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaQueue", + "printedName": "deltaQueue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "enqueueDelta", + "printedName": "enqueueDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "cacheDeltaQueue", + "printedName": "cacheDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processDeltaQueue", + "printedName": "processDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processRequestQueue", + "printedName": "processRequestQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "BooleanLiteral", + "offset": 1573, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Dictionary", + "offset": 1711, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1758, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1793, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "IntegerLiteral", + "offset": 1901, + "length": 1, + "value": "5" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelStore.swift", + "kind": "StringLiteral", + "offset": 1257, + "length": 12, + "value": "\"OneSignalOSCore.OSModelStore\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "BooleanLiteral", + "offset": 1419, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "StringLiteral", + "offset": 1260, + "length": 7, + "value": "\"OneSignalOSCore.OSModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSDelta.swift", + "kind": "StringLiteral", + "offset": 1455, + "length": 7, + "value": "\"OneSignalOSCore.OSDelta\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelChangedHandler.swift", + "kind": "StringLiteral", + "offset": 1256, + "length": 18, + "value": "\"OneSignalOSCore.OSModelChangedArgs\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 000000000..cb4af4ae4 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 000000000..4e0e91d13 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 000000000..cb4af4ae4 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.abi.json new file mode 100644 index 000000000..bd597a314 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.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": "", + "declAttributes": [ + "AccessControl", + "ObjC" + ] + }, + { + "kind": "TypeDecl", + "name": "OSBackgroundTaskManager", + "printedName": "OSBackgroundTaskManager", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cpy)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvpZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "ReferenceOwnership", + "AccessControl", + "ObjC" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvgZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)setDelegate:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvsZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "_modify" + } + ] + }, + { + "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(cs)OSBackgroundTaskManager(cm)beginBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC015beginBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)endBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC013endBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)setTaskInvalid:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC03setE7InvalidyySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManager", + "printedName": "OneSignalOSCore.OSBackgroundTaskManager", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(im)init", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "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": "OSModelStoreListener", + "printedName": "OSModelStoreListener", + "children": [ + { + "kind": "AssociatedType", + "name": "TModel", + "printedName": "TModel", + "declKind": "AssociatedType", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "moduleName": "OneSignalOSCore", + "protocolReq": true + }, + { + "kind": "Var", + "name": "store", + "printedName": "store", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(store:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "getAddModelDelta", + "printedName": "getAddModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getRemoveModelDelta", + "printedName": "getRemoveModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUpdateModelDelta", + "printedName": "getUpdateModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler, τ_0_0.TModel : OneSignalOSCore.OSModel>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "children": [ + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSDelta", + "printedName": "OSDelta", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC4nameSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvp", + "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:15OneSignalOSCore7OSDeltaC4nameSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaId", + "printedName": "deltaId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "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:15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "timestamp", + "printedName": "timestamp", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC8propertySSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvp", + "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:15OneSignalOSCore7OSDeltaC8propertySSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(py)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:model:property:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ], + "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)OSDelta(im)encodeWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC6encode4withySo7NSCoderC_tF", + "moduleName": "OneSignalOSCore", + "objc_name": "encodeWithCoder:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(coder:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "NSCoder", + "printedName": "Foundation.NSCoder", + "usr": "c:objc(cs)NSCoder" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)initWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5coderACSgSo7NSCoderC_tcfc", + "moduleName": "OneSignalOSCore", + "objc_name": "initWithCoder:", + "declAttributes": [ + "ObjC", + "Required", + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)init", + "mangledName": "$s15OneSignalOSCore7OSDeltaCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta", + "mangledName": "$s15OneSignalOSCore7OSDeltaC", + "moduleName": "OneSignalOSCore", + "isOpen": true, + "declAttributes": [ + "AccessControl", + "RawDocComment", + "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": "OSModelChangedArgs", + "printedName": "OSModelChangedArgs", + "children": [ + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "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:15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "newValue", + "printedName": "newValue", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(py)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)init", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSModelChangedHandler", + "printedName": "OSModelChangedHandler", + "children": [ + { + "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:15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSOperationExecutor", + "printedName": "OSOperationExecutor", + "children": [ + { + "kind": "Var", + "name": "supportedDeltas", + "printedName": "supportedDeltas", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaQueue", + "printedName": "deltaQueue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "enqueueDelta", + "printedName": "enqueueDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "cacheDeltaQueue", + "printedName": "cacheDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processDeltaQueue", + "printedName": "processDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processRequestQueue", + "printedName": "processRequestQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "BooleanLiteral", + "offset": 1573, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Dictionary", + "offset": 1711, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1758, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1793, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "IntegerLiteral", + "offset": 1901, + "length": 1, + "value": "5" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelStore.swift", + "kind": "StringLiteral", + "offset": 1257, + "length": 12, + "value": "\"OneSignalOSCore.OSModelStore\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "BooleanLiteral", + "offset": 1419, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "StringLiteral", + "offset": 1260, + "length": 7, + "value": "\"OneSignalOSCore.OSModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSDelta.swift", + "kind": "StringLiteral", + "offset": 1455, + "length": 7, + "value": "\"OneSignalOSCore.OSDelta\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelChangedHandler.swift", + "kind": "StringLiteral", + "offset": 1256, + "length": 18, + "value": "\"OneSignalOSCore.OSModelChangedArgs\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 000000000..5b32c329d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 000000000..f70c5aeca Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 000000000..5b32c329d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 000000000..efd705b1d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalOSCore { + umbrella header "OneSignalOSCore.h" + + export * + module * { export * } +} + +module OneSignalOSCore.Swift { + header "OneSignalOSCore-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/OneSignalOSCore b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/OneSignalOSCore new file mode 100755 index 000000000..5149ee12e Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/OneSignalOSCore differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 000000000..1ce9f2b44 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 21G72 + CFBundleDevelopmentRegion + English + CFBundleExecutable + OneSignalOSCore + CFBundleIdentifier + com.onesignal.OneSignalOSCore + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + OneSignalOSCore + 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_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/_CodeSignature/CodeResources new file mode 100644 index 000000000..63a3224d1 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/_CodeSignature/CodeResources @@ -0,0 +1,219 @@ + + + + + files + + Resources/Info.plist + + 6u54mU2n3T75wXDmBH8fiXSM6fw= + + + files2 + + Headers/OneSignalOSCore-Swift.h + + hash2 + + pgfzQa5pK8kwSawdRR/odCaEVOtPodqaBj2wnrZQxDE= + + + Headers/OneSignalOSCore.h + + hash2 + + MsJrzFE2HsCHUBJgwVudBxIOtUFFRPJU9Vq9bsNV27A= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.abi.json + + hash2 + + hsp5z3P4wsy2Z8gSuvhVoK24tUvxKKdKGRmYHIS+Vb0= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface + + hash2 + + P4p9dqs/xRyqBvkolF5oiQqz6j21IYH40FzRQfsQn/k= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc + + hash2 + + /yMreePkd7UXzero++aLlHVfuRVhqUsLTmf1X6KEJDk= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface + + hash2 + + P4p9dqs/xRyqBvkolF5oiQqz6j21IYH40FzRQfsQn/k= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-macabi.swiftmodule + + hash2 + + 2OTzWj8u2v52tD0XHDmLqjEYD6nN01R5TLOTwl0f1dk= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.abi.json + + hash2 + + hsp5z3P4wsy2Z8gSuvhVoK24tUvxKKdKGRmYHIS+Vb0= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface + + hash2 + + FRgWe2+2f95Vbbxxr/jZ1gTzflD4piRv3NbZ8jKYz34= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc + + hash2 + + ADYrpi/+Y05BhaCr5EWQAn0wFBRPbifSqfCS42FZexA= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface + + hash2 + + FRgWe2+2f95Vbbxxr/jZ1gTzflD4piRv3NbZ8jKYz34= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-macabi.swiftmodule + + hash2 + + sUAyq5jbqlEGMs64I2WzQDTelSaX0n4FUg1NBSJaZT8= + + + Modules/module.modulemap + + hash2 + + x91khB5nqURf4ltg1dva7WEuxxdOwv8OyWtDKvlKnYg= + + + Resources/Info.plist + + hash2 + + B/348Bq/tUKhUztRJXFwzOw+eFuYcUZSLSn6MXB/Keo= + + + + 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_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/Current b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/Current new file mode 120000 index 000000000..8c7e5a667 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Headers/OneSignalOSCore-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Headers/OneSignalOSCore-Swift.h new file mode 100644 index 000000000..adcf82054 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Headers/OneSignalOSCore-Swift.h @@ -0,0 +1,646 @@ +#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 + +#elif defined(__x86_64__) && __x86_64__ +// 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_x86_64-simulator/OneSignalOSCore.framework/Headers/OneSignalOSCore.h b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Headers/OneSignalOSCore.h new file mode 100644 index 000000000..e1e4858b7 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/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_x86_64-simulator/OneSignalOSCore.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Info.plist new file mode 100644 index 000000000..6ee17700c Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..bd597a314 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.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": "", + "declAttributes": [ + "AccessControl", + "ObjC" + ] + }, + { + "kind": "TypeDecl", + "name": "OSBackgroundTaskManager", + "printedName": "OSBackgroundTaskManager", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cpy)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvpZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "ReferenceOwnership", + "AccessControl", + "ObjC" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvgZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)setDelegate:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvsZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "_modify" + } + ] + }, + { + "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(cs)OSBackgroundTaskManager(cm)beginBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC015beginBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)endBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC013endBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)setTaskInvalid:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC03setE7InvalidyySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManager", + "printedName": "OneSignalOSCore.OSBackgroundTaskManager", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(im)init", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "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": "OSModelStoreListener", + "printedName": "OSModelStoreListener", + "children": [ + { + "kind": "AssociatedType", + "name": "TModel", + "printedName": "TModel", + "declKind": "AssociatedType", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "moduleName": "OneSignalOSCore", + "protocolReq": true + }, + { + "kind": "Var", + "name": "store", + "printedName": "store", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(store:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "getAddModelDelta", + "printedName": "getAddModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getRemoveModelDelta", + "printedName": "getRemoveModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUpdateModelDelta", + "printedName": "getUpdateModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler, τ_0_0.TModel : OneSignalOSCore.OSModel>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "children": [ + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSDelta", + "printedName": "OSDelta", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC4nameSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvp", + "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:15OneSignalOSCore7OSDeltaC4nameSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaId", + "printedName": "deltaId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "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:15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "timestamp", + "printedName": "timestamp", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC8propertySSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvp", + "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:15OneSignalOSCore7OSDeltaC8propertySSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(py)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:model:property:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ], + "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)OSDelta(im)encodeWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC6encode4withySo7NSCoderC_tF", + "moduleName": "OneSignalOSCore", + "objc_name": "encodeWithCoder:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(coder:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "NSCoder", + "printedName": "Foundation.NSCoder", + "usr": "c:objc(cs)NSCoder" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)initWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5coderACSgSo7NSCoderC_tcfc", + "moduleName": "OneSignalOSCore", + "objc_name": "initWithCoder:", + "declAttributes": [ + "ObjC", + "Required", + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)init", + "mangledName": "$s15OneSignalOSCore7OSDeltaCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta", + "mangledName": "$s15OneSignalOSCore7OSDeltaC", + "moduleName": "OneSignalOSCore", + "isOpen": true, + "declAttributes": [ + "AccessControl", + "RawDocComment", + "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": "OSModelChangedArgs", + "printedName": "OSModelChangedArgs", + "children": [ + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "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:15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "newValue", + "printedName": "newValue", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(py)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)init", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSModelChangedHandler", + "printedName": "OSModelChangedHandler", + "children": [ + { + "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:15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSOperationExecutor", + "printedName": "OSOperationExecutor", + "children": [ + { + "kind": "Var", + "name": "supportedDeltas", + "printedName": "supportedDeltas", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaQueue", + "printedName": "deltaQueue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "enqueueDelta", + "printedName": "enqueueDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "cacheDeltaQueue", + "printedName": "cacheDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processDeltaQueue", + "printedName": "processDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processRequestQueue", + "printedName": "processRequestQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "BooleanLiteral", + "offset": 1573, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Dictionary", + "offset": 1711, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1758, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1793, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "IntegerLiteral", + "offset": 1901, + "length": 1, + "value": "5" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelStore.swift", + "kind": "StringLiteral", + "offset": 1257, + "length": 12, + "value": "\"OneSignalOSCore.OSModelStore\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "BooleanLiteral", + "offset": 1419, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "StringLiteral", + "offset": 1260, + "length": 7, + "value": "\"OneSignalOSCore.OSModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSDelta.swift", + "kind": "StringLiteral", + "offset": 1455, + "length": 7, + "value": "\"OneSignalOSCore.OSDelta\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelChangedHandler.swift", + "kind": "StringLiteral", + "offset": 1256, + "length": 18, + "value": "\"OneSignalOSCore.OSModelChangedArgs\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..425bc4a5f --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..c26b5f38e Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..425bc4a5f --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..bd597a314 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.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": "", + "declAttributes": [ + "AccessControl", + "ObjC" + ] + }, + { + "kind": "TypeDecl", + "name": "OSBackgroundTaskManager", + "printedName": "OSBackgroundTaskManager", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cpy)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvpZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "ReferenceOwnership", + "AccessControl", + "ObjC" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)delegate", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvgZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManagerDelegate", + "printedName": "OneSignalOSCore.OSBackgroundTaskManagerDelegate", + "usr": "c:@M@OneSignalOSCore@objc(pl)OSBackgroundTaskManagerDelegate" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(cm)setDelegate:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvsZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC8delegateAA0deF8Delegate_pSgvMZ", + "moduleName": "OneSignalOSCore", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "_modify" + } + ] + }, + { + "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(cs)OSBackgroundTaskManager(cm)beginBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC015beginBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)endBackgroundTask:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC013endBackgroundE0yySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "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(cs)OSBackgroundTaskManager(cm)setTaskInvalid:", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC03setE7InvalidyySSFZ", + "moduleName": "OneSignalOSCore", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSBackgroundTaskManager", + "printedName": "OneSignalOSCore.OSBackgroundTaskManager", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager(im)init", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSBackgroundTaskManager", + "mangledName": "$s15OneSignalOSCore23OSBackgroundTaskManagerC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "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": "OSModelStoreListener", + "printedName": "OSModelStoreListener", + "children": [ + { + "kind": "AssociatedType", + "name": "TModel", + "printedName": "TModel", + "declKind": "AssociatedType", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP6TModelQa", + "moduleName": "OneSignalOSCore", + "protocolReq": true + }, + { + "kind": "Var", + "name": "store", + "printedName": "store", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storeAA0dE0Cy6TModelQzGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(store:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "OSModelStore", + "printedName": "OneSignalOSCore.OSModelStore<τ_0_0.TModel>", + "children": [ + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "usr": "s:15OneSignalOSCore12OSModelStoreC" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP5storexAA0dE0Cy6TModelQzG_tcfc", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "getAddModelDelta", + "printedName": "getAddModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP16getAddModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getRemoveModelDelta", + "printedName": "getRemoveModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "DependentMember", + "printedName": "τ_0_0.TModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getRemoveModelDeltayAA7OSDeltaCSg6TModelQzF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getUpdateModelDelta", + "printedName": "getUpdateModelDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP19getUpdateModelDeltayAA7OSDeltaCSgAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE5startyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onUpdatedyyAA0D11ChangedArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerPAAE9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreListener>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore20OSModelStoreListenerP", + "mangledName": "$s15OneSignalOSCore20OSModelStoreListenerP", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler, τ_0_0.TModel : OneSignalOSCore.OSModel>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSModelStoreChangedHandler", + "printedName": "OSModelStoreChangedHandler", + "children": [ + { + "kind": "Function", + "name": "onAdded", + "printedName": "onAdded(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP7onAddedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdated", + "printedName": "onUpdated(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onUpdatedyyAA0dF4ArgsCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRemoved", + "printedName": "onRemoved(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP9onRemovedyyAA0D0CF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelStoreChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore26OSModelStoreChangedHandlerP", + "mangledName": "$s15OneSignalOSCore26OSModelStoreChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSDelta", + "printedName": "OSDelta", + "children": [ + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC4nameSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvp", + "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:15OneSignalOSCore7OSDeltaC4nameSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4nameSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaId", + "printedName": "deltaId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvp", + "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:15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC7deltaIdSSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "timestamp", + "printedName": "timestamp", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC9timestamp10Foundation4DateVvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvs", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5modelAA7OSModelCvM", + "moduleName": "OneSignalOSCore", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC8propertySSvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvp", + "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:15OneSignalOSCore7OSDeltaC8propertySSvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvp", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore7OSDeltaC5valueypvg", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5valueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(py)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)description", + "mangledName": "$s15OneSignalOSCore7OSDeltaC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "isOpen": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(name:model:property:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Constructor", + "usr": "s:15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "mangledName": "$s15OneSignalOSCore7OSDeltaC4name5model8property5valueACSS_AA7OSModelCSSyptcfc", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ], + "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)OSDelta(im)encodeWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC6encode4withySo7NSCoderC_tF", + "moduleName": "OneSignalOSCore", + "objc_name": "encodeWithCoder:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(coder:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalOSCore.OSDelta?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "NSCoder", + "printedName": "Foundation.NSCoder", + "usr": "c:objc(cs)NSCoder" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)initWithCoder:", + "mangledName": "$s15OneSignalOSCore7OSDeltaC5coderACSgSo7NSCoderC_tcfc", + "moduleName": "OneSignalOSCore", + "objc_name": "initWithCoder:", + "declAttributes": [ + "ObjC", + "Required", + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta(im)init", + "mangledName": "$s15OneSignalOSCore7OSDeltaCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta", + "mangledName": "$s15OneSignalOSCore7OSDeltaC", + "moduleName": "OneSignalOSCore", + "isOpen": true, + "declAttributes": [ + "AccessControl", + "RawDocComment", + "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": "OSModelChangedArgs", + "printedName": "OSModelChangedArgs", + "children": [ + { + "kind": "Var", + "name": "model", + "printedName": "model", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModel", + "printedName": "OneSignalOSCore.OSModel", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModel" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC5modelAA0D0Cvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "property", + "printedName": "property", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "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:15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8propertySSvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "newValue", + "printedName": "newValue", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvp", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC8newValueypvg", + "moduleName": "OneSignalOSCore", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(py)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvp", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "Override" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)description", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC11descriptionSSvg", + "moduleName": "OneSignalOSCore", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSModelChangedArgs", + "printedName": "OneSignalOSCore.OSModelChangedArgs", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs(im)init", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsCACycfc", + "moduleName": "OneSignalOSCore", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSModelChangedArgs", + "mangledName": "$s15OneSignalOSCore18OSModelChangedArgsC", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSModelChangedHandler", + "printedName": "OSModelChangedHandler", + "children": [ + { + "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:15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP14onModelUpdated4args9hydratingyAA0dE4ArgsC_SbtF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSModelChangedHandler>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore21OSModelChangedHandlerP", + "mangledName": "$s15OneSignalOSCore21OSModelChangedHandlerP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSOperationExecutor", + "printedName": "OSOperationExecutor", + "children": [ + { + "kind": "Var", + "name": "supportedDeltas", + "printedName": "supportedDeltas", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15supportedDeltasSaySSGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "deltaQueue", + "printedName": "deltaQueue", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvp", + "moduleName": "OneSignalOSCore", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[OneSignalOSCore.OSDelta]", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP10deltaQueueSayAA7OSDeltaCGvg", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "enqueueDelta", + "printedName": "enqueueDelta(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSDelta", + "printedName": "OneSignalOSCore.OSDelta", + "usr": "c:@M@OneSignalOSCore@objc(cs)OSDelta" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP12enqueueDeltayyAA7OSDeltaCF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "cacheDeltaQueue", + "printedName": "cacheDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP15cacheDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processDeltaQueue", + "printedName": "processDeltaQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP17processDeltaQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "processRequestQueue", + "printedName": "processRequestQueue()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP19processRequestQueueyyF", + "moduleName": "OneSignalOSCore", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOSCore.OSOperationExecutor>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:15OneSignalOSCore19OSOperationExecutorP", + "mangledName": "$s15OneSignalOSCore19OSOperationExecutorP", + "moduleName": "OneSignalOSCore", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "BooleanLiteral", + "offset": 1573, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Dictionary", + "offset": 1711, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1758, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "Array", + "offset": 1793, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSOperationRepo.swift", + "kind": "IntegerLiteral", + "offset": 1901, + "length": 1, + "value": "5" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelStore.swift", + "kind": "StringLiteral", + "offset": 1257, + "length": 12, + "value": "\"OneSignalOSCore.OSModelStore\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "BooleanLiteral", + "offset": 1419, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModel.swift", + "kind": "StringLiteral", + "offset": 1260, + "length": 7, + "value": "\"OneSignalOSCore.OSModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSDelta.swift", + "kind": "StringLiteral", + "offset": 1455, + "length": 7, + "value": "\"OneSignalOSCore.OSDelta\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalOSCore\/Source\/OSModelChangedHandler.swift", + "kind": "StringLiteral", + "offset": 1256, + "length": 18, + "value": "\"OneSignalOSCore.OSModelChangedArgs\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..0eca54cd2 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..3b18dfe88 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..0eca54cd2 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,117 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalOSCore +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +@_exported import OneSignalOSCore +import Swift +import _Concurrency +import _StringProcessing +@objc @_inheritsConvenienceInitializers public class OSOperationRepo : ObjectiveC.NSObject { + public static let sharedInstance: OneSignalOSCore.OSOperationRepo + public func start() + public func addExecutor(_ executor: OneSignalOSCore.OSOperationExecutor) + @objc public func flushDeltaQueue() + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers public class OSEventProducer : ObjectiveC.NSObject { + public func subscribe(_ handler: THandler) + public func unsubscribe(_ handler: THandler) + public func fire(callback: (THandler) -> Swift.Void) + @objc override dynamic public init() + @objc deinit +} +open class OSModelStore : ObjectiveC.NSObject where TModel : OneSignalOSCore.OSModel { + public init(changeSubscription: OneSignalOSCore.OSEventProducer, storeKey: Swift.String) + public func registerAsUserObserver() -> OneSignalOSCore.OSModelStore + @objc deinit + public func getModel(key: Swift.String) -> TModel? + public func getModel(modelId: Swift.String) -> TModel? + public func getModels() -> [Swift.String : TModel] + public func add(id: Swift.String, model: TModel, hydrating: Swift.Bool) + public func remove(_ id: Swift.String) -> Swift.Bool + public func clearModelsFromStore() +} +extension OneSignalOSCore.OSModelStore : OneSignalOSCore.OSModelChangedHandler { + public func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +@objc open class OSModel : ObjectiveC.NSObject, Foundation.NSCoding { + final public let modelId: Swift.String + public var changeNotifier: OneSignalOSCore.OSEventProducer + public init(changeNotifier: OneSignalOSCore.OSEventProducer) + @objc open func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + public func set(property: Swift.String, newValue: T) + public func hydrate(_ response: [Swift.String : Any]) + open func hydrateModel(_ response: [Swift.String : Any]) + @objc deinit +} +@objc public protocol OSBackgroundTaskManagerDelegate { + @objc func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc func setTaskInvalid(_ taskIdentifier: Swift.String) +} +@_inheritsConvenienceInitializers @objc public class OSBackgroundTaskManager : ObjectiveC.NSObject { + @objc weak public static var delegate: OneSignalOSCore.OSBackgroundTaskManagerDelegate? + @objc public static func beginBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func endBackgroundTask(_ taskIdentifier: Swift.String) + @objc public static func setTaskInvalid(_ taskIdentifier: Swift.String) + @objc override dynamic public init() + @objc deinit +} +public protocol OSModelStoreListener : OneSignalOSCore.OSModelStoreChangedHandler { + associatedtype TModel : OneSignalOSCore.OSModel + var store: OneSignalOSCore.OSModelStore { get } + init(store: OneSignalOSCore.OSModelStore) + func getAddModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getRemoveModelDelta(_ model: Self.TModel) -> OneSignalOSCore.OSDelta? + func getUpdateModelDelta(_ args: OneSignalOSCore.OSModelChangedArgs) -> OneSignalOSCore.OSDelta? +} +extension OneSignalOSCore.OSModelStoreListener { + public func start() + public func onAdded(_ model: OneSignalOSCore.OSModel) + public func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + public func onRemoved(_ model: OneSignalOSCore.OSModel) +} +public protocol OSModelStoreChangedHandler { + func onAdded(_ model: OneSignalOSCore.OSModel) + func onUpdated(_ args: OneSignalOSCore.OSModelChangedArgs) + func onRemoved(_ model: OneSignalOSCore.OSModel) +} +@objc open class OSDelta : ObjectiveC.NSObject, Foundation.NSCoding { + final public let name: Swift.String + final public let deltaId: Swift.String + final public let timestamp: Foundation.Date + public var model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let value: Any + @objc override dynamic open var description: Swift.String { + @objc get + } + public init(name: Swift.String, model: OneSignalOSCore.OSModel, property: Swift.String, value: Any) + @objc public func encode(with coder: Foundation.NSCoder) + @objc required public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class OSModelChangedArgs : ObjectiveC.NSObject { + final public let model: OneSignalOSCore.OSModel + final public let property: Swift.String + final public let newValue: Any + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +public protocol OSModelChangedHandler { + func onModelUpdated(args: OneSignalOSCore.OSModelChangedArgs, hydrating: Swift.Bool) +} +public protocol OSOperationExecutor { + var supportedDeltas: [Swift.String] { get } + var deltaQueue: [OneSignalOSCore.OSDelta] { get } + func enqueueDelta(_ delta: OneSignalOSCore.OSDelta) + func cacheDeltaQueue() + func processDeltaQueue() + func processRequestQueue() +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/module.modulemap new file mode 100644 index 000000000..efd705b1d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalOSCore { + umbrella header "OneSignalOSCore.h" + + export * + module * { export * } +} + +module OneSignalOSCore.Swift { + header "OneSignalOSCore-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/OneSignalOSCore b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/OneSignalOSCore new file mode 100755 index 000000000..f3ed4744e Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/OneSignalOSCore differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..5fe5b3463 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/_CodeSignature/CodeResources @@ -0,0 +1,245 @@ + + + + + files + + Headers/OneSignalOSCore-Swift.h + + CLsD29sd2D4YLTF51XGaqwxDEwA= + + Headers/OneSignalOSCore.h + + NPNe/ZRA14AwHLWAugk3qv0+YqQ= + + Info.plist + + i7RaCKtwChPIqhxmL9YyndhXyCE= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.abi.json + + 4dqoPD+nBTYKCmjOQ4nLqDdmkZ4= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + kimrhMdV2Yf0f421xnV3fIxqKAU= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + GKp7glcs5iOobVdTAbSaAzrFMtQ= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + kimrhMdV2Yf0f421xnV3fIxqKAU= + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + lGUXD6mqjLgPtyd9XyRWF1vCGj8= + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.abi.json + + 4dqoPD+nBTYKCmjOQ4nLqDdmkZ4= + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + ltFQ6//qWrcMH+Ihw/N9g8dzxw4= + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + 7pFkhN1iIPzVdG0tgGkBfloVL6k= + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + ltFQ6//qWrcMH+Ihw/N9g8dzxw4= + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + FWvAIoA65RoqQmVOQGTDHywzvxA= + + Modules/module.modulemap + + 2Kj2K1hz5KUjSlkdSNvCqAGr0Xg= + + + files2 + + Headers/OneSignalOSCore-Swift.h + + hash2 + + pgfzQa5pK8kwSawdRR/odCaEVOtPodqaBj2wnrZQxDE= + + + Headers/OneSignalOSCore.h + + hash2 + + MsJrzFE2HsCHUBJgwVudBxIOtUFFRPJU9Vq9bsNV27A= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash2 + + hsp5z3P4wsy2Z8gSuvhVoK24tUvxKKdKGRmYHIS+Vb0= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash2 + + WxhemlECn5zmNTReuBSVmaUY27agdrBRorJI5zAy0Jw= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + WXtZqP+eFJBoDD4JqGAiFFlkVzKGOogLWUjoVyvm5A8= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + WxhemlECn5zmNTReuBSVmaUY27agdrBRorJI5zAy0Jw= + + + Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + xuoEF9UlZu/nhwYQAsEXQFsySL7YyAego6xnk5Nja6s= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash2 + + hsp5z3P4wsy2Z8gSuvhVoK24tUvxKKdKGRmYHIS+Vb0= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash2 + + F8MrZRP1y3wMY1T5CCxb+5AqWgdE3WL5K5FJdrX7Qk4= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + MikeRFbdDKJSUzkoij14MjPPx4pa3wDR2/+KIFb0eIU= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + F8MrZRP1y3wMY1T5CCxb+5AqWgdE3WL5K5FJdrX7Qk4= + + + Modules/OneSignalOSCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + s4Zy6KGa4oFDJNyxZQHQfjlFZeUhiwlgAbYCsAoNhhg= + + + Modules/module.modulemap + + hash2 + + x91khB5nqURf4ltg1dva7WEuxxdOwv8OyWtDKvlKnYg= + + + + 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_Outcomes/OneSignalOutcomes.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework.zip index 68c1345e1..cdcc833a0 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework.zip and b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework.zip differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/Info.plist index a4f070f29..c1529a354 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/Info.plist @@ -6,27 +6,27 @@ LibraryIdentifier - ios-arm64_armv7_armv7s + ios-arm64_x86_64-maccatalyst LibraryPath OneSignalOutcomes.framework SupportedArchitectures arm64 - armv7 - armv7s + x86_64 SupportedPlatform ios + SupportedPlatformVariant + maccatalyst LibraryIdentifier - ios-arm64_i386_x86_64-simulator + ios-arm64_x86_64-simulator LibraryPath OneSignalOutcomes.framework SupportedArchitectures arm64 - i386 x86_64 SupportedPlatform @@ -36,18 +36,15 @@ LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64 LibraryPath OneSignalOutcomes.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - maccatalyst CFBundlePackageType diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSChannelTracker.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSChannelTracker.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSChannelTracker.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSChannelTracker.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSFocusInfluenceParam.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSFocusInfluenceParam.h new file mode 100644 index 000000000..efb066cfc --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSFocusInfluenceParam.h @@ -0,0 +1,45 @@ +/** +* 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 OSFocusInfluenceParam_h +#define OSFocusInfluenceParam_h + +@interface OSFocusInfluenceParam : NSObject + +@property (nonatomic, readonly) NSString *influenceKey; +@property (nonatomic, readonly) NSArray *influenceIds; +@property (nonatomic, readonly) NSString *influenceDirectKey; +@property (nonatomic, readonly) BOOL directInfluence; + +- (id)initWithParamsInfluenceIds:(NSArray *)influenceIds + influenceKey:(NSString *)influenceKey + directInfluence:(BOOL)directInfluence + influenceDirectKey:(NSString *)influenceDirectKey; + +@end + +#endif /* OSFocusInfluenceParam_h */ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInfluence.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInfluence.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInfluence.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInfluence.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSSessionManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSSessionManager.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSSessionManager.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSSessionManager.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h similarity index 71% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h index f99c5ce83..3f1aac2ca 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h @@ -30,6 +30,7 @@ #import "OSOutcomeEventsFactory.h" #import "OSInAppMessageOutcome.h" #import "OSOutcomeEvent.h" +#import "OSFocusInfluenceParam.h" @interface OneSignalOutcomeEventsController : NSObject @@ -37,25 +38,20 @@ outcomeEventsFactory:(OSOutcomeEventsFactory *_Nonnull)outcomeEventsFactory; - (void)clearOutcomes; +- (void)cleanUniqueOutcomeNotifications; + +- (void)addOutcome:(NSString * _Nonnull)name; +- (void)addUniqueOutcome:(NSString * _Nonnull)name; +- (void)addOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value; - (void)sendClickActionOutcomes:(NSArray *_Nonnull)outcomes appId:(NSString * _Nonnull)appId deviceType:(NSNumber * _Nonnull)deviceType; -- (void)sendOutcomeEvent:(NSString * _Nonnull)name - appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; - -- (void)sendUniqueOutcomeEvent:(NSString * _Nonnull)name +- (void)sendSessionEndOutcomes:(NSNumber* _Nonnull)timeElapsed appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; - -- (void)sendOutcomeEventWithValue:(NSString * _Nonnull)name - value:(NSNumber * _Nullable)weight - appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; + pushSubscriptionId:(NSString * _Nonnull)pushSubscriptionId + onesignalId:(NSString * _Nonnull)onesignalId + influenceParams:(NSArray *_Nonnull)influenceParams; @end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h similarity index 77% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h index e673d4346..e3dcb57d1 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h @@ -40,8 +40,23 @@ #import "OSOutcomeEventsFactory.h" #import "OSTrackerFactory.h" #import "OSOutcomeEventsRepository.h" +#import "OSFocusInfluenceParam.h" -@interface OneSignalOutcomes : NSObject +/** + Public API for Session namespace. + */ +@protocol OSSession ++ (void)addOutcome:(NSString * _Nonnull)name; ++ (void)addUniqueOutcome:(NSString * _Nonnull)name; ++ (void)addOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value NS_REFINED_FOR_SWIFT; + +@end + +@interface OSOutcomes : NSObject ++ (Class _Nonnull)Session; ++ (OneSignalOutcomeEventsController * _Nullable)sharedController; ++ (void)start; ++ (void)clearStatics; + (void)migrate; @end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Info.plist new file mode 100644 index 000000000..f0caa76ad Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Modules/module.modulemap similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Modules/module.modulemap rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/OneSignalOutcomes b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/OneSignalOutcomes new file mode 100755 index 000000000..2c80ced77 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/OneSignalOutcomes differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/_CodeSignature/CodeResources similarity index 80% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/_CodeSignature/CodeResources rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/_CodeSignature/CodeResources index f1eb0ddaa..2d8a652e3 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/_CodeSignature/CodeResources @@ -12,6 +12,10 @@ ArLQCzgIq/OhHDNMS3QUpcgiIqU= + Headers/OSFocusInfluenceParam.h + + cJUcXRoWNHjFA632fJMpiiizvEo= + Headers/OSInAppMessageOutcome.h 3xT4e/4T3OhG7IenJ42EGs9MroU= @@ -70,15 +74,15 @@ Headers/OneSignalOutcomeEventsController.h - sD4f/g7VkNo0X2aZKE5/DVsacj4= + EFeNCRUuWTLUBB2pzCywVFUraUI= Headers/OneSignalOutcomes.h - sW/MH6o2HgmQVEWrbtmDRuL4+dA= + O9RtHadI4RnS4d89Kx/gX/aMte8= Info.plist - L1a8NEysPiDplkhU4DQUxedSWHs= + bF9BYINAa9xXXdHgZ7QShQ8u1zk= Modules/module.modulemap @@ -89,10 +93,6 @@ Headers/OSCachedUniqueOutcome.h - hash - - QQP7NOxbPFL98LkulmK/wbUMQvU= - hash2 totu1nQ6/x4iFLCj1sa0l/+/yxIYwiM3vG0tUTwmaqs= @@ -100,21 +100,20 @@ Headers/OSChannelTracker.h - hash - - ArLQCzgIq/OhHDNMS3QUpcgiIqU= - hash2 y+P1oKzfvURE+SVKSVr4j6/jH8DgujNwXv1hKuO1EAE= - Headers/OSInAppMessageOutcome.h + Headers/OSFocusInfluenceParam.h - hash + hash2 - 3xT4e/4T3OhG7IenJ42EGs9MroU= + LK98c5Q6F9eZECXWbCKYpRbvZXcUU9mG5JgOHg8a7Wc= + + Headers/OSInAppMessageOutcome.h + hash2 6kjvfIl+pf/78MxrtV/Sqy17OmVUmw8+rYEgjDHXNWE= @@ -122,10 +121,6 @@ Headers/OSIndirectInfluence.h - hash - - hwbzVrvNLt3XPES9eE8prBs5T+0= - hash2 n3sfj9ffeEbvDhJzT28iKptXmEQRbSVWSvDeMisJmsc= @@ -133,10 +128,6 @@ Headers/OSInfluence.h - hash - - JhZlas0LGEFoQfTqv25sUlZznns= - hash2 tjQiNzfx4rDkTwjfykGUHZYyZQOTnKPILoqHIDd/2ic= @@ -144,10 +135,6 @@ Headers/OSInfluenceDataDefines.h - hash - - GeTi9WmITIbwf/P/2HBBYvfi2xM= - hash2 iQMoFhEUbxG3EpUfUTH/khO6IrPhWKvvXnku47XTZdc= @@ -155,10 +142,6 @@ Headers/OSInfluenceDataRepository.h - hash - - zEIQwZXZL2ANP3t0dT4rkZ8FCpA= - hash2 knk1+sZ0qZOmSkq4A3Ej5R1dtUJ+36O8oS7eBPIwo/s= @@ -166,10 +149,6 @@ Headers/OSOutcomeEvent.h - hash - - PPHv3rveisEsvRH9qzs+jrf85lc= - hash2 dEM+sqMVSwAGR7Se/gj9TDcGizX0trTRktNyjvxHp/M= @@ -177,10 +156,6 @@ Headers/OSOutcomeEventParams.h - hash - - lJiE/gYGGmN5fH+SaaqT5vfHPog= - hash2 1ba84vOacDL3dvfPb9QuuJrPbNIKMtO5uAFP8fQXVQg= @@ -188,10 +163,6 @@ Headers/OSOutcomeEventsCache.h - hash - - xJtU7JLpDgHjBUbaiE8SnnXGCiQ= - hash2 N6az4wqlL4oB+ugOXVU1xgJMCuABHcDKVi5XAV6e/GU= @@ -199,10 +170,6 @@ Headers/OSOutcomeEventsFactory.h - hash - - b6vJ4AsamqL5CARZVfsSVEQNG68= - hash2 B9zLkhrLlC2+UdJh/XfEHYstpiw8n4y2rH/kdw/ob5A= @@ -210,10 +177,6 @@ Headers/OSOutcomeEventsRepository.h - hash - - o/1Eb25yqP71kTECIELL9hYSsm8= - hash2 REkrumsrQPze19CbYkIMpr/Xb0y8y6i4Ytyk9J30qMY= @@ -221,10 +184,6 @@ Headers/OSOutcomeSource.h - hash - - xCZ3YOQZkpvFUCcVdbyctku3KLQ= - hash2 W8Ekd6VjML7ZnahaytXqSaHRU+B6kBF5OakKQOrQstQ= @@ -232,10 +191,6 @@ Headers/OSOutcomeSourceBody.h - hash - - Z+APpNEoh0EeAHT5zbazL/Ctm3c= - hash2 X1aTd7m6pBhX97KiK9OYccGmdoBVHXFdtNIUegnZ+2s= @@ -243,10 +198,6 @@ Headers/OSSessionManager.h - hash - - b2/LI60ct+svisyN/9N4P5hk3zc= - hash2 PqGFeWJieWBjFVlo9hW6K3zw3EROosJ9GekCpVrw87U= @@ -254,10 +205,6 @@ Headers/OSTrackerFactory.h - hash - - 4sUyvIDmirrXETvMsEpZ29aR1pI= - hash2 e38XG+rnmKSpSyDmrN4/Mc4+zLBKKWQ6+gexB9VHFKg= @@ -265,32 +212,20 @@ Headers/OneSignalOutcomeEventsController.h - hash - - sD4f/g7VkNo0X2aZKE5/DVsacj4= - hash2 - 2LLCLqre2Yz61h0Ir/t5whNSGEa/8+9QKJx8WZ/15CQ= + F42Ve+OrEcy1sWj2AgQ6sWBewu+2ajQOi8/p5mZw86k= Headers/OneSignalOutcomes.h - hash - - sW/MH6o2HgmQVEWrbtmDRuL4+dA= - hash2 - GFLvc7yAjjvzpcTn4DOvrAd+0+BacOygATaFNR719s0= + Xe5MettPyNsqe7aLCyG62Z+7Sl4suKI+KlxtY47v0Rk= Modules/module.modulemap - hash - - W87fybpsrxqJLygJ5rCH+jsvEik= - hash2 71NgarV0pwtZTDET32aMQ3/vjxGUawYZx/s2o2jI064= diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Info.plist deleted file mode 100644 index ef14abb75..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/Info.plist and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/OneSignalOutcomes b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/OneSignalOutcomes deleted file mode 100755 index 0ec328fed..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_armv7_armv7s/OneSignalOutcomes.framework/OneSignalOutcomes and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes deleted file mode 100755 index dc5d7d9cf..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OSFocusInfluenceParam.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OSFocusInfluenceParam.h new file mode 100644 index 000000000..efb066cfc --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OSFocusInfluenceParam.h @@ -0,0 +1,45 @@ +/** +* 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 OSFocusInfluenceParam_h +#define OSFocusInfluenceParam_h + +@interface OSFocusInfluenceParam : NSObject + +@property (nonatomic, readonly) NSString *influenceKey; +@property (nonatomic, readonly) NSArray *influenceIds; +@property (nonatomic, readonly) NSString *influenceDirectKey; +@property (nonatomic, readonly) BOOL directInfluence; + +- (id)initWithParamsInfluenceIds:(NSArray *)influenceIds + influenceKey:(NSString *)influenceKey + directInfluence:(BOOL)directInfluence + influenceDirectKey:(NSString *)influenceDirectKey; + +@end + +#endif /* OSFocusInfluenceParam_h */ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomeEventsController.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomeEventsController.h index f99c5ce83..3f1aac2ca 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomeEventsController.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomeEventsController.h @@ -30,6 +30,7 @@ #import "OSOutcomeEventsFactory.h" #import "OSInAppMessageOutcome.h" #import "OSOutcomeEvent.h" +#import "OSFocusInfluenceParam.h" @interface OneSignalOutcomeEventsController : NSObject @@ -37,25 +38,20 @@ outcomeEventsFactory:(OSOutcomeEventsFactory *_Nonnull)outcomeEventsFactory; - (void)clearOutcomes; +- (void)cleanUniqueOutcomeNotifications; + +- (void)addOutcome:(NSString * _Nonnull)name; +- (void)addUniqueOutcome:(NSString * _Nonnull)name; +- (void)addOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value; - (void)sendClickActionOutcomes:(NSArray *_Nonnull)outcomes appId:(NSString * _Nonnull)appId deviceType:(NSNumber * _Nonnull)deviceType; -- (void)sendOutcomeEvent:(NSString * _Nonnull)name - appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; - -- (void)sendUniqueOutcomeEvent:(NSString * _Nonnull)name +- (void)sendSessionEndOutcomes:(NSNumber* _Nonnull)timeElapsed appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; - -- (void)sendOutcomeEventWithValue:(NSString * _Nonnull)name - value:(NSNumber * _Nullable)weight - appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; + pushSubscriptionId:(NSString * _Nonnull)pushSubscriptionId + onesignalId:(NSString * _Nonnull)onesignalId + influenceParams:(NSArray *_Nonnull)influenceParams; @end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomes.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomes.h index e673d4346..e3dcb57d1 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomes.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Headers/OneSignalOutcomes.h @@ -40,8 +40,23 @@ #import "OSOutcomeEventsFactory.h" #import "OSTrackerFactory.h" #import "OSOutcomeEventsRepository.h" +#import "OSFocusInfluenceParam.h" -@interface OneSignalOutcomes : NSObject +/** + Public API for Session namespace. + */ +@protocol OSSession ++ (void)addOutcome:(NSString * _Nonnull)name; ++ (void)addUniqueOutcome:(NSString * _Nonnull)name; ++ (void)addOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value NS_REFINED_FOR_SWIFT; + +@end + +@interface OSOutcomes : NSObject ++ (Class _Nonnull)Session; ++ (OneSignalOutcomeEventsController * _Nullable)sharedController; ++ (void)start; ++ (void)clearStatics; + (void)migrate; @end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/OneSignalOutcomes b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/OneSignalOutcomes index 420c832e4..ac29db100 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/OneSignalOutcomes and b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/OneSignalOutcomes differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Resources/Info.plist index ccae789d5..eca8c53fa 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/Resources/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.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_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/_CodeSignature/CodeResources index 4bc6e6c05..04a654dd4 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOutcomes.framework/Versions/A/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Resources/Info.plist - HXPOT+WL1Z5VKusa6qrhErwI9tA= + Fd9+g9tHLGoeD1g5CrchrgqC5YI= files2 @@ -25,6 +25,13 @@ y+P1oKzfvURE+SVKSVr4j6/jH8DgujNwXv1hKuO1EAE= + Headers/OSFocusInfluenceParam.h + + hash2 + + LK98c5Q6F9eZECXWbCKYpRbvZXcUU9mG5JgOHg8a7Wc= + + Headers/OSInAppMessageOutcome.h hash2 @@ -127,14 +134,14 @@ hash2 - 2LLCLqre2Yz61h0Ir/t5whNSGEa/8+9QKJx8WZ/15CQ= + F42Ve+OrEcy1sWj2AgQ6sWBewu+2ajQOi8/p5mZw86k= Headers/OneSignalOutcomes.h hash2 - GFLvc7yAjjvzpcTn4DOvrAd+0+BacOygATaFNR719s0= + Xe5MettPyNsqe7aLCyG62Z+7Sl4suKI+KlxtY47v0Rk= Modules/module.modulemap @@ -148,7 +155,7 @@ hash2 - /PVGKhgHowgRmd14fNbWIk/MMmuwPsHHVC1Nq/eOLoc= + DCvWEtFEA4xXBSNNnnReNgfAaHxl2DNSkt86R03QWpQ= diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSCachedUniqueOutcome.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSChannelTracker.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSChannelTracker.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSChannelTracker.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSChannelTracker.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSFocusInfluenceParam.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSFocusInfluenceParam.h new file mode 100644 index 000000000..efb066cfc --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSFocusInfluenceParam.h @@ -0,0 +1,45 @@ +/** +* 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 OSFocusInfluenceParam_h +#define OSFocusInfluenceParam_h + +@interface OSFocusInfluenceParam : NSObject + +@property (nonatomic, readonly) NSString *influenceKey; +@property (nonatomic, readonly) NSArray *influenceIds; +@property (nonatomic, readonly) NSString *influenceDirectKey; +@property (nonatomic, readonly) BOOL directInfluence; + +- (id)initWithParamsInfluenceIds:(NSArray *)influenceIds + influenceKey:(NSString *)influenceKey + directInfluence:(BOOL)directInfluence + influenceDirectKey:(NSString *)influenceDirectKey; + +@end + +#endif /* OSFocusInfluenceParam_h */ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInAppMessageOutcome.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSIndirectInfluence.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluence.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluence.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluence.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluence.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataDefines.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSInfluenceDataRepository.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEvent.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventParams.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsCache.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsFactory.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeEventsRepository.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSource.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSOutcomeSourceBody.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSSessionManager.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSSessionManager.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSSessionManager.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSSessionManager.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OSTrackerFactory.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h similarity index 71% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h index f99c5ce83..3f1aac2ca 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomeEventsController.h @@ -30,6 +30,7 @@ #import "OSOutcomeEventsFactory.h" #import "OSInAppMessageOutcome.h" #import "OSOutcomeEvent.h" +#import "OSFocusInfluenceParam.h" @interface OneSignalOutcomeEventsController : NSObject @@ -37,25 +38,20 @@ outcomeEventsFactory:(OSOutcomeEventsFactory *_Nonnull)outcomeEventsFactory; - (void)clearOutcomes; +- (void)cleanUniqueOutcomeNotifications; + +- (void)addOutcome:(NSString * _Nonnull)name; +- (void)addUniqueOutcome:(NSString * _Nonnull)name; +- (void)addOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value; - (void)sendClickActionOutcomes:(NSArray *_Nonnull)outcomes appId:(NSString * _Nonnull)appId deviceType:(NSNumber * _Nonnull)deviceType; -- (void)sendOutcomeEvent:(NSString * _Nonnull)name - appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; - -- (void)sendUniqueOutcomeEvent:(NSString * _Nonnull)name +- (void)sendSessionEndOutcomes:(NSNumber* _Nonnull)timeElapsed appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; - -- (void)sendOutcomeEventWithValue:(NSString * _Nonnull)name - value:(NSNumber * _Nullable)weight - appId:(NSString * _Nonnull)appId - deviceType:(NSNumber * _Nonnull)deviceType - successBlock:(OSSendOutcomeSuccess _Nullable)success; + pushSubscriptionId:(NSString * _Nonnull)pushSubscriptionId + onesignalId:(NSString * _Nonnull)onesignalId + influenceParams:(NSArray *_Nonnull)influenceParams; @end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h similarity index 77% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h index e673d4346..e3dcb57d1 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Headers/OneSignalOutcomes.h @@ -40,8 +40,23 @@ #import "OSOutcomeEventsFactory.h" #import "OSTrackerFactory.h" #import "OSOutcomeEventsRepository.h" +#import "OSFocusInfluenceParam.h" -@interface OneSignalOutcomes : NSObject +/** + Public API for Session namespace. + */ +@protocol OSSession ++ (void)addOutcome:(NSString * _Nonnull)name; ++ (void)addUniqueOutcome:(NSString * _Nonnull)name; ++ (void)addOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value NS_REFINED_FOR_SWIFT; + +@end + +@interface OSOutcomes : NSObject ++ (Class _Nonnull)Session; ++ (OneSignalOutcomeEventsController * _Nullable)sharedController; ++ (void)start; ++ (void)clearStatics; + (void)migrate; @end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Info.plist similarity index 53% rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Info.plist rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Info.plist index 77294777a..bb3d14b62 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Modules/module.modulemap similarity index 100% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Modules/module.modulemap rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes new file mode 100755 index 000000000..0afd9a9e5 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources similarity index 80% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources rename to iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources index c44d7e534..4fbbfcd5d 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources @@ -12,6 +12,10 @@ ArLQCzgIq/OhHDNMS3QUpcgiIqU= + Headers/OSFocusInfluenceParam.h + + cJUcXRoWNHjFA632fJMpiiizvEo= + Headers/OSInAppMessageOutcome.h 3xT4e/4T3OhG7IenJ42EGs9MroU= @@ -70,15 +74,15 @@ Headers/OneSignalOutcomeEventsController.h - sD4f/g7VkNo0X2aZKE5/DVsacj4= + EFeNCRUuWTLUBB2pzCywVFUraUI= Headers/OneSignalOutcomes.h - sW/MH6o2HgmQVEWrbtmDRuL4+dA= + O9RtHadI4RnS4d89Kx/gX/aMte8= Info.plist - Ly5Im0f9Yc35taFNyyDz1VYZ6TI= + +fsOIgE1kfKLZjf9SzGJLP/12Ww= Modules/module.modulemap @@ -89,10 +93,6 @@ Headers/OSCachedUniqueOutcome.h - hash - - QQP7NOxbPFL98LkulmK/wbUMQvU= - hash2 totu1nQ6/x4iFLCj1sa0l/+/yxIYwiM3vG0tUTwmaqs= @@ -100,21 +100,20 @@ Headers/OSChannelTracker.h - hash - - ArLQCzgIq/OhHDNMS3QUpcgiIqU= - hash2 y+P1oKzfvURE+SVKSVr4j6/jH8DgujNwXv1hKuO1EAE= - Headers/OSInAppMessageOutcome.h + Headers/OSFocusInfluenceParam.h - hash + hash2 - 3xT4e/4T3OhG7IenJ42EGs9MroU= + LK98c5Q6F9eZECXWbCKYpRbvZXcUU9mG5JgOHg8a7Wc= + + Headers/OSInAppMessageOutcome.h + hash2 6kjvfIl+pf/78MxrtV/Sqy17OmVUmw8+rYEgjDHXNWE= @@ -122,10 +121,6 @@ Headers/OSIndirectInfluence.h - hash - - hwbzVrvNLt3XPES9eE8prBs5T+0= - hash2 n3sfj9ffeEbvDhJzT28iKptXmEQRbSVWSvDeMisJmsc= @@ -133,10 +128,6 @@ Headers/OSInfluence.h - hash - - JhZlas0LGEFoQfTqv25sUlZznns= - hash2 tjQiNzfx4rDkTwjfykGUHZYyZQOTnKPILoqHIDd/2ic= @@ -144,10 +135,6 @@ Headers/OSInfluenceDataDefines.h - hash - - GeTi9WmITIbwf/P/2HBBYvfi2xM= - hash2 iQMoFhEUbxG3EpUfUTH/khO6IrPhWKvvXnku47XTZdc= @@ -155,10 +142,6 @@ Headers/OSInfluenceDataRepository.h - hash - - zEIQwZXZL2ANP3t0dT4rkZ8FCpA= - hash2 knk1+sZ0qZOmSkq4A3Ej5R1dtUJ+36O8oS7eBPIwo/s= @@ -166,10 +149,6 @@ Headers/OSOutcomeEvent.h - hash - - PPHv3rveisEsvRH9qzs+jrf85lc= - hash2 dEM+sqMVSwAGR7Se/gj9TDcGizX0trTRktNyjvxHp/M= @@ -177,10 +156,6 @@ Headers/OSOutcomeEventParams.h - hash - - lJiE/gYGGmN5fH+SaaqT5vfHPog= - hash2 1ba84vOacDL3dvfPb9QuuJrPbNIKMtO5uAFP8fQXVQg= @@ -188,10 +163,6 @@ Headers/OSOutcomeEventsCache.h - hash - - xJtU7JLpDgHjBUbaiE8SnnXGCiQ= - hash2 N6az4wqlL4oB+ugOXVU1xgJMCuABHcDKVi5XAV6e/GU= @@ -199,10 +170,6 @@ Headers/OSOutcomeEventsFactory.h - hash - - b6vJ4AsamqL5CARZVfsSVEQNG68= - hash2 B9zLkhrLlC2+UdJh/XfEHYstpiw8n4y2rH/kdw/ob5A= @@ -210,10 +177,6 @@ Headers/OSOutcomeEventsRepository.h - hash - - o/1Eb25yqP71kTECIELL9hYSsm8= - hash2 REkrumsrQPze19CbYkIMpr/Xb0y8y6i4Ytyk9J30qMY= @@ -221,10 +184,6 @@ Headers/OSOutcomeSource.h - hash - - xCZ3YOQZkpvFUCcVdbyctku3KLQ= - hash2 W8Ekd6VjML7ZnahaytXqSaHRU+B6kBF5OakKQOrQstQ= @@ -232,10 +191,6 @@ Headers/OSOutcomeSourceBody.h - hash - - Z+APpNEoh0EeAHT5zbazL/Ctm3c= - hash2 X1aTd7m6pBhX97KiK9OYccGmdoBVHXFdtNIUegnZ+2s= @@ -243,10 +198,6 @@ Headers/OSSessionManager.h - hash - - b2/LI60ct+svisyN/9N4P5hk3zc= - hash2 PqGFeWJieWBjFVlo9hW6K3zw3EROosJ9GekCpVrw87U= @@ -254,10 +205,6 @@ Headers/OSTrackerFactory.h - hash - - 4sUyvIDmirrXETvMsEpZ29aR1pI= - hash2 e38XG+rnmKSpSyDmrN4/Mc4+zLBKKWQ6+gexB9VHFKg= @@ -265,32 +212,20 @@ Headers/OneSignalOutcomeEventsController.h - hash - - sD4f/g7VkNo0X2aZKE5/DVsacj4= - hash2 - 2LLCLqre2Yz61h0Ir/t5whNSGEa/8+9QKJx8WZ/15CQ= + F42Ve+OrEcy1sWj2AgQ6sWBewu+2ajQOi8/p5mZw86k= Headers/OneSignalOutcomes.h - hash - - sW/MH6o2HgmQVEWrbtmDRuL4+dA= - hash2 - GFLvc7yAjjvzpcTn4DOvrAd+0+BacOygATaFNR719s0= + Xe5MettPyNsqe7aLCyG62Z+7Sl4suKI+KlxtY47v0Rk= Modules/module.modulemap - hash - - W87fybpsrxqJLygJ5rCH+jsvEik= - hash2 71NgarV0pwtZTDET32aMQ3/vjxGUawYZx/s2o2jI064= diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework.zip new file mode 100644 index 000000000..146c5ee0a Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework.zip differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/Info.plist new file mode 100644 index 000000000..34b1c0a71 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + OneSignalUser.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + OneSignalUser.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + OneSignalUser.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Headers/OneSignalUser-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Headers/OneSignalUser-Swift.h new file mode 100644 index 000000000..c8ee4a830 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Headers/OneSignalUser-Swift.h @@ -0,0 +1,411 @@ +#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 ONESIGNALUSER_SWIFT_H +#define ONESIGNALUSER_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; +@import OneSignalNotifications; +#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="OneSignalUser",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +@class NSString; +@protocol OSPushSubscriptionObserver; +@class OSPushSubscriptionState; + +/// This is the push subscription interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser18OSPushSubscription_") +@protocol OSPushSubscription +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +- (void)optIn; +- (void)optOut; +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@end + +@class OSPushSubscriptionStateChanges; + +SWIFT_PROTOCOL("_TtP13OneSignalUser26OSPushSubscriptionObserver_") +@protocol OSPushSubscriptionObserver +- (void)onOSPushSubscriptionChangedWithStateChanges:(OSPushSubscriptionStateChanges * _Nonnull)stateChanges; +@end + +@class NSDictionary; + +SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") +@interface OSPushSubscriptionState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC13OneSignalUser30OSPushSubscriptionStateChanges") +@interface OSPushSubscriptionStateChanges : NSObject +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull to; +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull from; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// This is the user interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") +@protocol OSUser +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@end + + + +SWIFT_CLASS("_TtC13OneSignalUser24OneSignalUserManagerImpl") +@interface OneSignalUserManagerImpl : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUserManagerImpl * _Nonnull sharedInstance;) ++ (OneSignalUserManagerImpl * _Nonnull)sharedInstance SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable pushSubscriptionId; +@property (nonatomic) BOOL requiresUserAuth; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (void)start; +- (void)loginWithExternalId:(NSString * _Nonnull)externalId token:(NSString * _Nullable)token; +/// The SDK needs to have a user at all times, so this method will create a new anonymous user. +- (void)logout; +- (void)clearAllModelsFromStores; +- (NSDictionary * _Nullable)getTags SWIFT_WARN_UNUSED_RESULT; +- (void)setLocationWithLatitude:(float)latitude longitude:(float)longitude; +- (void)sendPurchases:(NSArray *> * _Nonnull)purchases; +@end + +@class NSNumber; + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)startNewSession; +- (void)updateSessionWithSessionCount:(NSNumber * _Nullable)sessionCount sessionTime:(NSNumber * _Nullable)sessionTime refreshDeviceMetadata:(BOOL)refreshDeviceMetadata; +/// App has been backgrounded. Run background tasks such to flush the operation repo and hydrating models. +/// Need to consider app killed vs app backgrounded and handle gracefully. +- (void)runBackgroundTasks; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)setNotificationTypes:(int32_t)notificationTypes; +- (void)setPushToken:(NSString * _Nonnull)pushToken; +- (void)setAccepted:(BOOL)inAccepted; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +/// Enable the push subscription, and prompts if needed. optedIn can still be false after optIn() is called if permission is not granted. +- (void)optIn; +- (void)optOut; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@property (nonatomic, readonly, strong) id _Nonnull User; +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +@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_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Headers/OneSignalUser.h b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Headers/OneSignalUser.h new file mode 100644 index 000000000..e677dada3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Headers/OneSignalUser.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 OneSignalUser. +FOUNDATION_EXPORT double OneSignalUserVersionNumber; + +//! Project version string for OneSignalUser. +FOUNDATION_EXPORT const unsigned char OneSignalUserVersionString[]; diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Info.plist new file mode 100644 index 000000000..ce9a2e8e5 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 000000000..7a5d6759e --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,3885 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSUser", + "printedName": "OSUser", + "children": [ + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(py)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser6OSUserP8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliases:", + "mangledName": "$s13OneSignalUser6OSUserP10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAlias:", + "mangledName": "$s13OneSignalUser6OSUserP11removeAliasyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAliases:", + "mangledName": "$s13OneSignalUser6OSUserP13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser6OSUserP6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTags:", + "mangledName": "$s13OneSignalUser6OSUserP7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTag:", + "mangledName": "$s13OneSignalUser6OSUserP9removeTagyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTags:", + "mangledName": "$s13OneSignalUser6OSUserP10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addEmail:", + "mangledName": "$s13OneSignalUser6OSUserP8addEmailyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeEmail:", + "mangledName": "$s13OneSignalUser6OSUserP11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)setLanguage:", + "mangledName": "$s13OneSignalUser6OSUserP11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser6OSUserP12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5optInyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optOut", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP6optOutyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)addObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP11addObserveryAA0dE5StateCSgAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)removeObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP14removeObserveryyAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUserManagerImpl", + "children": [ + { + "kind": "Var", + "name": "sharedInstance", + "printedName": "sharedInstance", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cpy)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvpZ", + "moduleName": "OneSignalUser", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cm)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvgZ", + "moduleName": "OneSignalUser", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "onesignalId", + "printedName": "onesignalId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresUserAuth", + "printedName": "requiresUserAuth", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "ObjC" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setRequiresUserAuth:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvs", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "moduleName": "OneSignalUser", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)start", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5startyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "login", + "printedName": "login(externalId:token:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)loginWithExternalId:token:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5login10externalId5tokenySS_SSSgtF", + "moduleName": "OneSignalUser", + "objc_name": "loginWithExternalId:token:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)logout", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6logoutyyF", + "moduleName": "OneSignalUser", + "objc_name": "logout", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "clearAllModelsFromStores", + "printedName": "clearAllModelsFromStores()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)clearAllModelsFromStores", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC24clearAllModelsFromStoresyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getTags", + "printedName": "getTags()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)getTags", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7getTagsSDyS2SGSgyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLocation", + "printedName": "setLocation(latitude:longitude:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLocationWithLatitude:longitude:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLocation8latitude9longitudeySf_SftF", + "moduleName": "OneSignalUser", + "objc_name": "setLocationWithLatitude:longitude:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendPurchases", + "printedName": "sendPurchases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[[Swift.String : AnyObject]]", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : AnyObject]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "AnyObject" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)sendPurchases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13sendPurchasesyySaySDySSyXlGGF", + "moduleName": "OneSignalUser", + "objc_name": "sendPurchases:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startNewSession", + "printedName": "startNewSession()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)startNewSession", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15startNewSessionyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateSession", + "printedName": "updateSession(sessionCount:sessionTime:refreshDeviceMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13updateSession12sessionCount0H4Time21refreshDeviceMetadataySo8NSNumberCSg_AJSbtF", + "moduleName": "OneSignalUser", + "objc_name": "updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "runBackgroundTasks", + "printedName": "runBackgroundTasks()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)runBackgroundTasks", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18runBackgroundTasksyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "objc_name": "onJwtExpiredWithExpiredHandler:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvp", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvg", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvp", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvg", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addAliasWithLabel:id:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAlias:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeAliasyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeAlias:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addTagWithKey:value:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTag:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC9removeTagyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeTag:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addEmailyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLanguage:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "objc_name": "setLanguage:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryAA23OSPushSubscriptionStateCSgAA0hiG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA018OSPushSubscriptionG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvp", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optOut", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setNotificationTypes", + "printedName": "setNotificationTypes(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int32", + "printedName": "Swift.Int32", + "usr": "s:s5Int32V" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setNotificationTypes:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC20setNotificationTypesyys5Int32VF", + "moduleName": "OneSignalUser", + "objc_name": "setNotificationTypes:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushToken", + "printedName": "setPushToken(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setPushToken:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12setPushTokenyySSF", + "moduleName": "OneSignalUser", + "objc_name": "setPushToken:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setAccepted", + "printedName": "setAccepted(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setAccepted:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setAcceptedyySbF", + "moduleName": "OneSignalUser", + "objc_name": "setAccepted:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "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": "Conformance", + "name": "OSUser", + "printedName": "OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP" + }, + { + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionObserver", + "printedName": "OSPushSubscriptionObserver", + "children": [ + { + "kind": "Function", + "name": "onOSPushSubscriptionChanged", + "printedName": "onOSPushSubscriptionChanged(stateChanges:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver(im)onOSPushSubscriptionChangedWithStateChanges:", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP02ondE7Changed12stateChangesyAA0de5StateJ0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscriptionObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onOSPushSubscriptionChangedWithStateChanges:", + "declAttributes": [ + "ObjC", + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionState", + "printedName": "OSPushSubscriptionState", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)toDictionary", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OSPushSubscriptionStateChanges", + "children": [ + { + "kind": "Var", + "name": "to", + "printedName": "to", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "from", + "printedName": "from", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)toDictionary", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 3549, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4570, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4589, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4672, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 1885, + "length": 10, + "value": "\"language\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2004, + "length": 5, + "value": "\"lat\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2114, + "length": 6, + "value": "\"long\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "Dictionary", + "offset": 2188, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1570, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", + "kind": "StringLiteral", + "offset": 2006, + "length": 18, + "value": "\"OneSignalUser.OSUserInternalImpl\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1423, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1484, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 1543, + "length": 23, + "value": "\"OneSignalUser.OSPushSubscriptionState\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2259, + "length": 30, + "value": "\"OneSignalUser.OSPushSubscriptionStateChanges\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3272, + "length": 9, + "value": "\"address\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3703, + "length": 16, + "value": "\"subscriptionId\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 5019, + "length": 2, + "value": "2" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 5093, + "length": 19, + "value": "\"notificationTypes\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 4745, + "length": 2, + "value": "1" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2996, + "length": 19, + "value": "\"OneSignalUser.OSSubscriptionModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "Dictionary", + "offset": 1510, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "StringLiteral", + "offset": 1293, + "length": 15, + "value": "\"OneSignalUser.OSIdentityModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1486, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1689, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1752, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "Array", + "offset": 1459, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 14445, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 18737, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 22625, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 25310, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 27490, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 29668, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 33551, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 37002, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 40700, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 44096, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 000000000..df47c6cc6 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 000000000..f1212b163 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 000000000..df47c6cc6 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/module.modulemap new file mode 100644 index 000000000..2313273e3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalUser { + umbrella header "OneSignalUser.h" + + export * + module * { export * } +} + +module OneSignalUser.Swift { + header "OneSignalUser-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/OneSignalUser b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/OneSignalUser new file mode 100755 index 000000000..e0e01d256 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/OneSignalUser differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..8fb035bf0 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/_CodeSignature/CodeResources @@ -0,0 +1,190 @@ + + + + + files + + Headers/OneSignalUser-Swift.h + + 9bjgnSuweDwICpQxU1gLgIgtFIQ= + + Headers/OneSignalUser.h + + pTdDVlAAP214UX3ZzcJHJlgjwKo= + + Info.plist + + dWsWE4Xvwt02hma1Qay5G+co/C8= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.abi.json + + g0XEJb6NEbAF04YxQTaqT5Dw5Wc= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.private.swiftinterface + + Qbe1UXTb+TTUmpzM34TcOgjWJL8= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc + + blYTEgH1MelKRzl8za57Y6Ijwhg= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftinterface + + Qbe1UXTb+TTUmpzM34TcOgjWJL8= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftmodule + + wAhSpNUiu2xdE193fje5uOShHy8= + + Modules/module.modulemap + + G7kIR7T48fnqMfkxMEz5Gq0mPZo= + + + files2 + + Headers/OneSignalUser-Swift.h + + hash2 + + WJyOp1I8mBtz/3QNxDdl2hRjZG/q0RxvTJBK9lLj6UU= + + + Headers/OneSignalUser.h + + hash2 + + kzlTLEUR5uAPjMN03oyfrT8TmYBfxfO52NTJnvQdnvE= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.abi.json + + hash2 + + amiAHPWgzagX4vNvU3CBrFwQ64h3g1a1HFxmkz5r+LY= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.private.swiftinterface + + hash2 + + PhxArIEhlAistdbiB1tK2wM/W4DUjQxiP/vzJWA4cwU= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc + + hash2 + + NjB8OVGRP6O4+LHtJIs2SVZpJNU36gYed66rf1e/y7c= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftinterface + + hash2 + + PhxArIEhlAistdbiB1tK2wM/W4DUjQxiP/vzJWA4cwU= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftmodule + + hash2 + + gtERGPZyfwR8k0On5fmIN7xFmQ3agIPAyJui+sCq/+4= + + + Modules/module.modulemap + + hash2 + + D9eZkSkXqymTKNbGMVvSiBm8jGPDNW9FHX+RgvGgjqc= + + + + 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_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Headers b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Headers new file mode 120000 index 000000000..a177d2a6b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Modules b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Modules new file mode 120000 index 000000000..5736f3186 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/OneSignalUser b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/OneSignalUser new file mode 120000 index 000000000..a9638bf3d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/OneSignalUser @@ -0,0 +1 @@ +Versions/Current/OneSignalUser \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Resources b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Resources new file mode 120000 index 000000000..953ee36f3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Headers/OneSignalUser-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Headers/OneSignalUser-Swift.h new file mode 100644 index 000000000..43c856449 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Headers/OneSignalUser-Swift.h @@ -0,0 +1,818 @@ +#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 ONESIGNALUSER_SWIFT_H +#define ONESIGNALUSER_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; +@import OneSignalNotifications; +#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="OneSignalUser",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +@class NSString; +@protocol OSPushSubscriptionObserver; +@class OSPushSubscriptionState; + +/// This is the push subscription interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser18OSPushSubscription_") +@protocol OSPushSubscription +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +- (void)optIn; +- (void)optOut; +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@end + +@class OSPushSubscriptionStateChanges; + +SWIFT_PROTOCOL("_TtP13OneSignalUser26OSPushSubscriptionObserver_") +@protocol OSPushSubscriptionObserver +- (void)onOSPushSubscriptionChangedWithStateChanges:(OSPushSubscriptionStateChanges * _Nonnull)stateChanges; +@end + +@class NSDictionary; + +SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") +@interface OSPushSubscriptionState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC13OneSignalUser30OSPushSubscriptionStateChanges") +@interface OSPushSubscriptionStateChanges : NSObject +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull to; +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull from; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// This is the user interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") +@protocol OSUser +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@end + + + +SWIFT_CLASS("_TtC13OneSignalUser24OneSignalUserManagerImpl") +@interface OneSignalUserManagerImpl : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUserManagerImpl * _Nonnull sharedInstance;) ++ (OneSignalUserManagerImpl * _Nonnull)sharedInstance SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable pushSubscriptionId; +@property (nonatomic) BOOL requiresUserAuth; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (void)start; +- (void)loginWithExternalId:(NSString * _Nonnull)externalId token:(NSString * _Nullable)token; +/// The SDK needs to have a user at all times, so this method will create a new anonymous user. +- (void)logout; +- (void)clearAllModelsFromStores; +- (NSDictionary * _Nullable)getTags SWIFT_WARN_UNUSED_RESULT; +- (void)setLocationWithLatitude:(float)latitude longitude:(float)longitude; +- (void)sendPurchases:(NSArray *> * _Nonnull)purchases; +@end + +@class NSNumber; + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)startNewSession; +- (void)updateSessionWithSessionCount:(NSNumber * _Nullable)sessionCount sessionTime:(NSNumber * _Nullable)sessionTime refreshDeviceMetadata:(BOOL)refreshDeviceMetadata; +/// App has been backgrounded. Run background tasks such to flush the operation repo and hydrating models. +/// Need to consider app killed vs app backgrounded and handle gracefully. +- (void)runBackgroundTasks; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)setNotificationTypes:(int32_t)notificationTypes; +- (void)setPushToken:(NSString * _Nonnull)pushToken; +- (void)setAccepted:(BOOL)inAccepted; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +/// Enable the push subscription, and prompts if needed. optedIn can still be false after optIn() is called if permission is not granted. +- (void)optIn; +- (void)optOut; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@property (nonatomic, readonly, strong) id _Nonnull User; +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +@end + +#endif +#if defined(__cplusplus) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +#ifndef ONESIGNALUSER_SWIFT_H +#define ONESIGNALUSER_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; +@import OneSignalNotifications; +#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="OneSignalUser",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +@class NSString; +@protocol OSPushSubscriptionObserver; +@class OSPushSubscriptionState; + +/// This is the push subscription interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser18OSPushSubscription_") +@protocol OSPushSubscription +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +- (void)optIn; +- (void)optOut; +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@end + +@class OSPushSubscriptionStateChanges; + +SWIFT_PROTOCOL("_TtP13OneSignalUser26OSPushSubscriptionObserver_") +@protocol OSPushSubscriptionObserver +- (void)onOSPushSubscriptionChangedWithStateChanges:(OSPushSubscriptionStateChanges * _Nonnull)stateChanges; +@end + +@class NSDictionary; + +SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") +@interface OSPushSubscriptionState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC13OneSignalUser30OSPushSubscriptionStateChanges") +@interface OSPushSubscriptionStateChanges : NSObject +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull to; +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull from; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// This is the user interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") +@protocol OSUser +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@end + + + +SWIFT_CLASS("_TtC13OneSignalUser24OneSignalUserManagerImpl") +@interface OneSignalUserManagerImpl : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUserManagerImpl * _Nonnull sharedInstance;) ++ (OneSignalUserManagerImpl * _Nonnull)sharedInstance SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable pushSubscriptionId; +@property (nonatomic) BOOL requiresUserAuth; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (void)start; +- (void)loginWithExternalId:(NSString * _Nonnull)externalId token:(NSString * _Nullable)token; +/// The SDK needs to have a user at all times, so this method will create a new anonymous user. +- (void)logout; +- (void)clearAllModelsFromStores; +- (NSDictionary * _Nullable)getTags SWIFT_WARN_UNUSED_RESULT; +- (void)setLocationWithLatitude:(float)latitude longitude:(float)longitude; +- (void)sendPurchases:(NSArray *> * _Nonnull)purchases; +@end + +@class NSNumber; + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)startNewSession; +- (void)updateSessionWithSessionCount:(NSNumber * _Nullable)sessionCount sessionTime:(NSNumber * _Nullable)sessionTime refreshDeviceMetadata:(BOOL)refreshDeviceMetadata; +/// App has been backgrounded. Run background tasks such to flush the operation repo and hydrating models. +/// Need to consider app killed vs app backgrounded and handle gracefully. +- (void)runBackgroundTasks; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)setNotificationTypes:(int32_t)notificationTypes; +- (void)setPushToken:(NSString * _Nonnull)pushToken; +- (void)setAccepted:(BOOL)inAccepted; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +/// Enable the push subscription, and prompts if needed. optedIn can still be false after optIn() is called if permission is not granted. +- (void)optIn; +- (void)optOut; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@property (nonatomic, readonly, strong) id _Nonnull User; +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +@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_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Headers/OneSignalUser.h b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Headers/OneSignalUser.h new file mode 100644 index 000000000..e677dada3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Headers/OneSignalUser.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 OneSignalUser. +FOUNDATION_EXPORT double OneSignalUserVersionNumber; + +//! Project version string for OneSignalUser. +FOUNDATION_EXPORT const unsigned char OneSignalUserVersionString[]; diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.abi.json new file mode 100644 index 000000000..7a5d6759e --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -0,0 +1,3885 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSUser", + "printedName": "OSUser", + "children": [ + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(py)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser6OSUserP8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliases:", + "mangledName": "$s13OneSignalUser6OSUserP10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAlias:", + "mangledName": "$s13OneSignalUser6OSUserP11removeAliasyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAliases:", + "mangledName": "$s13OneSignalUser6OSUserP13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser6OSUserP6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTags:", + "mangledName": "$s13OneSignalUser6OSUserP7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTag:", + "mangledName": "$s13OneSignalUser6OSUserP9removeTagyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTags:", + "mangledName": "$s13OneSignalUser6OSUserP10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addEmail:", + "mangledName": "$s13OneSignalUser6OSUserP8addEmailyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeEmail:", + "mangledName": "$s13OneSignalUser6OSUserP11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)setLanguage:", + "mangledName": "$s13OneSignalUser6OSUserP11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser6OSUserP12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5optInyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optOut", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP6optOutyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)addObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP11addObserveryAA0dE5StateCSgAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)removeObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP14removeObserveryyAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUserManagerImpl", + "children": [ + { + "kind": "Var", + "name": "sharedInstance", + "printedName": "sharedInstance", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cpy)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvpZ", + "moduleName": "OneSignalUser", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cm)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvgZ", + "moduleName": "OneSignalUser", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "onesignalId", + "printedName": "onesignalId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresUserAuth", + "printedName": "requiresUserAuth", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "ObjC" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setRequiresUserAuth:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvs", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "moduleName": "OneSignalUser", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)start", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5startyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "login", + "printedName": "login(externalId:token:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)loginWithExternalId:token:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5login10externalId5tokenySS_SSSgtF", + "moduleName": "OneSignalUser", + "objc_name": "loginWithExternalId:token:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)logout", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6logoutyyF", + "moduleName": "OneSignalUser", + "objc_name": "logout", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "clearAllModelsFromStores", + "printedName": "clearAllModelsFromStores()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)clearAllModelsFromStores", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC24clearAllModelsFromStoresyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getTags", + "printedName": "getTags()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)getTags", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7getTagsSDyS2SGSgyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLocation", + "printedName": "setLocation(latitude:longitude:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLocationWithLatitude:longitude:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLocation8latitude9longitudeySf_SftF", + "moduleName": "OneSignalUser", + "objc_name": "setLocationWithLatitude:longitude:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendPurchases", + "printedName": "sendPurchases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[[Swift.String : AnyObject]]", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : AnyObject]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "AnyObject" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)sendPurchases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13sendPurchasesyySaySDySSyXlGGF", + "moduleName": "OneSignalUser", + "objc_name": "sendPurchases:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startNewSession", + "printedName": "startNewSession()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)startNewSession", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15startNewSessionyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateSession", + "printedName": "updateSession(sessionCount:sessionTime:refreshDeviceMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13updateSession12sessionCount0H4Time21refreshDeviceMetadataySo8NSNumberCSg_AJSbtF", + "moduleName": "OneSignalUser", + "objc_name": "updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "runBackgroundTasks", + "printedName": "runBackgroundTasks()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)runBackgroundTasks", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18runBackgroundTasksyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "objc_name": "onJwtExpiredWithExpiredHandler:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvp", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvg", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvp", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvg", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addAliasWithLabel:id:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAlias:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeAliasyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeAlias:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addTagWithKey:value:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTag:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC9removeTagyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeTag:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addEmailyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLanguage:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "objc_name": "setLanguage:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryAA23OSPushSubscriptionStateCSgAA0hiG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA018OSPushSubscriptionG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvp", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optOut", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setNotificationTypes", + "printedName": "setNotificationTypes(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int32", + "printedName": "Swift.Int32", + "usr": "s:s5Int32V" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setNotificationTypes:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC20setNotificationTypesyys5Int32VF", + "moduleName": "OneSignalUser", + "objc_name": "setNotificationTypes:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushToken", + "printedName": "setPushToken(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setPushToken:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12setPushTokenyySSF", + "moduleName": "OneSignalUser", + "objc_name": "setPushToken:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setAccepted", + "printedName": "setAccepted(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setAccepted:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setAcceptedyySbF", + "moduleName": "OneSignalUser", + "objc_name": "setAccepted:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "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": "Conformance", + "name": "OSUser", + "printedName": "OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP" + }, + { + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionObserver", + "printedName": "OSPushSubscriptionObserver", + "children": [ + { + "kind": "Function", + "name": "onOSPushSubscriptionChanged", + "printedName": "onOSPushSubscriptionChanged(stateChanges:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver(im)onOSPushSubscriptionChangedWithStateChanges:", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP02ondE7Changed12stateChangesyAA0de5StateJ0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscriptionObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onOSPushSubscriptionChangedWithStateChanges:", + "declAttributes": [ + "ObjC", + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionState", + "printedName": "OSPushSubscriptionState", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)toDictionary", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OSPushSubscriptionStateChanges", + "children": [ + { + "kind": "Var", + "name": "to", + "printedName": "to", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "from", + "printedName": "from", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)toDictionary", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 3549, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4570, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4589, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4672, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 1885, + "length": 10, + "value": "\"language\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2004, + "length": 5, + "value": "\"lat\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2114, + "length": 6, + "value": "\"long\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "Dictionary", + "offset": 2188, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1570, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", + "kind": "StringLiteral", + "offset": 2006, + "length": 18, + "value": "\"OneSignalUser.OSUserInternalImpl\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1423, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1484, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 1543, + "length": 23, + "value": "\"OneSignalUser.OSPushSubscriptionState\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2259, + "length": 30, + "value": "\"OneSignalUser.OSPushSubscriptionStateChanges\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3272, + "length": 9, + "value": "\"address\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3703, + "length": 16, + "value": "\"subscriptionId\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 5019, + "length": 2, + "value": "2" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 5093, + "length": 19, + "value": "\"notificationTypes\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 4745, + "length": 2, + "value": "1" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2996, + "length": 19, + "value": "\"OneSignalUser.OSSubscriptionModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "Dictionary", + "offset": 1510, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "StringLiteral", + "offset": 1293, + "length": 15, + "value": "\"OneSignalUser.OSIdentityModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1486, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1689, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1752, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "Array", + "offset": 1459, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 14445, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 18737, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 22625, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 25310, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 27490, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 29668, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 33551, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 37002, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 40700, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 44096, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 000000000..6ea6cd545 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 000000000..f8cc91937 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 000000000..6ea6cd545 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.abi.json new file mode 100644 index 000000000..7a5d6759e --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -0,0 +1,3885 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSUser", + "printedName": "OSUser", + "children": [ + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(py)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser6OSUserP8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliases:", + "mangledName": "$s13OneSignalUser6OSUserP10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAlias:", + "mangledName": "$s13OneSignalUser6OSUserP11removeAliasyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAliases:", + "mangledName": "$s13OneSignalUser6OSUserP13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser6OSUserP6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTags:", + "mangledName": "$s13OneSignalUser6OSUserP7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTag:", + "mangledName": "$s13OneSignalUser6OSUserP9removeTagyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTags:", + "mangledName": "$s13OneSignalUser6OSUserP10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addEmail:", + "mangledName": "$s13OneSignalUser6OSUserP8addEmailyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeEmail:", + "mangledName": "$s13OneSignalUser6OSUserP11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)setLanguage:", + "mangledName": "$s13OneSignalUser6OSUserP11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser6OSUserP12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5optInyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optOut", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP6optOutyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)addObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP11addObserveryAA0dE5StateCSgAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)removeObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP14removeObserveryyAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUserManagerImpl", + "children": [ + { + "kind": "Var", + "name": "sharedInstance", + "printedName": "sharedInstance", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cpy)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvpZ", + "moduleName": "OneSignalUser", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cm)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvgZ", + "moduleName": "OneSignalUser", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "onesignalId", + "printedName": "onesignalId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresUserAuth", + "printedName": "requiresUserAuth", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "ObjC" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setRequiresUserAuth:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvs", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "moduleName": "OneSignalUser", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)start", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5startyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "login", + "printedName": "login(externalId:token:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)loginWithExternalId:token:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5login10externalId5tokenySS_SSSgtF", + "moduleName": "OneSignalUser", + "objc_name": "loginWithExternalId:token:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)logout", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6logoutyyF", + "moduleName": "OneSignalUser", + "objc_name": "logout", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "clearAllModelsFromStores", + "printedName": "clearAllModelsFromStores()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)clearAllModelsFromStores", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC24clearAllModelsFromStoresyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getTags", + "printedName": "getTags()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)getTags", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7getTagsSDyS2SGSgyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLocation", + "printedName": "setLocation(latitude:longitude:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLocationWithLatitude:longitude:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLocation8latitude9longitudeySf_SftF", + "moduleName": "OneSignalUser", + "objc_name": "setLocationWithLatitude:longitude:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendPurchases", + "printedName": "sendPurchases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[[Swift.String : AnyObject]]", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : AnyObject]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "AnyObject" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)sendPurchases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13sendPurchasesyySaySDySSyXlGGF", + "moduleName": "OneSignalUser", + "objc_name": "sendPurchases:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startNewSession", + "printedName": "startNewSession()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)startNewSession", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15startNewSessionyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateSession", + "printedName": "updateSession(sessionCount:sessionTime:refreshDeviceMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13updateSession12sessionCount0H4Time21refreshDeviceMetadataySo8NSNumberCSg_AJSbtF", + "moduleName": "OneSignalUser", + "objc_name": "updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "runBackgroundTasks", + "printedName": "runBackgroundTasks()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)runBackgroundTasks", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18runBackgroundTasksyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "objc_name": "onJwtExpiredWithExpiredHandler:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvp", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvg", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvp", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvg", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addAliasWithLabel:id:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAlias:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeAliasyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeAlias:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addTagWithKey:value:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTag:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC9removeTagyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeTag:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addEmailyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLanguage:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "objc_name": "setLanguage:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryAA23OSPushSubscriptionStateCSgAA0hiG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA018OSPushSubscriptionG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvp", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optOut", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setNotificationTypes", + "printedName": "setNotificationTypes(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int32", + "printedName": "Swift.Int32", + "usr": "s:s5Int32V" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setNotificationTypes:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC20setNotificationTypesyys5Int32VF", + "moduleName": "OneSignalUser", + "objc_name": "setNotificationTypes:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushToken", + "printedName": "setPushToken(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setPushToken:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12setPushTokenyySSF", + "moduleName": "OneSignalUser", + "objc_name": "setPushToken:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setAccepted", + "printedName": "setAccepted(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setAccepted:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setAcceptedyySbF", + "moduleName": "OneSignalUser", + "objc_name": "setAccepted:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "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": "Conformance", + "name": "OSUser", + "printedName": "OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP" + }, + { + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionObserver", + "printedName": "OSPushSubscriptionObserver", + "children": [ + { + "kind": "Function", + "name": "onOSPushSubscriptionChanged", + "printedName": "onOSPushSubscriptionChanged(stateChanges:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver(im)onOSPushSubscriptionChangedWithStateChanges:", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP02ondE7Changed12stateChangesyAA0de5StateJ0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscriptionObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onOSPushSubscriptionChangedWithStateChanges:", + "declAttributes": [ + "ObjC", + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionState", + "printedName": "OSPushSubscriptionState", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)toDictionary", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OSPushSubscriptionStateChanges", + "children": [ + { + "kind": "Var", + "name": "to", + "printedName": "to", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "from", + "printedName": "from", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)toDictionary", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 3549, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4570, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4589, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4672, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 1885, + "length": 10, + "value": "\"language\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2004, + "length": 5, + "value": "\"lat\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2114, + "length": 6, + "value": "\"long\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "Dictionary", + "offset": 2188, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1570, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", + "kind": "StringLiteral", + "offset": 2006, + "length": 18, + "value": "\"OneSignalUser.OSUserInternalImpl\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1423, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1484, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 1543, + "length": 23, + "value": "\"OneSignalUser.OSPushSubscriptionState\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2259, + "length": 30, + "value": "\"OneSignalUser.OSPushSubscriptionStateChanges\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3272, + "length": 9, + "value": "\"address\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3703, + "length": 16, + "value": "\"subscriptionId\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 5019, + "length": 2, + "value": "2" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 5093, + "length": 19, + "value": "\"notificationTypes\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 4745, + "length": 2, + "value": "1" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2996, + "length": 19, + "value": "\"OneSignalUser.OSSubscriptionModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "Dictionary", + "offset": 1510, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "StringLiteral", + "offset": 1293, + "length": 15, + "value": "\"OneSignalUser.OSIdentityModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1486, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1689, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1752, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "Array", + "offset": 1459, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 14445, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 18737, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 22625, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 25310, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 27490, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 29668, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 33551, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 37002, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 40700, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 44096, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 000000000..acd6fba6e --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 000000000..69a21ffc2 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 000000000..acd6fba6e --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 000000000..2313273e3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalUser { + umbrella header "OneSignalUser.h" + + export * + module * { export * } +} + +module OneSignalUser.Swift { + header "OneSignalUser-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/OneSignalUser b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/OneSignalUser new file mode 100755 index 000000000..992efc657 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/OneSignalUser differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Resources/Info.plist new file mode 100644 index 000000000..798888b62 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 21G72 + CFBundleDevelopmentRegion + English + CFBundleExecutable + OneSignalUser + CFBundleIdentifier + com.onesignal.OneSignalUser + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + OneSignalUser + 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_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/_CodeSignature/CodeResources new file mode 100644 index 000000000..09d1104ac --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/_CodeSignature/CodeResources @@ -0,0 +1,219 @@ + + + + + files + + Resources/Info.plist + + SQiEkaRfT2rp5L477pCFgjxDobI= + + + files2 + + Headers/OneSignalUser-Swift.h + + hash2 + + Gaw7EtFMU2ggsLdt88LDchqP2xcP7/JxNAcGhkGc0J4= + + + Headers/OneSignalUser.h + + hash2 + + kzlTLEUR5uAPjMN03oyfrT8TmYBfxfO52NTJnvQdnvE= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.abi.json + + hash2 + + amiAHPWgzagX4vNvU3CBrFwQ64h3g1a1HFxmkz5r+LY= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface + + hash2 + + 0oFxmjXDXGD8KHeXzNqOco1eUgMfO9H95oQKo0kYaek= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftdoc + + hash2 + + qtdSJfikvOLBPIGPbn83UMNHYnSmsLsI2L6fp0Tzfh4= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftinterface + + hash2 + + 0oFxmjXDXGD8KHeXzNqOco1eUgMfO9H95oQKo0kYaek= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftmodule + + hash2 + + DiT1i0ZwOoQiO/HHNyRYUhHMZZRMI154tygRLuiNq5U= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.abi.json + + hash2 + + amiAHPWgzagX4vNvU3CBrFwQ64h3g1a1HFxmkz5r+LY= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface + + hash2 + + zqClivK0tjXtsVSZGZVEqXiP8dI6gzZXJGLk5LzF+U0= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftdoc + + hash2 + + uHCvXnZiAZyf1wvko59ypjP6HjKAbL/ga+dtuxjIH7c= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftinterface + + hash2 + + zqClivK0tjXtsVSZGZVEqXiP8dI6gzZXJGLk5LzF+U0= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftmodule + + hash2 + + lc0LNkZGGlzSLD8tPEJ9HbWjKY0rMb6Az7Shw6L8iCY= + + + Modules/module.modulemap + + hash2 + + D9eZkSkXqymTKNbGMVvSiBm8jGPDNW9FHX+RgvGgjqc= + + + Resources/Info.plist + + hash2 + + z2t8CQmOMC0iWjFZftf8oRFws3C2HMPY8RuqqC+M3ow= + + + + 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_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/Current b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/Current new file mode 120000 index 000000000..8c7e5a667 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Headers/OneSignalUser-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Headers/OneSignalUser-Swift.h new file mode 100644 index 000000000..43c856449 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Headers/OneSignalUser-Swift.h @@ -0,0 +1,818 @@ +#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 ONESIGNALUSER_SWIFT_H +#define ONESIGNALUSER_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; +@import OneSignalNotifications; +#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="OneSignalUser",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +@class NSString; +@protocol OSPushSubscriptionObserver; +@class OSPushSubscriptionState; + +/// This is the push subscription interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser18OSPushSubscription_") +@protocol OSPushSubscription +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +- (void)optIn; +- (void)optOut; +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@end + +@class OSPushSubscriptionStateChanges; + +SWIFT_PROTOCOL("_TtP13OneSignalUser26OSPushSubscriptionObserver_") +@protocol OSPushSubscriptionObserver +- (void)onOSPushSubscriptionChangedWithStateChanges:(OSPushSubscriptionStateChanges * _Nonnull)stateChanges; +@end + +@class NSDictionary; + +SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") +@interface OSPushSubscriptionState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC13OneSignalUser30OSPushSubscriptionStateChanges") +@interface OSPushSubscriptionStateChanges : NSObject +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull to; +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull from; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// This is the user interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") +@protocol OSUser +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@end + + + +SWIFT_CLASS("_TtC13OneSignalUser24OneSignalUserManagerImpl") +@interface OneSignalUserManagerImpl : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUserManagerImpl * _Nonnull sharedInstance;) ++ (OneSignalUserManagerImpl * _Nonnull)sharedInstance SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable pushSubscriptionId; +@property (nonatomic) BOOL requiresUserAuth; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (void)start; +- (void)loginWithExternalId:(NSString * _Nonnull)externalId token:(NSString * _Nullable)token; +/// The SDK needs to have a user at all times, so this method will create a new anonymous user. +- (void)logout; +- (void)clearAllModelsFromStores; +- (NSDictionary * _Nullable)getTags SWIFT_WARN_UNUSED_RESULT; +- (void)setLocationWithLatitude:(float)latitude longitude:(float)longitude; +- (void)sendPurchases:(NSArray *> * _Nonnull)purchases; +@end + +@class NSNumber; + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)startNewSession; +- (void)updateSessionWithSessionCount:(NSNumber * _Nullable)sessionCount sessionTime:(NSNumber * _Nullable)sessionTime refreshDeviceMetadata:(BOOL)refreshDeviceMetadata; +/// App has been backgrounded. Run background tasks such to flush the operation repo and hydrating models. +/// Need to consider app killed vs app backgrounded and handle gracefully. +- (void)runBackgroundTasks; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)setNotificationTypes:(int32_t)notificationTypes; +- (void)setPushToken:(NSString * _Nonnull)pushToken; +- (void)setAccepted:(BOOL)inAccepted; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +/// Enable the push subscription, and prompts if needed. optedIn can still be false after optIn() is called if permission is not granted. +- (void)optIn; +- (void)optOut; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@property (nonatomic, readonly, strong) id _Nonnull User; +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +@end + +#endif +#if defined(__cplusplus) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +#ifndef ONESIGNALUSER_SWIFT_H +#define ONESIGNALUSER_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; +@import OneSignalNotifications; +#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="OneSignalUser",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +@class NSString; +@protocol OSPushSubscriptionObserver; +@class OSPushSubscriptionState; + +/// This is the push subscription interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser18OSPushSubscription_") +@protocol OSPushSubscription +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +- (void)optIn; +- (void)optOut; +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@end + +@class OSPushSubscriptionStateChanges; + +SWIFT_PROTOCOL("_TtP13OneSignalUser26OSPushSubscriptionObserver_") +@protocol OSPushSubscriptionObserver +- (void)onOSPushSubscriptionChangedWithStateChanges:(OSPushSubscriptionStateChanges * _Nonnull)stateChanges; +@end + +@class NSDictionary; + +SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") +@interface OSPushSubscriptionState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC13OneSignalUser30OSPushSubscriptionStateChanges") +@interface OSPushSubscriptionStateChanges : NSObject +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull to; +@property (nonatomic, readonly, strong) OSPushSubscriptionState * _Nonnull from; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)toDictionary SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// This is the user interface exposed to the public. +SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") +@protocol OSUser +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@end + + + +SWIFT_CLASS("_TtC13OneSignalUser24OneSignalUserManagerImpl") +@interface OneSignalUserManagerImpl : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUserManagerImpl * _Nonnull sharedInstance;) ++ (OneSignalUserManagerImpl * _Nonnull)sharedInstance SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable pushSubscriptionId; +@property (nonatomic) BOOL requiresUserAuth; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (void)start; +- (void)loginWithExternalId:(NSString * _Nonnull)externalId token:(NSString * _Nullable)token; +/// The SDK needs to have a user at all times, so this method will create a new anonymous user. +- (void)logout; +- (void)clearAllModelsFromStores; +- (NSDictionary * _Nullable)getTags SWIFT_WARN_UNUSED_RESULT; +- (void)setLocationWithLatitude:(float)latitude longitude:(float)longitude; +- (void)sendPurchases:(NSArray *> * _Nonnull)purchases; +@end + +@class NSNumber; + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)startNewSession; +- (void)updateSessionWithSessionCount:(NSNumber * _Nullable)sessionCount sessionTime:(NSNumber * _Nullable)sessionTime refreshDeviceMetadata:(BOOL)refreshDeviceMetadata; +/// App has been backgrounded. Run background tasks such to flush the operation repo and hydrating models. +/// Need to consider app killed vs app backgrounded and handle gracefully. +- (void)runBackgroundTasks; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)setNotificationTypes:(int32_t)notificationTypes; +- (void)setPushToken:(NSString * _Nonnull)pushToken; +- (void)setAccepted:(BOOL)inAccepted; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (OSPushSubscriptionState * _Nullable)addObserver:(id _Nonnull)observer SWIFT_WARN_UNUSED_RESULT; +- (void)removeObserver:(id _Nonnull)observer; +@property (nonatomic, readonly, copy) NSString * _Nullable id; +@property (nonatomic, readonly, copy) NSString * _Nullable token; +@property (nonatomic, readonly) BOOL optedIn; +/// Enable the push subscription, and prompts if needed. optedIn can still be false after optIn() is called if permission is not granted. +- (void)optIn; +- (void)optOut; +@end + + +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +- (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; +@property (nonatomic, readonly, strong) id _Nonnull User; +@property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +- (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; +- (void)addAliases:(NSDictionary * _Nonnull)aliases; +- (void)removeAlias:(NSString * _Nonnull)label; +- (void)removeAliases:(NSArray * _Nonnull)labels; +- (void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value; +- (void)addTags:(NSDictionary * _Nonnull)tags; +- (void)removeTag:(NSString * _Nonnull)tag; +- (void)removeTags:(NSArray * _Nonnull)tags; +- (void)addEmail:(NSString * _Nonnull)email; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeEmail:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +- (void)addSmsNumber:(NSString * _Nonnull)number; +/// If this email doesn’t already exist on the user, it cannot be removed. +/// This will be a no-op and no request will be made. +/// Error handling needs to be implemented in the future. +- (BOOL)removeSmsNumber:(NSString * _Nonnull)number SWIFT_WARN_UNUSED_RESULT; +- (void)setLanguage:(NSString * _Nullable)language; +@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_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Headers/OneSignalUser.h b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Headers/OneSignalUser.h new file mode 100644 index 000000000..e677dada3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Headers/OneSignalUser.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 OneSignalUser. +FOUNDATION_EXPORT double OneSignalUserVersionNumber; + +//! Project version string for OneSignalUser. +FOUNDATION_EXPORT const unsigned char OneSignalUserVersionString[]; diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Info.plist new file mode 100644 index 000000000..af0b07fb4 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..7a5d6759e --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,3885 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSUser", + "printedName": "OSUser", + "children": [ + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(py)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser6OSUserP8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliases:", + "mangledName": "$s13OneSignalUser6OSUserP10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAlias:", + "mangledName": "$s13OneSignalUser6OSUserP11removeAliasyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAliases:", + "mangledName": "$s13OneSignalUser6OSUserP13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser6OSUserP6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTags:", + "mangledName": "$s13OneSignalUser6OSUserP7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTag:", + "mangledName": "$s13OneSignalUser6OSUserP9removeTagyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTags:", + "mangledName": "$s13OneSignalUser6OSUserP10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addEmail:", + "mangledName": "$s13OneSignalUser6OSUserP8addEmailyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeEmail:", + "mangledName": "$s13OneSignalUser6OSUserP11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)setLanguage:", + "mangledName": "$s13OneSignalUser6OSUserP11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser6OSUserP12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5optInyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optOut", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP6optOutyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)addObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP11addObserveryAA0dE5StateCSgAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)removeObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP14removeObserveryyAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUserManagerImpl", + "children": [ + { + "kind": "Var", + "name": "sharedInstance", + "printedName": "sharedInstance", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cpy)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvpZ", + "moduleName": "OneSignalUser", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cm)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvgZ", + "moduleName": "OneSignalUser", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "onesignalId", + "printedName": "onesignalId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresUserAuth", + "printedName": "requiresUserAuth", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "ObjC" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setRequiresUserAuth:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvs", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "moduleName": "OneSignalUser", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)start", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5startyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "login", + "printedName": "login(externalId:token:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)loginWithExternalId:token:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5login10externalId5tokenySS_SSSgtF", + "moduleName": "OneSignalUser", + "objc_name": "loginWithExternalId:token:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)logout", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6logoutyyF", + "moduleName": "OneSignalUser", + "objc_name": "logout", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "clearAllModelsFromStores", + "printedName": "clearAllModelsFromStores()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)clearAllModelsFromStores", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC24clearAllModelsFromStoresyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getTags", + "printedName": "getTags()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)getTags", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7getTagsSDyS2SGSgyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLocation", + "printedName": "setLocation(latitude:longitude:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLocationWithLatitude:longitude:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLocation8latitude9longitudeySf_SftF", + "moduleName": "OneSignalUser", + "objc_name": "setLocationWithLatitude:longitude:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendPurchases", + "printedName": "sendPurchases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[[Swift.String : AnyObject]]", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : AnyObject]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "AnyObject" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)sendPurchases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13sendPurchasesyySaySDySSyXlGGF", + "moduleName": "OneSignalUser", + "objc_name": "sendPurchases:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startNewSession", + "printedName": "startNewSession()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)startNewSession", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15startNewSessionyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateSession", + "printedName": "updateSession(sessionCount:sessionTime:refreshDeviceMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13updateSession12sessionCount0H4Time21refreshDeviceMetadataySo8NSNumberCSg_AJSbtF", + "moduleName": "OneSignalUser", + "objc_name": "updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "runBackgroundTasks", + "printedName": "runBackgroundTasks()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)runBackgroundTasks", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18runBackgroundTasksyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "objc_name": "onJwtExpiredWithExpiredHandler:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvp", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvg", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvp", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvg", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addAliasWithLabel:id:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAlias:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeAliasyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeAlias:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addTagWithKey:value:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTag:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC9removeTagyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeTag:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addEmailyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLanguage:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "objc_name": "setLanguage:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryAA23OSPushSubscriptionStateCSgAA0hiG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA018OSPushSubscriptionG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvp", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optOut", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setNotificationTypes", + "printedName": "setNotificationTypes(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int32", + "printedName": "Swift.Int32", + "usr": "s:s5Int32V" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setNotificationTypes:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC20setNotificationTypesyys5Int32VF", + "moduleName": "OneSignalUser", + "objc_name": "setNotificationTypes:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushToken", + "printedName": "setPushToken(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setPushToken:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12setPushTokenyySSF", + "moduleName": "OneSignalUser", + "objc_name": "setPushToken:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setAccepted", + "printedName": "setAccepted(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setAccepted:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setAcceptedyySbF", + "moduleName": "OneSignalUser", + "objc_name": "setAccepted:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "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": "Conformance", + "name": "OSUser", + "printedName": "OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP" + }, + { + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionObserver", + "printedName": "OSPushSubscriptionObserver", + "children": [ + { + "kind": "Function", + "name": "onOSPushSubscriptionChanged", + "printedName": "onOSPushSubscriptionChanged(stateChanges:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver(im)onOSPushSubscriptionChangedWithStateChanges:", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP02ondE7Changed12stateChangesyAA0de5StateJ0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscriptionObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onOSPushSubscriptionChangedWithStateChanges:", + "declAttributes": [ + "ObjC", + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionState", + "printedName": "OSPushSubscriptionState", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)toDictionary", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OSPushSubscriptionStateChanges", + "children": [ + { + "kind": "Var", + "name": "to", + "printedName": "to", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "from", + "printedName": "from", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)toDictionary", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 3549, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4570, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4589, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4672, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 1885, + "length": 10, + "value": "\"language\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2004, + "length": 5, + "value": "\"lat\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2114, + "length": 6, + "value": "\"long\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "Dictionary", + "offset": 2188, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1570, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", + "kind": "StringLiteral", + "offset": 2006, + "length": 18, + "value": "\"OneSignalUser.OSUserInternalImpl\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1423, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1484, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 1543, + "length": 23, + "value": "\"OneSignalUser.OSPushSubscriptionState\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2259, + "length": 30, + "value": "\"OneSignalUser.OSPushSubscriptionStateChanges\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3272, + "length": 9, + "value": "\"address\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3703, + "length": 16, + "value": "\"subscriptionId\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 5019, + "length": 2, + "value": "2" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 5093, + "length": 19, + "value": "\"notificationTypes\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 4745, + "length": 2, + "value": "1" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2996, + "length": 19, + "value": "\"OneSignalUser.OSSubscriptionModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "Dictionary", + "offset": 1510, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "StringLiteral", + "offset": 1293, + "length": 15, + "value": "\"OneSignalUser.OSIdentityModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1486, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1689, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1752, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "Array", + "offset": 1459, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 14445, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 18737, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 22625, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 25310, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 27490, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 29668, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 33551, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 37002, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 40700, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 44096, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..5015cd88a --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..0016e027e Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..5015cd88a --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..7a5d6759e --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,3885 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSUser", + "printedName": "OSUser", + "children": [ + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(py)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)pushSubscription", + "mangledName": "$s13OneSignalUser6OSUserP16pushSubscriptionAA06OSPushF0_pvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser6OSUserP8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addAliases:", + "mangledName": "$s13OneSignalUser6OSUserP10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAlias:", + "mangledName": "$s13OneSignalUser6OSUserP11removeAliasyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeAliases:", + "mangledName": "$s13OneSignalUser6OSUserP13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser6OSUserP6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addTags:", + "mangledName": "$s13OneSignalUser6OSUserP7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTag:", + "mangledName": "$s13OneSignalUser6OSUserP9removeTagyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeTags:", + "mangledName": "$s13OneSignalUser6OSUserP10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addEmail:", + "mangledName": "$s13OneSignalUser6OSUserP8addEmailyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeEmail:", + "mangledName": "$s13OneSignalUser6OSUserP11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser6OSUserP15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)setLanguage:", + "mangledName": "$s13OneSignalUser6OSUserP11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser6OSUserP12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)id", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP2idSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)token", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5tokenSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(py)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvp", + "moduleName": "OneSignalUser", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optedIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP7optedInSbvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optIn", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP5optInyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)optOut", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP6optOutyyF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)addObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP11addObserveryAA0dE5StateCSgAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription(im)removeObserver:", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP14removeObserveryyAA0deG0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscription>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUserManagerImpl", + "children": [ + { + "kind": "Var", + "name": "sharedInstance", + "printedName": "sharedInstance", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cpy)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvpZ", + "moduleName": "OneSignalUser", + "static": true, + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OneSignalUserManagerImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(cm)sharedInstance", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14sharedInstanceACvgZ", + "moduleName": "OneSignalUser", + "static": true, + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "onesignalId", + "printedName": "onesignalId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "moduleName": "OneSignalUser", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresUserAuth", + "printedName": "requiresUserAuth", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "AccessControl", + "ObjC" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)requiresUserAuth", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setRequiresUserAuth:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvs", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "ObjC" + ], + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC08requiresC4AuthSbvM", + "moduleName": "OneSignalUser", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "start", + "printedName": "start()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)start", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5startyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "login", + "printedName": "login(externalId:token:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)loginWithExternalId:token:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5login10externalId5tokenySS_SSSgtF", + "moduleName": "OneSignalUser", + "objc_name": "loginWithExternalId:token:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "logout", + "printedName": "logout()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)logout", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6logoutyyF", + "moduleName": "OneSignalUser", + "objc_name": "logout", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "clearAllModelsFromStores", + "printedName": "clearAllModelsFromStores()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)clearAllModelsFromStores", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC24clearAllModelsFromStoresyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getTags", + "printedName": "getTags()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)getTags", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7getTagsSDyS2SGSgyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLocation", + "printedName": "setLocation(latitude:longitude:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + }, + { + "kind": "TypeNominal", + "name": "Float", + "printedName": "Swift.Float", + "usr": "s:Sf" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLocationWithLatitude:longitude:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLocation8latitude9longitudeySf_SftF", + "moduleName": "OneSignalUser", + "objc_name": "setLocationWithLatitude:longitude:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendPurchases", + "printedName": "sendPurchases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[[Swift.String : AnyObject]]", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : AnyObject]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "AnyObject" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)sendPurchases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13sendPurchasesyySaySDySSyXlGGF", + "moduleName": "OneSignalUser", + "objc_name": "sendPurchases:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "startNewSession", + "printedName": "startNewSession()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)startNewSession", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15startNewSessionyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateSession", + "printedName": "updateSession(sessionCount:sessionTime:refreshDeviceMetadata:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.NSNumber?", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13updateSession12sessionCount0H4Time21refreshDeviceMetadataySo8NSNumberCSg_AJSbtF", + "moduleName": "OneSignalUser", + "objc_name": "updateSessionWithSessionCount:sessionTime:refreshDeviceMetadata:", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "runBackgroundTasks", + "printedName": "runBackgroundTasks()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)runBackgroundTasks", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18runBackgroundTasksyyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Dynamic", + "AccessControl", + "ObjC", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onJwtExpired", + "printedName": "onJwtExpired(expiredHandler:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, (Swift.String) -> ()) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, (Swift.String) -> ())", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "typeAttributes": [ + "noescape" + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onJwtExpiredWithExpiredHandler:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12onJwtExpired14expiredHandleryySS_ySSXEtc_tF", + "moduleName": "OneSignalUser", + "objc_name": "onJwtExpiredWithExpiredHandler:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvp", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)User", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC0C0AA6OSUser_pvg", + "moduleName": "OneSignalUser", + "objc_name": "User", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "pushSubscription", + "printedName": "pushSubscription", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvp", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscription", + "printedName": "OneSignalUser.OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscription", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC16pushSubscriptionAA06OSPushG0_pvg", + "moduleName": "OneSignalUser", + "objc_name": "pushSubscription", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addAlias", + "printedName": "addAlias(label:id:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliasWithLabel:id:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addAlias5label2idySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addAliasWithLabel:id:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addAliases", + "printedName": "addAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10addAliasesyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAlias", + "printedName": "removeAlias(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAlias:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeAliasyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeAlias:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeAliases", + "printedName": "removeAliases(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeAliases:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC13removeAliasesyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeAliases:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTag", + "printedName": "addTag(key:value:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTagWithKey:value:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6addTag3key5valueySS_SStF", + "moduleName": "OneSignalUser", + "objc_name": "addTagWithKey:value:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addTags", + "printedName": "addTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7addTagsyySDyS2SGF", + "moduleName": "OneSignalUser", + "objc_name": "addTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTag", + "printedName": "removeTag(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTag:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC9removeTagyySSF", + "moduleName": "OneSignalUser", + "objc_name": "removeTag:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeTags", + "printedName": "removeTags(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeTags:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10removeTagsyySaySSGF", + "moduleName": "OneSignalUser", + "objc_name": "removeTags:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addEmail", + "printedName": "addEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8addEmailyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeEmail", + "printedName": "removeEmail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeEmail:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11removeEmailySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeEmail:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addSmsNumber", + "printedName": "addSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12addSmsNumberyySSF", + "moduleName": "OneSignalUser", + "objc_name": "addSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeSmsNumber", + "printedName": "removeSmsNumber(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeSmsNumber:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC15removeSmsNumberySbSSF", + "moduleName": "OneSignalUser", + "objc_name": "removeSmsNumber:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setLanguage", + "printedName": "setLanguage(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setLanguage:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setLanguageyySSSgF", + "moduleName": "OneSignalUser", + "objc_name": "setLanguage:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "OneSignalUser.OSPushSubscriptionState?", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryAA23OSPushSubscriptionStateCSgAA0hiG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA018OSPushSubscriptionG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvp", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optOut", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setNotificationTypes", + "printedName": "setNotificationTypes(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int32", + "printedName": "Swift.Int32", + "usr": "s:s5Int32V" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setNotificationTypes:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC20setNotificationTypesyys5Int32VF", + "moduleName": "OneSignalUser", + "objc_name": "setNotificationTypes:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setPushToken", + "printedName": "setPushToken(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setPushToken:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC12setPushTokenyySSF", + "moduleName": "OneSignalUser", + "objc_name": "setPushToken:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setAccepted", + "printedName": "setAccepted(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)setAccepted:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11setAcceptedyySbF", + "moduleName": "OneSignalUser", + "objc_name": "setAccepted:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "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": "Conformance", + "name": "OSUser", + "printedName": "OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser", + "mangledName": "$s13OneSignalUser6OSUserP" + }, + { + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionObserver", + "printedName": "OSPushSubscriptionObserver", + "children": [ + { + "kind": "Function", + "name": "onOSPushSubscriptionChanged", + "printedName": "onOSPushSubscriptionChanged(stateChanges:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver(im)onOSPushSubscriptionChangedWithStateChanges:", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP02ondE7Changed12stateChangesyAA0de5StateJ0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSPushSubscriptionObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onOSPushSubscriptionChangedWithStateChanges:", + "declAttributes": [ + "ObjC", + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", + "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "ObjC", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSPushSubscriptionState", + "printedName": "OSPushSubscriptionState", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "token", + "printedName": "token", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)token", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)optedIn", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC7optedInSbvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)toDictionary", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "TypeDecl", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OSPushSubscriptionStateChanges", + "children": [ + { + "kind": "Var", + "name": "to", + "printedName": "to", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)to", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC2toAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "from", + "printedName": "from", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvp", + "moduleName": "OneSignalUser", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl", + "ObjC" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)from", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC4fromAA0deF0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvp", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "toDictionary", + "printedName": "toDictionary()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)toDictionary", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC12toDictionarySo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionStateChanges", + "printedName": "OneSignalUser.OSPushSubscriptionStateChanges", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionStateChanges", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionStateChangesC", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": 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": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, + { + "kind": "Import", + "name": "OneSignalOSCore", + "printedName": "OneSignalOSCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + } + ], + "json_format_version": 8 + }, + "ConstValues": [ + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 3549, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4570, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4589, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 4672, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 1885, + "length": 10, + "value": "\"language\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2004, + "length": 5, + "value": "\"lat\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "StringLiteral", + "offset": 2114, + "length": 6, + "value": "\"long\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", + "kind": "Dictionary", + "offset": 2188, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1438, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1570, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", + "kind": "StringLiteral", + "offset": 2006, + "length": 18, + "value": "\"OneSignalUser.OSUserInternalImpl\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1423, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "kind": "Array", + "offset": 1484, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 1543, + "length": 23, + "value": "\"OneSignalUser.OSPushSubscriptionState\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2259, + "length": 30, + "value": "\"OneSignalUser.OSPushSubscriptionStateChanges\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2893, + "length": 9, + "value": "\"iOSPush\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2920, + "length": 7, + "value": "\"Email\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2943, + "length": 5, + "value": "\"SMS\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3272, + "length": 9, + "value": "\"address\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 3703, + "length": 16, + "value": "\"subscriptionId\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 5019, + "length": 2, + "value": "2" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 5093, + "length": 19, + "value": "\"notificationTypes\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "IntegerLiteral", + "offset": 4745, + "length": 2, + "value": "1" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", + "kind": "StringLiteral", + "offset": 2996, + "length": 19, + "value": "\"OneSignalUser.OSSubscriptionModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "Dictionary", + "offset": 1510, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityModel.swift", + "kind": "StringLiteral", + "offset": 1293, + "length": 15, + "value": "\"OneSignalUser.OSIdentityModel\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1486, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1626, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1689, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "kind": "Array", + "offset": 1752, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "Array", + "offset": 1459, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 14445, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 18737, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 22625, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 25310, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 27490, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 29668, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 33551, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 37002, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 40700, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, + { + "filePath": "\/Users\/elliotmawby\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "kind": "StringLiteral", + "offset": 44096, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + } + ] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..2da0c2d45 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..7b8b39837 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..2da0c2d45 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,127 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalUser +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +import OneSignalCore +import OneSignalNotifications +import OneSignalOSCore +@_exported import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +@objc public protocol OSUser { + @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc func addAlias(label: Swift.String, id: Swift.String) + @objc func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc func removeAlias(_ label: Swift.String) + @objc func removeAliases(_ labels: [Swift.String]) + @objc func addTag(key: Swift.String, value: Swift.String) + @objc func addTags(_ tags: [Swift.String : Swift.String]) + @objc func removeTag(_ tag: Swift.String) + @objc func removeTags(_ tags: [Swift.String]) + @objc func addEmail(_ email: Swift.String) + @objc func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc func addSmsNumber(_ number: Swift.String) + @objc func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc func setLanguage(_ language: Swift.String?) + typealias OSJwtCompletionBlock = (_ newJwtToken: Swift.String) -> Swift.Void + typealias OSJwtExpiredHandler = (_ externalId: Swift.String, _ completion: (_ newJwtToken: Swift.String) -> Swift.Void) -> Swift.Void + @objc func onJwtExpired(expiredHandler: @escaping Self.OSJwtExpiredHandler) +} +@objc public protocol OSPushSubscription { + @objc var id: Swift.String? { get } + @objc var token: Swift.String? { get } + @objc var optedIn: Swift.Bool { get } + @objc func optIn() + @objc func optOut() + @objc func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class OneSignalUserManagerImpl : ObjectiveC.NSObject { + @objc public static let sharedInstance: OneSignalUser.OneSignalUserManagerImpl + @objc public var onesignalId: Swift.String? { + @objc get + } + @objc public var pushSubscriptionId: Swift.String? { + @objc get + } + @objc public var requiresUserAuth: Swift.Bool + @objc public func start() + @objc public func login(externalId: Swift.String, token: Swift.String?) + @objc public func logout() + @objc public func clearAllModelsFromStores() + @objc public func getTags() -> [Swift.String : Swift.String]? + @objc public func setLocation(latitude: Swift.Float, longitude: Swift.Float) + @objc public func sendPurchases(_ purchases: [[Swift.String : Swift.AnyObject]]) + @objc deinit +} +extension OneSignalUser.OneSignalUserManagerImpl { + @objc dynamic public func startNewSession() + @objc dynamic public func updateSession(sessionCount: Foundation.NSNumber?, sessionTime: Foundation.NSNumber?, refreshDeviceMetadata: Swift.Bool) + @objc dynamic public func runBackgroundTasks() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { + @objc dynamic public func onJwtExpired(expiredHandler: @escaping OneSignalUser.OneSignalUserManagerImpl.OSJwtExpiredHandler) + @objc dynamic public var User: OneSignalUser.OSUser { + @objc get + } + @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { + @objc get + } + @objc dynamic public func addAlias(label: Swift.String, id: Swift.String) + @objc dynamic public func addAliases(_ aliases: [Swift.String : Swift.String]) + @objc dynamic public func removeAlias(_ label: Swift.String) + @objc dynamic public func removeAliases(_ labels: [Swift.String]) + @objc dynamic public func addTag(key: Swift.String, value: Swift.String) + @objc dynamic public func addTags(_ tags: [Swift.String : Swift.String]) + @objc dynamic public func removeTag(_ tag: Swift.String) + @objc dynamic public func removeTags(_ tags: [Swift.String]) + @objc dynamic public func addEmail(_ email: Swift.String) + @objc dynamic public func removeEmail(_ email: Swift.String) -> Swift.Bool + @objc dynamic public func addSmsNumber(_ number: Swift.String) + @objc dynamic public func removeSmsNumber(_ number: Swift.String) -> Swift.Bool + @objc dynamic public func setLanguage(_ language: Swift.String?) +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) -> OneSignalUser.OSPushSubscriptionState? + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc dynamic public var id: Swift.String? { + @objc get + } + @objc dynamic public var token: Swift.String? { + @objc get + } + @objc dynamic public var optedIn: Swift.Bool { + @objc get + } + @objc dynamic public func optIn() + @objc dynamic public func optOut() +} +extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { + @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) + @objc dynamic public func setPushToken(_ pushToken: Swift.String) + @objc dynamic public func setAccepted(_ inAccepted: Swift.Bool) +} +@objc public protocol OSPushSubscriptionObserver { + @objc func onOSPushSubscriptionChanged(stateChanges: OneSignalUser.OSPushSubscriptionStateChanges) +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionState : ObjectiveC.NSObject { + @objc final public let id: Swift.String? + @objc final public let token: Swift.String? + @objc final public let optedIn: Swift.Bool + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionStateChanges : ObjectiveC.NSObject { + @objc final public let to: OneSignalUser.OSPushSubscriptionState + @objc final public let from: OneSignalUser.OSPushSubscriptionState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func toDictionary() -> Foundation.NSDictionary + @objc deinit +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/module.modulemap new file mode 100644 index 000000000..2313273e3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalUser { + umbrella header "OneSignalUser.h" + + export * + module * { export * } +} + +module OneSignalUser.Swift { + header "OneSignalUser-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/OneSignalUser b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/OneSignalUser new file mode 100755 index 000000000..e16419762 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/OneSignalUser differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..9a65c5888 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/_CodeSignature/CodeResources @@ -0,0 +1,245 @@ + + + + + files + + Headers/OneSignalUser-Swift.h + + ecRISKCGftQRT5tpt3dnMx2pGro= + + Headers/OneSignalUser.h + + pTdDVlAAP214UX3ZzcJHJlgjwKo= + + Info.plist + + yKYLUEFskocXMhy/dmuUwDUf6Ek= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.abi.json + + g0XEJb6NEbAF04YxQTaqT5Dw5Wc= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + gPBQaIItVt9ZGxLCurDlSY+W9dQ= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + M8ddv4nt2IYZasvMqCYnR+lUzLc= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + gPBQaIItVt9ZGxLCurDlSY+W9dQ= + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + /GJvAdG9R/3sNFN0B4UJ5cZ6g84= + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.abi.json + + g0XEJb6NEbAF04YxQTaqT5Dw5Wc= + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + xnAJ9Ikc96mpgGMYiroCxT//9xM= + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + 56KRt4vnk5PEjlPR+ODWm8WvU6Q= + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + xnAJ9Ikc96mpgGMYiroCxT//9xM= + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + 0ucW/xMzVIT0m+iM/8fu69lEYJc= + + Modules/module.modulemap + + G7kIR7T48fnqMfkxMEz5Gq0mPZo= + + + files2 + + Headers/OneSignalUser-Swift.h + + hash2 + + Gaw7EtFMU2ggsLdt88LDchqP2xcP7/JxNAcGhkGc0J4= + + + Headers/OneSignalUser.h + + hash2 + + kzlTLEUR5uAPjMN03oyfrT8TmYBfxfO52NTJnvQdnvE= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash2 + + amiAHPWgzagX4vNvU3CBrFwQ64h3g1a1HFxmkz5r+LY= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash2 + + QzzpmUAvtu1g52f5z4yOnNLLtukIeRTSApVZtLyAT8Y= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + CdxQHiDsHBm8xmtjcV7MHk/eCOCA7rNGI1S5QF86tSU= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + QzzpmUAvtu1g52f5z4yOnNLLtukIeRTSApVZtLyAT8Y= + + + Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + sfIdFku2Q0XWZfzCNnk/RNMHaANtyRwNFhOOe8gSP7A= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash2 + + amiAHPWgzagX4vNvU3CBrFwQ64h3g1a1HFxmkz5r+LY= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash2 + + 7SbroLjQe6Ai8buwinq9fJi6iJ9aZTsDBoo9j/tK7M8= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + AAX5HdfXFr3K1uz1cNLfEcesIIKwnQiyiByQJZe/n04= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + 7SbroLjQe6Ai8buwinq9fJi6iJ9aZTsDBoo9j/tK7M8= + + + Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + 2/FuJOE9fXcKVZJgNlrwcB8TxmaYd0B30vXkRTJPZdc= + + + Modules/module.modulemap + + hash2 + + D9eZkSkXqymTKNbGMVvSiBm8jGPDNW9FHX+RgvGgjqc= + + + + 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_XCFramework/OneSignal.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework.zip deleted file mode 100644 index 63238b089..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework.zip and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Headers/OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Headers/OneSignal.h deleted file mode 100755 index b787ef03c..000000000 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Headers/OneSignal.h +++ /dev/null @@ -1,455 +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. - */ - -/** - ### Setting up the SDK ### - Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-setupto setup OneSignal in your app. - - ### API Reference ### - Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-api for a detailed explanation of the API. - - ### Troubleshoot ### - Follow the documentation from https://documentation.onesignal.com/docs/troubleshooting-ios to fix common problems. - - For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-ios-sdk-20 - - ### More ### - iOS Push Cert: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate -*/ - -#import -#import -#import -#import -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wstrict-prototypes" -#pragma clang diagnostic ignored "-Wnullability-completeness" - -@interface OSInAppMessage : NSObject - -@property (strong, nonatomic, nonnull) NSString *messageId; - -// Convert the object into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - - -@interface OSInAppMessageTag : NSObject - -@property (strong, nonatomic, nullable) NSDictionary *tagsToAdd; -@property (strong, nonatomic, nullable) NSArray *tagsToRemove; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -@interface OSInAppMessageAction : NSObject - -// The action name attached to the IAM action -@property (strong, nonatomic, nullable) NSString *clickName; - -// The URL (if any) that should be opened when the action occurs -@property (strong, nonatomic, nullable) NSURL *clickUrl; - -//UUID for the page in an IAM Carousel -@property (strong, nonatomic, nullable) NSString *pageId; - -// Whether or not the click action is first click on the IAM -@property (nonatomic) BOOL firstClick; - -// Whether or not the click action dismisses the message -@property (nonatomic) BOOL closesMessage; - -// The outcome to send for this action -@property (strong, nonatomic, nullable) NSArray *outcomes; - -// The tags to send for this action -@property (strong, nonatomic, nullable) OSInAppMessageTag *tags; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -@protocol OSInAppMessageDelegate -@optional -- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:)); -@end - -@protocol OSInAppMessageLifecycleHandler -@optional -- (void)onWillDisplayInAppMessage:(OSInAppMessage *)message; -- (void)onDidDisplayInAppMessage:(OSInAppMessage *)message; -- (void)onWillDismissInAppMessage:(OSInAppMessage *)message; -- (void)onDidDismissInAppMessage:(OSInAppMessage *)message; -@end - -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 - -@property (readonly, nonatomic) BOOL reachable; -@property (readonly, nonatomic) BOOL hasPrompted; -@property (readonly, nonatomic) BOOL providesAppNotificationSettings; -@property (readonly, nonatomic) OSNotificationPermission status; -- (NSDictionary* _Nonnull)toDictionary; - -@end - -@interface OSPermissionStateChanges : NSObject - -@property (readonly, nonnull) OSPermissionState* to; -@property (readonly, nonnull) OSPermissionState* from; -- (NSDictionary* _Nonnull)toDictionary; - -@end - -// Subscription Classes -@interface OSSubscriptionState : NSObject - -@property (readonly, nonatomic) BOOL isSubscribed; // (yes only if userId, pushToken, and setSubscription exists / are true) -@property (readonly, nonatomic) BOOL isPushDisabled; // returns value of disablePush. -@property (readonly, nonatomic, nullable) NSString* userId; // AKA OneSignal PlayerId -@property (readonly, nonatomic, nullable) NSString* pushToken; // AKA Apple Device Token -- (NSDictionary* _Nonnull)toDictionary; - -@end - -@interface OSSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSSubscriptionState* to; -@property (readonly, nonnull) OSSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSEmailSubscriptionState : NSObject -@property (readonly, nonatomic, nullable) NSString *emailUserId; // The new Email user ID -@property (readonly, nonatomic, nullable) NSString *emailAddress; -@property (readonly, nonatomic) BOOL isSubscribed; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSEmailSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSEmailSubscriptionState* to; -@property (readonly, nonnull) OSEmailSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSSMSSubscriptionState : NSObject -@property (readonly, nonatomic, nullable) NSString* smsUserId; -@property (readonly, nonatomic, nullable) NSString *smsNumber; -@property (readonly, nonatomic) BOOL isSubscribed; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSSMSSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSSMSSubscriptionState* to; -@property (readonly, nonnull) OSSMSSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@protocol OSPermissionObserver -- (void)onOSPermissionChanged:(OSPermissionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSSubscriptionObserver -- (void)onOSSubscriptionChanged:(OSSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSEmailSubscriptionObserver -- (void)onOSEmailSubscriptionChanged:(OSEmailSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSSMSSubscriptionObserver -- (void)onOSSMSSubscriptionChanged:(OSSMSSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@interface OSDeviceState : NSObject -/** - * Get the app's notification permission - * @return false if the user disabled notifications for the app, otherwise true - */ -@property (readonly) BOOL hasNotificationPermission; -/** - * Get whether the user is subscribed to OneSignal notifications or not - * @return false if the user is not subscribed to OneSignal notifications, otherwise true - */ -@property (readonly) BOOL isPushDisabled; -/** - * Get whether the user is subscribed - * @return true if isNotificationEnabled, isUserSubscribed, getUserId and getPushToken are true, otherwise false - */ -@property (readonly) BOOL isSubscribed; -/** - * Get the user notification permision status - * @return OSNotificationPermission -*/ -@property (readonly) OSNotificationPermission notificationPermissionStatus; -/** - * Get user id from registration (player id) - * @return user id if user is registered, otherwise null - */ -@property (readonly, nullable) NSString* userId; -/** - * Get apple deice push token - * @return push token if available, otherwise null - */ -@property (readonly, nullable) NSString* pushToken; -/** - * Get the user email id - * @return email id if user address was registered, otherwise null - */ -@property (readonly, nullable) NSString* emailUserId; -/** - * Get the user email - * @return email address if set, otherwise null - */ -@property (readonly, nullable) NSString* emailAddress; - -@property (readonly) BOOL isEmailSubscribed; - -/** - * Get the user sms id - * @return sms id if user sms number was registered, otherwise null - */ -@property (readonly, nullable) NSString* smsUserId; -/** - * Get the user sms number, number may start with + and continue with numbers or contain only numbers - * e.g: +11231231231 or 11231231231 - * @return sms number if set, otherwise null - */ -@property (readonly, nullable) NSString* smsNumber; - -@property (readonly) BOOL isSMSSubscribed; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -typedef void (^OSWebOpenURLResultBlock)(BOOL shouldOpen); - -/*Block for generic results on success and errors on failure*/ -typedef void (^OSResultSuccessBlock)(NSDictionary* result); -typedef void (^OSFailureBlock)(NSError* error); - - -// ======= OneSignal Class Interface ========= -@interface OneSignal : NSObject - -+ (NSString*)appId; -+ (NSString* _Nonnull)sdkVersionRaw; -+ (NSString* _Nonnull)sdkSemanticVersion; - -+ (void)disablePush:(BOOL)disable; - -// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc. -+ (void)setMSDKType:(NSString* _Nonnull)type; - -#pragma mark Initialization -+ (void)setAppId:(NSString* _Nonnull)newAppId; -+ (void)initWithLaunchOptions:(NSDictionary* _Nullable)launchOptions; -+ (void)setLaunchURLsInApp:(BOOL)launchInApp; -+ (void)setProvidesNotificationSettingsView:(BOOL)providesView; - -#pragma mark Logging -+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel visualLevel:(ONE_S_LOG_LEVEL)visualLogLevel; -+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message; - -#pragma mark Prompt For Push -typedef void(^OSUserResponseBlock)(BOOL accepted); - -+ (void)promptForPushNotificationsWithUserResponse:(OSUserResponseBlock)block; -+ (void)promptForPushNotificationsWithUserResponse:(OSUserResponseBlock)block fallbackToSettings:(BOOL)fallback; -+ (void)registerForProvisionalAuthorization:(OSUserResponseBlock)block; -+ (OSDeviceState*)getDeviceState; - -#pragma mark Privacy Consent -+ (void)consentGranted:(BOOL)granted; -// Tells your application if privacy consent is still needed from the current user -+ (BOOL)requiresUserPrivacyConsent; -+ (void)setRequiresUserPrivacyConsent:(BOOL)required; - -#pragma mark Public Handlers - -// 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); -typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action); - -+ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block; -+ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block; -+ (void)setInAppMessageClickHandler:(OSInAppMessageClickBlock _Nullable)block; -+ (void)setInAppMessageLifecycleHandler:(NSObject *_Nullable)delegate; - -#pragma mark Post Notification -+ (void)postNotification:(NSDictionary* _Nonnull)jsonData; -+ (void)postNotification:(NSDictionary* _Nonnull)jsonData onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)postNotificationWithJsonString:(NSString* _Nonnull)jsonData onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; - -#pragma mark Location -// - Request and track user's location -+ (void)promptLocation; -+ (void)setLocationShared:(BOOL)enable; -+ (BOOL)isLocationShared; - -#pragma mark Tags -+ (void)sendTag:(NSString* _Nonnull)key value:(NSString* _Nonnull)value onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)sendTag:(NSString* _Nonnull)key value:(NSString* _Nonnull)value; -+ (void)sendTags:(NSDictionary* _Nonnull)keyValuePair onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)sendTags:(NSDictionary* _Nonnull)keyValuePair; -+ (void)sendTagsWithJsonString:(NSString* _Nonnull)jsonString; -+ (void)getTags:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)getTags:(OSResultSuccessBlock _Nullable)successBlock; -+ (void)deleteTag:(NSString* _Nonnull)key onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)deleteTag:(NSString* _Nonnull)key; -+ (void)deleteTags:(NSArray* _Nonnull)keys onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)deleteTags:(NSArray *_Nonnull)keys; -+ (void)deleteTagsWithJsonString:(NSString* _Nonnull)jsonString; - -#pragma mark Permission, Subscription, and Email Observers -NS_ASSUME_NONNULL_BEGIN - -+ (void)addPermissionObserver:(NSObject*)observer; -+ (void)removePermissionObserver:(NSObject*)observer; - -+ (void)addSubscriptionObserver:(NSObject*)observer; -+ (void)removeSubscriptionObserver:(NSObject*)observer; - -+ (void)addEmailSubscriptionObserver:(NSObject*)observer; -+ (void)removeEmailSubscriptionObserver:(NSObject*)observer; - -+ (void)addSMSSubscriptionObserver:(NSObject*)observer; -+ (void)removeSMSSubscriptionObserver:(NSObject*)observer; -NS_ASSUME_NONNULL_END - -#pragma mark Email -// Typedefs defining completion blocks for email & simultaneous HTTP requests -typedef void (^OSEmailFailureBlock)(NSError *error); -typedef void (^OSEmailSuccessBlock)(); - -// Allows you to set the email for this user. -// Email Auth Token is a (recommended) optional parameter that should *NOT* be generated on the client. -// For security purposes, the emailAuthToken should be generated by your backend server. -// If you do not have a backend server for your application, use the version of thge setEmail: method without an emailAuthToken parameter. -+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken; -+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken withSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -// Sets email without an authentication token -+ (void)setEmail:(NSString * _Nonnull)email; -+ (void)setEmail:(NSString * _Nonnull)email withSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -// Logs the device out of the current email. -+ (void)logoutEmail; -+ (void)logoutEmailWithSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -#pragma mark SMS -// Typedefs defining completion blocks for SMS & simultaneous HTTP requests -typedef void (^OSSMSFailureBlock)(NSError *error); -typedef void (^OSSMSSuccessBlock)(NSDictionary *results); - -// Allows you to set the SMS for this user. SMS number may start with + and continue with numbers or contain only numbers -// e.g: +11231231231 or 11231231231 -// SMS Auth Token is a (recommended) optional parameter that should *NOT* be generated on the client. -// For security purposes, the smsAuthToken should be generated by your backend server. -// If you do not have a backend server for your application, use the version of thge setSMSNumber: method without an smsAuthToken parameter. -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSMSAuthHashToken:(NSString * _Nullable)hashToken; -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSMSAuthHashToken:(NSString * _Nullable)hashToken withSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -// Sets SMS without an authentication token -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber; -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -// Logs the device out of the current sms number. -+ (void)logoutSMSNumber; -+ (void)logoutSMSNumberWithSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -#pragma mark Language -// Typedefs defining completion blocks for updating language -typedef void (^OSUpdateLanguageFailureBlock)(NSError *error); -typedef void (^OSUpdateLanguageSuccessBlock)(); - -// Language input ISO 639-1 code representation for user input language -+ (void)setLanguage:(NSString * _Nonnull)language; -+ (void)setLanguage:(NSString * _Nonnull)language withSuccess:(OSUpdateLanguageSuccessBlock _Nullable)successBlock withFailure:(OSUpdateLanguageFailureBlock)failureBlock; - -#pragma mark External User Id -// Typedefs defining completion blocks for updating the external user id -typedef void (^OSUpdateExternalUserIdFailureBlock)(NSError *error); -typedef void (^OSUpdateExternalUserIdSuccessBlock)(NSDictionary *results); - -+ (void)setExternalUserId:(NSString * _Nonnull)externalId; -+ (void)setExternalUserId:(NSString * _Nonnull)externalId withSuccess:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; -+ (void)setExternalUserId:(NSString *)externalId withExternalIdAuthHashToken:(NSString *)hashToken withSuccess:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; -+ (void)removeExternalUserId; -+ (void)removeExternalUserId:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; - -#pragma mark In-App Messaging -+ (BOOL)isInAppMessagingPaused; -+ (void)pauseInAppMessages:(BOOL)pause; -+ (void)addTrigger:(NSString * _Nonnull)key withValue:(id _Nonnull)value; -+ (void)addTriggers:(NSDictionary * _Nonnull)triggers; -+ (void)removeTriggerForKey:(NSString * _Nonnull)key; -+ (void)removeTriggersForKeys:(NSArray * _Nonnull)keys; -+ (NSDictionary * _Nonnull)getTriggers; -+ (id _Nullable)getTriggerValueForKey:(NSString * _Nonnull)key; - -#pragma mark Outcomes -+ (void)sendOutcome:(NSString * _Nonnull)name; -+ (void)sendOutcome:(NSString * _Nonnull)name onSuccess:(OSSendOutcomeSuccess _Nullable)success; -+ (void)sendUniqueOutcome:(NSString * _Nonnull)name; -+ (void)sendUniqueOutcome:(NSString * _Nonnull)name onSuccess:(OSSendOutcomeSuccess _Nullable)success; -+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value; -+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value onSuccess:(OSSendOutcomeSuccess _Nullable)success; - -#pragma mark Extension -// iOS 10 only -// Process from Notification Service Extension. -// Used for iOS Media Attachemtns and Action Buttons. -+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentHandler: instead."); -+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler; -+ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent; -@end - -#pragma clang diagnostic pop diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Info.plist deleted file mode 100644 index 4195be32b..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Info.plist and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Modules/module.modulemap deleted file mode 100644 index a3424cd21..000000000 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module OneSignal { - umbrella header "OneSignal.h" - - export * - module * { export * } -} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/OneSignal b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/OneSignal deleted file mode 100755 index 9baf6da3c..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/OneSignal and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Headers/OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Headers/OneSignal.h deleted file mode 100755 index b787ef03c..000000000 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Headers/OneSignal.h +++ /dev/null @@ -1,455 +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. - */ - -/** - ### Setting up the SDK ### - Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-setupto setup OneSignal in your app. - - ### API Reference ### - Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-api for a detailed explanation of the API. - - ### Troubleshoot ### - Follow the documentation from https://documentation.onesignal.com/docs/troubleshooting-ios to fix common problems. - - For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-ios-sdk-20 - - ### More ### - iOS Push Cert: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate -*/ - -#import -#import -#import -#import -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wstrict-prototypes" -#pragma clang diagnostic ignored "-Wnullability-completeness" - -@interface OSInAppMessage : NSObject - -@property (strong, nonatomic, nonnull) NSString *messageId; - -// Convert the object into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - - -@interface OSInAppMessageTag : NSObject - -@property (strong, nonatomic, nullable) NSDictionary *tagsToAdd; -@property (strong, nonatomic, nullable) NSArray *tagsToRemove; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -@interface OSInAppMessageAction : NSObject - -// The action name attached to the IAM action -@property (strong, nonatomic, nullable) NSString *clickName; - -// The URL (if any) that should be opened when the action occurs -@property (strong, nonatomic, nullable) NSURL *clickUrl; - -//UUID for the page in an IAM Carousel -@property (strong, nonatomic, nullable) NSString *pageId; - -// Whether or not the click action is first click on the IAM -@property (nonatomic) BOOL firstClick; - -// Whether or not the click action dismisses the message -@property (nonatomic) BOOL closesMessage; - -// The outcome to send for this action -@property (strong, nonatomic, nullable) NSArray *outcomes; - -// The tags to send for this action -@property (strong, nonatomic, nullable) OSInAppMessageTag *tags; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -@protocol OSInAppMessageDelegate -@optional -- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:)); -@end - -@protocol OSInAppMessageLifecycleHandler -@optional -- (void)onWillDisplayInAppMessage:(OSInAppMessage *)message; -- (void)onDidDisplayInAppMessage:(OSInAppMessage *)message; -- (void)onWillDismissInAppMessage:(OSInAppMessage *)message; -- (void)onDidDismissInAppMessage:(OSInAppMessage *)message; -@end - -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 - -@property (readonly, nonatomic) BOOL reachable; -@property (readonly, nonatomic) BOOL hasPrompted; -@property (readonly, nonatomic) BOOL providesAppNotificationSettings; -@property (readonly, nonatomic) OSNotificationPermission status; -- (NSDictionary* _Nonnull)toDictionary; - -@end - -@interface OSPermissionStateChanges : NSObject - -@property (readonly, nonnull) OSPermissionState* to; -@property (readonly, nonnull) OSPermissionState* from; -- (NSDictionary* _Nonnull)toDictionary; - -@end - -// Subscription Classes -@interface OSSubscriptionState : NSObject - -@property (readonly, nonatomic) BOOL isSubscribed; // (yes only if userId, pushToken, and setSubscription exists / are true) -@property (readonly, nonatomic) BOOL isPushDisabled; // returns value of disablePush. -@property (readonly, nonatomic, nullable) NSString* userId; // AKA OneSignal PlayerId -@property (readonly, nonatomic, nullable) NSString* pushToken; // AKA Apple Device Token -- (NSDictionary* _Nonnull)toDictionary; - -@end - -@interface OSSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSSubscriptionState* to; -@property (readonly, nonnull) OSSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSEmailSubscriptionState : NSObject -@property (readonly, nonatomic, nullable) NSString *emailUserId; // The new Email user ID -@property (readonly, nonatomic, nullable) NSString *emailAddress; -@property (readonly, nonatomic) BOOL isSubscribed; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSEmailSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSEmailSubscriptionState* to; -@property (readonly, nonnull) OSEmailSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSSMSSubscriptionState : NSObject -@property (readonly, nonatomic, nullable) NSString* smsUserId; -@property (readonly, nonatomic, nullable) NSString *smsNumber; -@property (readonly, nonatomic) BOOL isSubscribed; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSSMSSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSSMSSubscriptionState* to; -@property (readonly, nonnull) OSSMSSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@protocol OSPermissionObserver -- (void)onOSPermissionChanged:(OSPermissionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSSubscriptionObserver -- (void)onOSSubscriptionChanged:(OSSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSEmailSubscriptionObserver -- (void)onOSEmailSubscriptionChanged:(OSEmailSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSSMSSubscriptionObserver -- (void)onOSSMSSubscriptionChanged:(OSSMSSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@interface OSDeviceState : NSObject -/** - * Get the app's notification permission - * @return false if the user disabled notifications for the app, otherwise true - */ -@property (readonly) BOOL hasNotificationPermission; -/** - * Get whether the user is subscribed to OneSignal notifications or not - * @return false if the user is not subscribed to OneSignal notifications, otherwise true - */ -@property (readonly) BOOL isPushDisabled; -/** - * Get whether the user is subscribed - * @return true if isNotificationEnabled, isUserSubscribed, getUserId and getPushToken are true, otherwise false - */ -@property (readonly) BOOL isSubscribed; -/** - * Get the user notification permision status - * @return OSNotificationPermission -*/ -@property (readonly) OSNotificationPermission notificationPermissionStatus; -/** - * Get user id from registration (player id) - * @return user id if user is registered, otherwise null - */ -@property (readonly, nullable) NSString* userId; -/** - * Get apple deice push token - * @return push token if available, otherwise null - */ -@property (readonly, nullable) NSString* pushToken; -/** - * Get the user email id - * @return email id if user address was registered, otherwise null - */ -@property (readonly, nullable) NSString* emailUserId; -/** - * Get the user email - * @return email address if set, otherwise null - */ -@property (readonly, nullable) NSString* emailAddress; - -@property (readonly) BOOL isEmailSubscribed; - -/** - * Get the user sms id - * @return sms id if user sms number was registered, otherwise null - */ -@property (readonly, nullable) NSString* smsUserId; -/** - * Get the user sms number, number may start with + and continue with numbers or contain only numbers - * e.g: +11231231231 or 11231231231 - * @return sms number if set, otherwise null - */ -@property (readonly, nullable) NSString* smsNumber; - -@property (readonly) BOOL isSMSSubscribed; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -typedef void (^OSWebOpenURLResultBlock)(BOOL shouldOpen); - -/*Block for generic results on success and errors on failure*/ -typedef void (^OSResultSuccessBlock)(NSDictionary* result); -typedef void (^OSFailureBlock)(NSError* error); - - -// ======= OneSignal Class Interface ========= -@interface OneSignal : NSObject - -+ (NSString*)appId; -+ (NSString* _Nonnull)sdkVersionRaw; -+ (NSString* _Nonnull)sdkSemanticVersion; - -+ (void)disablePush:(BOOL)disable; - -// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc. -+ (void)setMSDKType:(NSString* _Nonnull)type; - -#pragma mark Initialization -+ (void)setAppId:(NSString* _Nonnull)newAppId; -+ (void)initWithLaunchOptions:(NSDictionary* _Nullable)launchOptions; -+ (void)setLaunchURLsInApp:(BOOL)launchInApp; -+ (void)setProvidesNotificationSettingsView:(BOOL)providesView; - -#pragma mark Logging -+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel visualLevel:(ONE_S_LOG_LEVEL)visualLogLevel; -+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message; - -#pragma mark Prompt For Push -typedef void(^OSUserResponseBlock)(BOOL accepted); - -+ (void)promptForPushNotificationsWithUserResponse:(OSUserResponseBlock)block; -+ (void)promptForPushNotificationsWithUserResponse:(OSUserResponseBlock)block fallbackToSettings:(BOOL)fallback; -+ (void)registerForProvisionalAuthorization:(OSUserResponseBlock)block; -+ (OSDeviceState*)getDeviceState; - -#pragma mark Privacy Consent -+ (void)consentGranted:(BOOL)granted; -// Tells your application if privacy consent is still needed from the current user -+ (BOOL)requiresUserPrivacyConsent; -+ (void)setRequiresUserPrivacyConsent:(BOOL)required; - -#pragma mark Public Handlers - -// 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); -typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action); - -+ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block; -+ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block; -+ (void)setInAppMessageClickHandler:(OSInAppMessageClickBlock _Nullable)block; -+ (void)setInAppMessageLifecycleHandler:(NSObject *_Nullable)delegate; - -#pragma mark Post Notification -+ (void)postNotification:(NSDictionary* _Nonnull)jsonData; -+ (void)postNotification:(NSDictionary* _Nonnull)jsonData onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)postNotificationWithJsonString:(NSString* _Nonnull)jsonData onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; - -#pragma mark Location -// - Request and track user's location -+ (void)promptLocation; -+ (void)setLocationShared:(BOOL)enable; -+ (BOOL)isLocationShared; - -#pragma mark Tags -+ (void)sendTag:(NSString* _Nonnull)key value:(NSString* _Nonnull)value onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)sendTag:(NSString* _Nonnull)key value:(NSString* _Nonnull)value; -+ (void)sendTags:(NSDictionary* _Nonnull)keyValuePair onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)sendTags:(NSDictionary* _Nonnull)keyValuePair; -+ (void)sendTagsWithJsonString:(NSString* _Nonnull)jsonString; -+ (void)getTags:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)getTags:(OSResultSuccessBlock _Nullable)successBlock; -+ (void)deleteTag:(NSString* _Nonnull)key onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)deleteTag:(NSString* _Nonnull)key; -+ (void)deleteTags:(NSArray* _Nonnull)keys onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)deleteTags:(NSArray *_Nonnull)keys; -+ (void)deleteTagsWithJsonString:(NSString* _Nonnull)jsonString; - -#pragma mark Permission, Subscription, and Email Observers -NS_ASSUME_NONNULL_BEGIN - -+ (void)addPermissionObserver:(NSObject*)observer; -+ (void)removePermissionObserver:(NSObject*)observer; - -+ (void)addSubscriptionObserver:(NSObject*)observer; -+ (void)removeSubscriptionObserver:(NSObject*)observer; - -+ (void)addEmailSubscriptionObserver:(NSObject*)observer; -+ (void)removeEmailSubscriptionObserver:(NSObject*)observer; - -+ (void)addSMSSubscriptionObserver:(NSObject*)observer; -+ (void)removeSMSSubscriptionObserver:(NSObject*)observer; -NS_ASSUME_NONNULL_END - -#pragma mark Email -// Typedefs defining completion blocks for email & simultaneous HTTP requests -typedef void (^OSEmailFailureBlock)(NSError *error); -typedef void (^OSEmailSuccessBlock)(); - -// Allows you to set the email for this user. -// Email Auth Token is a (recommended) optional parameter that should *NOT* be generated on the client. -// For security purposes, the emailAuthToken should be generated by your backend server. -// If you do not have a backend server for your application, use the version of thge setEmail: method without an emailAuthToken parameter. -+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken; -+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken withSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -// Sets email without an authentication token -+ (void)setEmail:(NSString * _Nonnull)email; -+ (void)setEmail:(NSString * _Nonnull)email withSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -// Logs the device out of the current email. -+ (void)logoutEmail; -+ (void)logoutEmailWithSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -#pragma mark SMS -// Typedefs defining completion blocks for SMS & simultaneous HTTP requests -typedef void (^OSSMSFailureBlock)(NSError *error); -typedef void (^OSSMSSuccessBlock)(NSDictionary *results); - -// Allows you to set the SMS for this user. SMS number may start with + and continue with numbers or contain only numbers -// e.g: +11231231231 or 11231231231 -// SMS Auth Token is a (recommended) optional parameter that should *NOT* be generated on the client. -// For security purposes, the smsAuthToken should be generated by your backend server. -// If you do not have a backend server for your application, use the version of thge setSMSNumber: method without an smsAuthToken parameter. -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSMSAuthHashToken:(NSString * _Nullable)hashToken; -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSMSAuthHashToken:(NSString * _Nullable)hashToken withSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -// Sets SMS without an authentication token -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber; -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -// Logs the device out of the current sms number. -+ (void)logoutSMSNumber; -+ (void)logoutSMSNumberWithSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -#pragma mark Language -// Typedefs defining completion blocks for updating language -typedef void (^OSUpdateLanguageFailureBlock)(NSError *error); -typedef void (^OSUpdateLanguageSuccessBlock)(); - -// Language input ISO 639-1 code representation for user input language -+ (void)setLanguage:(NSString * _Nonnull)language; -+ (void)setLanguage:(NSString * _Nonnull)language withSuccess:(OSUpdateLanguageSuccessBlock _Nullable)successBlock withFailure:(OSUpdateLanguageFailureBlock)failureBlock; - -#pragma mark External User Id -// Typedefs defining completion blocks for updating the external user id -typedef void (^OSUpdateExternalUserIdFailureBlock)(NSError *error); -typedef void (^OSUpdateExternalUserIdSuccessBlock)(NSDictionary *results); - -+ (void)setExternalUserId:(NSString * _Nonnull)externalId; -+ (void)setExternalUserId:(NSString * _Nonnull)externalId withSuccess:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; -+ (void)setExternalUserId:(NSString *)externalId withExternalIdAuthHashToken:(NSString *)hashToken withSuccess:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; -+ (void)removeExternalUserId; -+ (void)removeExternalUserId:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; - -#pragma mark In-App Messaging -+ (BOOL)isInAppMessagingPaused; -+ (void)pauseInAppMessages:(BOOL)pause; -+ (void)addTrigger:(NSString * _Nonnull)key withValue:(id _Nonnull)value; -+ (void)addTriggers:(NSDictionary * _Nonnull)triggers; -+ (void)removeTriggerForKey:(NSString * _Nonnull)key; -+ (void)removeTriggersForKeys:(NSArray * _Nonnull)keys; -+ (NSDictionary * _Nonnull)getTriggers; -+ (id _Nullable)getTriggerValueForKey:(NSString * _Nonnull)key; - -#pragma mark Outcomes -+ (void)sendOutcome:(NSString * _Nonnull)name; -+ (void)sendOutcome:(NSString * _Nonnull)name onSuccess:(OSSendOutcomeSuccess _Nullable)success; -+ (void)sendUniqueOutcome:(NSString * _Nonnull)name; -+ (void)sendUniqueOutcome:(NSString * _Nonnull)name onSuccess:(OSSendOutcomeSuccess _Nullable)success; -+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value; -+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value onSuccess:(OSSendOutcomeSuccess _Nullable)success; - -#pragma mark Extension -// iOS 10 only -// Process from Notification Service Extension. -// Used for iOS Media Attachemtns and Action Buttons. -+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentHandler: instead."); -+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler; -+ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent; -@end - -#pragma clang diagnostic pop diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Info.plist deleted file mode 100644 index 81285428c..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Info.plist and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Modules/module.modulemap deleted file mode 100644 index a3424cd21..000000000 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module OneSignal { - umbrella header "OneSignal.h" - - export * - module * { export * } -} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/OneSignal b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/OneSignal deleted file mode 100755 index 4077aa07c..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/OneSignal and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/OneSignal b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/OneSignal deleted file mode 120000 index 51c8d4e7d..000000000 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/OneSignal +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/OneSignal \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Headers/OneSignal.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Headers/OneSignal.h deleted file mode 100755 index b787ef03c..000000000 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Headers/OneSignal.h +++ /dev/null @@ -1,455 +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. - */ - -/** - ### Setting up the SDK ### - Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-setupto setup OneSignal in your app. - - ### API Reference ### - Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-api for a detailed explanation of the API. - - ### Troubleshoot ### - Follow the documentation from https://documentation.onesignal.com/docs/troubleshooting-ios to fix common problems. - - For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-ios-sdk-20 - - ### More ### - iOS Push Cert: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate -*/ - -#import -#import -#import -#import -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wstrict-prototypes" -#pragma clang diagnostic ignored "-Wnullability-completeness" - -@interface OSInAppMessage : NSObject - -@property (strong, nonatomic, nonnull) NSString *messageId; - -// Convert the object into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - - -@interface OSInAppMessageTag : NSObject - -@property (strong, nonatomic, nullable) NSDictionary *tagsToAdd; -@property (strong, nonatomic, nullable) NSArray *tagsToRemove; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -@interface OSInAppMessageAction : NSObject - -// The action name attached to the IAM action -@property (strong, nonatomic, nullable) NSString *clickName; - -// The URL (if any) that should be opened when the action occurs -@property (strong, nonatomic, nullable) NSURL *clickUrl; - -//UUID for the page in an IAM Carousel -@property (strong, nonatomic, nullable) NSString *pageId; - -// Whether or not the click action is first click on the IAM -@property (nonatomic) BOOL firstClick; - -// Whether or not the click action dismisses the message -@property (nonatomic) BOOL closesMessage; - -// The outcome to send for this action -@property (strong, nonatomic, nullable) NSArray *outcomes; - -// The tags to send for this action -@property (strong, nonatomic, nullable) OSInAppMessageTag *tags; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -@protocol OSInAppMessageDelegate -@optional -- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:)); -@end - -@protocol OSInAppMessageLifecycleHandler -@optional -- (void)onWillDisplayInAppMessage:(OSInAppMessage *)message; -- (void)onDidDisplayInAppMessage:(OSInAppMessage *)message; -- (void)onWillDismissInAppMessage:(OSInAppMessage *)message; -- (void)onDidDismissInAppMessage:(OSInAppMessage *)message; -@end - -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 - -@property (readonly, nonatomic) BOOL reachable; -@property (readonly, nonatomic) BOOL hasPrompted; -@property (readonly, nonatomic) BOOL providesAppNotificationSettings; -@property (readonly, nonatomic) OSNotificationPermission status; -- (NSDictionary* _Nonnull)toDictionary; - -@end - -@interface OSPermissionStateChanges : NSObject - -@property (readonly, nonnull) OSPermissionState* to; -@property (readonly, nonnull) OSPermissionState* from; -- (NSDictionary* _Nonnull)toDictionary; - -@end - -// Subscription Classes -@interface OSSubscriptionState : NSObject - -@property (readonly, nonatomic) BOOL isSubscribed; // (yes only if userId, pushToken, and setSubscription exists / are true) -@property (readonly, nonatomic) BOOL isPushDisabled; // returns value of disablePush. -@property (readonly, nonatomic, nullable) NSString* userId; // AKA OneSignal PlayerId -@property (readonly, nonatomic, nullable) NSString* pushToken; // AKA Apple Device Token -- (NSDictionary* _Nonnull)toDictionary; - -@end - -@interface OSSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSSubscriptionState* to; -@property (readonly, nonnull) OSSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSEmailSubscriptionState : NSObject -@property (readonly, nonatomic, nullable) NSString *emailUserId; // The new Email user ID -@property (readonly, nonatomic, nullable) NSString *emailAddress; -@property (readonly, nonatomic) BOOL isSubscribed; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSEmailSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSEmailSubscriptionState* to; -@property (readonly, nonnull) OSEmailSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSSMSSubscriptionState : NSObject -@property (readonly, nonatomic, nullable) NSString* smsUserId; -@property (readonly, nonatomic, nullable) NSString *smsNumber; -@property (readonly, nonatomic) BOOL isSubscribed; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@interface OSSMSSubscriptionStateChanges : NSObject -@property (readonly, nonnull) OSSMSSubscriptionState* to; -@property (readonly, nonnull) OSSMSSubscriptionState* from; -- (NSDictionary* _Nonnull)toDictionary; -@end - -@protocol OSPermissionObserver -- (void)onOSPermissionChanged:(OSPermissionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSSubscriptionObserver -- (void)onOSSubscriptionChanged:(OSSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSEmailSubscriptionObserver -- (void)onOSEmailSubscriptionChanged:(OSEmailSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@protocol OSSMSSubscriptionObserver -- (void)onOSSMSSubscriptionChanged:(OSSMSSubscriptionStateChanges* _Nonnull)stateChanges; -@end - -@interface OSDeviceState : NSObject -/** - * Get the app's notification permission - * @return false if the user disabled notifications for the app, otherwise true - */ -@property (readonly) BOOL hasNotificationPermission; -/** - * Get whether the user is subscribed to OneSignal notifications or not - * @return false if the user is not subscribed to OneSignal notifications, otherwise true - */ -@property (readonly) BOOL isPushDisabled; -/** - * Get whether the user is subscribed - * @return true if isNotificationEnabled, isUserSubscribed, getUserId and getPushToken are true, otherwise false - */ -@property (readonly) BOOL isSubscribed; -/** - * Get the user notification permision status - * @return OSNotificationPermission -*/ -@property (readonly) OSNotificationPermission notificationPermissionStatus; -/** - * Get user id from registration (player id) - * @return user id if user is registered, otherwise null - */ -@property (readonly, nullable) NSString* userId; -/** - * Get apple deice push token - * @return push token if available, otherwise null - */ -@property (readonly, nullable) NSString* pushToken; -/** - * Get the user email id - * @return email id if user address was registered, otherwise null - */ -@property (readonly, nullable) NSString* emailUserId; -/** - * Get the user email - * @return email address if set, otherwise null - */ -@property (readonly, nullable) NSString* emailAddress; - -@property (readonly) BOOL isEmailSubscribed; - -/** - * Get the user sms id - * @return sms id if user sms number was registered, otherwise null - */ -@property (readonly, nullable) NSString* smsUserId; -/** - * Get the user sms number, number may start with + and continue with numbers or contain only numbers - * e.g: +11231231231 or 11231231231 - * @return sms number if set, otherwise null - */ -@property (readonly, nullable) NSString* smsNumber; - -@property (readonly) BOOL isSMSSubscribed; - -// Convert the class into a NSDictionary -- (NSDictionary *_Nonnull)jsonRepresentation; - -@end - -typedef void (^OSWebOpenURLResultBlock)(BOOL shouldOpen); - -/*Block for generic results on success and errors on failure*/ -typedef void (^OSResultSuccessBlock)(NSDictionary* result); -typedef void (^OSFailureBlock)(NSError* error); - - -// ======= OneSignal Class Interface ========= -@interface OneSignal : NSObject - -+ (NSString*)appId; -+ (NSString* _Nonnull)sdkVersionRaw; -+ (NSString* _Nonnull)sdkSemanticVersion; - -+ (void)disablePush:(BOOL)disable; - -// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc. -+ (void)setMSDKType:(NSString* _Nonnull)type; - -#pragma mark Initialization -+ (void)setAppId:(NSString* _Nonnull)newAppId; -+ (void)initWithLaunchOptions:(NSDictionary* _Nullable)launchOptions; -+ (void)setLaunchURLsInApp:(BOOL)launchInApp; -+ (void)setProvidesNotificationSettingsView:(BOOL)providesView; - -#pragma mark Logging -+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel visualLevel:(ONE_S_LOG_LEVEL)visualLogLevel; -+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message; - -#pragma mark Prompt For Push -typedef void(^OSUserResponseBlock)(BOOL accepted); - -+ (void)promptForPushNotificationsWithUserResponse:(OSUserResponseBlock)block; -+ (void)promptForPushNotificationsWithUserResponse:(OSUserResponseBlock)block fallbackToSettings:(BOOL)fallback; -+ (void)registerForProvisionalAuthorization:(OSUserResponseBlock)block; -+ (OSDeviceState*)getDeviceState; - -#pragma mark Privacy Consent -+ (void)consentGranted:(BOOL)granted; -// Tells your application if privacy consent is still needed from the current user -+ (BOOL)requiresUserPrivacyConsent; -+ (void)setRequiresUserPrivacyConsent:(BOOL)required; - -#pragma mark Public Handlers - -// 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); -typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action); - -+ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block; -+ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block; -+ (void)setInAppMessageClickHandler:(OSInAppMessageClickBlock _Nullable)block; -+ (void)setInAppMessageLifecycleHandler:(NSObject *_Nullable)delegate; - -#pragma mark Post Notification -+ (void)postNotification:(NSDictionary* _Nonnull)jsonData; -+ (void)postNotification:(NSDictionary* _Nonnull)jsonData onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)postNotificationWithJsonString:(NSString* _Nonnull)jsonData onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; - -#pragma mark Location -// - Request and track user's location -+ (void)promptLocation; -+ (void)setLocationShared:(BOOL)enable; -+ (BOOL)isLocationShared; - -#pragma mark Tags -+ (void)sendTag:(NSString* _Nonnull)key value:(NSString* _Nonnull)value onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)sendTag:(NSString* _Nonnull)key value:(NSString* _Nonnull)value; -+ (void)sendTags:(NSDictionary* _Nonnull)keyValuePair onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)sendTags:(NSDictionary* _Nonnull)keyValuePair; -+ (void)sendTagsWithJsonString:(NSString* _Nonnull)jsonString; -+ (void)getTags:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)getTags:(OSResultSuccessBlock _Nullable)successBlock; -+ (void)deleteTag:(NSString* _Nonnull)key onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)deleteTag:(NSString* _Nonnull)key; -+ (void)deleteTags:(NSArray* _Nonnull)keys onSuccess:(OSResultSuccessBlock _Nullable)successBlock onFailure:(OSFailureBlock _Nullable)failureBlock; -+ (void)deleteTags:(NSArray *_Nonnull)keys; -+ (void)deleteTagsWithJsonString:(NSString* _Nonnull)jsonString; - -#pragma mark Permission, Subscription, and Email Observers -NS_ASSUME_NONNULL_BEGIN - -+ (void)addPermissionObserver:(NSObject*)observer; -+ (void)removePermissionObserver:(NSObject*)observer; - -+ (void)addSubscriptionObserver:(NSObject*)observer; -+ (void)removeSubscriptionObserver:(NSObject*)observer; - -+ (void)addEmailSubscriptionObserver:(NSObject*)observer; -+ (void)removeEmailSubscriptionObserver:(NSObject*)observer; - -+ (void)addSMSSubscriptionObserver:(NSObject*)observer; -+ (void)removeSMSSubscriptionObserver:(NSObject*)observer; -NS_ASSUME_NONNULL_END - -#pragma mark Email -// Typedefs defining completion blocks for email & simultaneous HTTP requests -typedef void (^OSEmailFailureBlock)(NSError *error); -typedef void (^OSEmailSuccessBlock)(); - -// Allows you to set the email for this user. -// Email Auth Token is a (recommended) optional parameter that should *NOT* be generated on the client. -// For security purposes, the emailAuthToken should be generated by your backend server. -// If you do not have a backend server for your application, use the version of thge setEmail: method without an emailAuthToken parameter. -+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken; -+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken withSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -// Sets email without an authentication token -+ (void)setEmail:(NSString * _Nonnull)email; -+ (void)setEmail:(NSString * _Nonnull)email withSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -// Logs the device out of the current email. -+ (void)logoutEmail; -+ (void)logoutEmailWithSuccess:(OSEmailSuccessBlock _Nullable)successBlock withFailure:(OSEmailFailureBlock _Nullable)failureBlock; - -#pragma mark SMS -// Typedefs defining completion blocks for SMS & simultaneous HTTP requests -typedef void (^OSSMSFailureBlock)(NSError *error); -typedef void (^OSSMSSuccessBlock)(NSDictionary *results); - -// Allows you to set the SMS for this user. SMS number may start with + and continue with numbers or contain only numbers -// e.g: +11231231231 or 11231231231 -// SMS Auth Token is a (recommended) optional parameter that should *NOT* be generated on the client. -// For security purposes, the smsAuthToken should be generated by your backend server. -// If you do not have a backend server for your application, use the version of thge setSMSNumber: method without an smsAuthToken parameter. -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSMSAuthHashToken:(NSString * _Nullable)hashToken; -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSMSAuthHashToken:(NSString * _Nullable)hashToken withSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -// Sets SMS without an authentication token -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber; -+ (void)setSMSNumber:(NSString * _Nonnull)smsNumber withSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -// Logs the device out of the current sms number. -+ (void)logoutSMSNumber; -+ (void)logoutSMSNumberWithSuccess:(OSSMSSuccessBlock _Nullable)successBlock withFailure:(OSSMSFailureBlock _Nullable)failureBlock; - -#pragma mark Language -// Typedefs defining completion blocks for updating language -typedef void (^OSUpdateLanguageFailureBlock)(NSError *error); -typedef void (^OSUpdateLanguageSuccessBlock)(); - -// Language input ISO 639-1 code representation for user input language -+ (void)setLanguage:(NSString * _Nonnull)language; -+ (void)setLanguage:(NSString * _Nonnull)language withSuccess:(OSUpdateLanguageSuccessBlock _Nullable)successBlock withFailure:(OSUpdateLanguageFailureBlock)failureBlock; - -#pragma mark External User Id -// Typedefs defining completion blocks for updating the external user id -typedef void (^OSUpdateExternalUserIdFailureBlock)(NSError *error); -typedef void (^OSUpdateExternalUserIdSuccessBlock)(NSDictionary *results); - -+ (void)setExternalUserId:(NSString * _Nonnull)externalId; -+ (void)setExternalUserId:(NSString * _Nonnull)externalId withSuccess:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; -+ (void)setExternalUserId:(NSString *)externalId withExternalIdAuthHashToken:(NSString *)hashToken withSuccess:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; -+ (void)removeExternalUserId; -+ (void)removeExternalUserId:(OSUpdateExternalUserIdSuccessBlock _Nullable)successBlock withFailure:(OSUpdateExternalUserIdFailureBlock _Nullable)failureBlock; - -#pragma mark In-App Messaging -+ (BOOL)isInAppMessagingPaused; -+ (void)pauseInAppMessages:(BOOL)pause; -+ (void)addTrigger:(NSString * _Nonnull)key withValue:(id _Nonnull)value; -+ (void)addTriggers:(NSDictionary * _Nonnull)triggers; -+ (void)removeTriggerForKey:(NSString * _Nonnull)key; -+ (void)removeTriggersForKeys:(NSArray * _Nonnull)keys; -+ (NSDictionary * _Nonnull)getTriggers; -+ (id _Nullable)getTriggerValueForKey:(NSString * _Nonnull)key; - -#pragma mark Outcomes -+ (void)sendOutcome:(NSString * _Nonnull)name; -+ (void)sendOutcome:(NSString * _Nonnull)name onSuccess:(OSSendOutcomeSuccess _Nullable)success; -+ (void)sendUniqueOutcome:(NSString * _Nonnull)name; -+ (void)sendUniqueOutcome:(NSString * _Nonnull)name onSuccess:(OSSendOutcomeSuccess _Nullable)success; -+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value; -+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value onSuccess:(OSSendOutcomeSuccess _Nullable)success; - -#pragma mark Extension -// iOS 10 only -// Process from Notification Service Extension. -// Used for iOS Media Attachemtns and Action Buttons. -+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentHandler: instead."); -+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler; -+ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent; -@end - -#pragma clang diagnostic pop diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Modules/module.modulemap deleted file mode 100644 index a3424cd21..000000000 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module OneSignal { - umbrella header "OneSignal.h" - - export * - module * { export * } -} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/OneSignal b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/OneSignal deleted file mode 100755 index 5e637d0f7..000000000 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/OneSignal and /dev/null differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework.zip new file mode 100644 index 000000000..c2dbf3174 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework.zip differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/Info.plist new file mode 100644 index 000000000..637c8dc33 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + OneSignalFramework.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + OneSignalFramework.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + OneSignalFramework.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalFramework-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalFramework-Swift.h new file mode 100644 index 000000000..8c599e7d9 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalFramework-Swift.h @@ -0,0 +1,265 @@ +#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 ONESIGNALFRAMEWORK_SWIFT_H +#define ONESIGNALFRAMEWORK_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 +#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="OneSignalFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#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_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalFramework.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalFramework.h new file mode 100755 index 000000000..0a3c8fe0b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalFramework.h @@ -0,0 +1,120 @@ +/** + 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. + */ + +/** + ### Setting up the SDK ### + Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-setupto setup OneSignal in your app. + + ### API Reference ### + Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-api for a detailed explanation of the API. + + ### Troubleshoot ### + Follow the documentation from https://documentation.onesignal.com/docs/troubleshooting-ios to fix common problems. + + For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-ios-sdk-20 + + ### More ### + iOS Push Cert: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate +*/ + +#import +#import +#import +#import +#import +#import +#import +#import "OneSignalInAppMessaging.h" +#import "OneSignalLocation.h" + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wstrict-prototypes" +#pragma clang diagnostic ignored "-Wnullability-completeness" + +typedef void (^OSWebOpenURLResultBlock)(BOOL shouldOpen); + +/*Block for generic results on success and errors on failure*/ +typedef void (^OSResultSuccessBlock)(NSDictionary* result); +typedef void (^OSFailureBlock)(NSError* error); + +// ======= OneSignal Class Interface ========= +@interface OneSignal : NSObject + ++ (NSString*)appId; ++ (NSString* _Nonnull)sdkVersionRaw; ++ (NSString* _Nonnull)sdkSemanticVersion; + +// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc. ++ (void)setMSDKType:(NSString* _Nonnull)type; + +#pragma mark User ++ (id)User NS_REFINED_FOR_SWIFT; ++ (void)login:(NSString * _Nonnull)externalId; ++ (void)login:(NSString * _Nonnull)externalId withToken:(NSString * _Nullable)token +NS_SWIFT_NAME(login(externalId:token:)); ++ (void)logout; + +#pragma mark Notifications ++ (Class)Notifications NS_REFINED_FOR_SWIFT; + +#pragma mark Initialization ++ (void)initialize:(nonnull NSString*)newAppId withLaunchOptions:(nullable NSDictionary*)launchOptions; ++ (void)setLaunchURLsInApp:(BOOL)launchInApp; ++ (void)setProvidesNotificationSettingsView:(BOOL)providesView; + +#pragma mark Logging ++ (Class)Debug NS_REFINED_FOR_SWIFT; + +#pragma mark Privacy Consent ++ (void)setPrivacyConsent:(BOOL)granted NS_REFINED_FOR_SWIFT; ++ (BOOL)getPrivacyConsent NS_REFINED_FOR_SWIFT; +/** + * Tells your application if privacy consent is still needed from the current device. + * Consent should be provided prior to the invocation of `initialize` to ensure compliance. + */ ++ (BOOL)requiresPrivacyConsent NS_REFINED_FOR_SWIFT; ++ (void)setRequiresPrivacyConsent:(BOOL)required NS_REFINED_FOR_SWIFT; + +#pragma mark In-App Messaging ++ (Class)InAppMessages NS_REFINED_FOR_SWIFT; + +#pragma mark Location ++ (Class)Location NS_REFINED_FOR_SWIFT; + +#pragma mark Session ++ (Class)Session NS_REFINED_FOR_SWIFT; + +#pragma mark Extension +// iOS 10 only +// Process from Notification Service Extension. +// Used for iOS Media Attachemtns and Action Buttons. ++ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentHandler: instead."); ++ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler; ++ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent; +@end + +#pragma clang diagnostic pop diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalInAppMessaging.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalInAppMessaging.h new file mode 100644 index 000000000..ac6779103 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalInAppMessaging.h @@ -0,0 +1,115 @@ +/* + 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 + +@interface OSInAppMessage : NSObject + +@property (strong, nonatomic, nonnull) NSString *messageId; + +// Convert the object into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + + +@interface OSInAppMessageTag : NSObject + +@property (strong, nonatomic, nullable) NSDictionary *tagsToAdd; +@property (strong, nonatomic, nullable) NSArray *tagsToRemove; + +// Convert the class into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + +@interface OSInAppMessageAction : NSObject + +// The action name attached to the IAM action +@property (strong, nonatomic, nullable) NSString *clickName; + +// The URL (if any) that should be opened when the action occurs +@property (strong, nonatomic, nullable) NSURL *clickUrl; + +//UUID for the page in an IAM Carousel +@property (strong, nonatomic, nullable) NSString *pageId; + +// Whether or not the click action is first click on the IAM +@property (nonatomic) BOOL firstClick; + +// Whether or not the click action dismisses the message +@property (nonatomic) BOOL closesMessage; + +// The outcome to send for this action +@property (strong, nonatomic, nullable) NSArray *outcomes; + +// The tags to send for this action +@property (strong, nonatomic, nullable) OSInAppMessageTag *tags; + +// Convert the class into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + +@protocol OSInAppMessageDelegate +@optional +- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:)); +@end + +@protocol OSInAppMessageLifecycleHandler +@optional +- (void)onWillDisplayInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onDidDisplayInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onWillDismissInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onDidDismissInAppMessage:(OSInAppMessage *_Nonnull)message; +@end + +@protocol OSInAppMessages + ++ (void)addTrigger:(NSString * _Nonnull)key withValue:(id _Nonnull)value; ++ (void)addTriggers:(NSDictionary * _Nonnull)triggers; ++ (void)removeTrigger:(NSString * _Nonnull)key; ++ (void)removeTriggers:(NSArray * _Nonnull)keys; ++ (void)clearTriggers; +// Allows Swift users to: OneSignal.InAppMessages.Paused = true ++ (BOOL)paused NS_REFINED_FOR_SWIFT; ++ (void)paused:(BOOL)pause NS_REFINED_FOR_SWIFT; + +typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action); ++ (void)setClickHandler:(OSInAppMessageClickBlock _Nullable)block; ++ (void)setLifecycleHandler:(NSObject *_Nullable)delegate; + +@end + +@interface OneSignalInAppMessaging : NSObject + ++ (Class_Nonnull)InAppMessages; ++ (void)start; + +@end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCore.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalLocation.h similarity index 60% rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCore.h rename to iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalLocation.h index 5d7cc7c88..54d7bdebe 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalCore.framework/Headers/OneSignalCore.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Headers/OneSignalLocation.h @@ -1,7 +1,7 @@ /** * Modified MIT License * - * Copyright 2021 OneSignal + * 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 @@ -25,26 +25,37 @@ * THE SOFTWARE. */ -#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" +#import -@interface OneSignalCore : NSObject +#ifndef OneSignalLocation_h +#define OneSignalLocation_h +typedef struct os_location_coordinate { + double latitude; + double longitude; +} os_location_coordinate; + +typedef struct os_last_location { + os_location_coordinate cords; + double verticalAccuracy; + double horizontalAccuracy; +} os_last_location; + +@protocol OSLocation +// - Request and track user's location ++ (void)requestPermission; ++ (void)setShared:(BOOL)enable NS_REFINED_FOR_SWIFT; ++ (BOOL)isShared NS_REFINED_FOR_SWIFT; +@end + +@interface OneSignalLocation : NSObject ++ (Class)Location; ++ (OneSignalLocation*) sharedInstance; ++ (void)start; ++ (void)clearLastLocation; ++ (void)onFocus:(BOOL)isActive; ++ (void)startLocationSharedWithFlag:(BOOL)enable; @end +#endif /* OneSignalLocation_h */ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Info.plist new file mode 100644 index 000000000..22c7000ac Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 000000000..195c7256d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,1139 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalUser", + "printedName": "OneSignalUser", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalOutcomes", + "printedName": "OneSignalOutcomes", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "TypeDecl", + "name": "OneSignal", + "printedName": "OneSignal", + "children": [ + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Notifications", + "printedName": "Notifications", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Session", + "printedName": "Session", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "InAppMessages", + "printedName": "InAppMessages", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Debug", + "printedName": "Debug", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Location", + "printedName": "Location", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresPrivacyConsent", + "printedName": "requiresPrivacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "privacyConsent", + "printedName": "privacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Class", + "usr": "c:objc(cs)OneSignal", + "moduleName": "OneSignalFramework", + "isOpen": true, + "objc_name": "OneSignal", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "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": "TypeDecl", + "name": "OSInAppMessages", + "printedName": "OSInAppMessages", + "children": [ + { + "kind": "Var", + "name": "Paused", + "printedName": "Paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSInAppMessages", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSInAppMessages", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSSession", + "printedName": "OSSession", + "children": [ + { + "kind": "Function", + "name": "addOutcome", + "printedName": "addOutcome(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "declKind": "Func", + "usr": "s:So9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "mangledName": "$sSo9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOutcomes.OSSession>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSSession", + "moduleName": "OneSignalOutcomes", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSSession", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSNotifications", + "printedName": "OSNotifications", + "children": [ + { + "kind": "Var", + "name": "permission", + "printedName": "permission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "canRequestPermission", + "printedName": "canRequestPermission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "registerForProvisionalAuthorization", + "printedName": "registerForProvisionalAuthorization(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((Swift.Bool) -> ())?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addPermissionObserver", + "printedName": "addPermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removePermissionObserver", + "printedName": "removePermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSNotifications", + "moduleName": "OneSignalNotifications", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSNotifications", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSLocation", + "printedName": "OSLocation", + "children": [ + { + "kind": "Var", + "name": "isShared", + "printedName": "isShared", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSLocation", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSLocation", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 000000000..6ff7ba3dc --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 000000000..0bfa967f3 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 000000000..6ff7ba3dc --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/module.modulemap new file mode 100644 index 000000000..fc1a467a1 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalFramework { + umbrella header "OneSignalFramework.h" + + export * + module * { export * } +} + +module OneSignalFramework.Swift { + header "OneSignalFramework-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/OneSignalFramework b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/OneSignalFramework new file mode 100755 index 000000000..0833e531f Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/OneSignalFramework differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Headers b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Headers new file mode 120000 index 000000000..a177d2a6b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Modules b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Modules new file mode 120000 index 000000000..5736f3186 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/OneSignalFramework b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/OneSignalFramework new file mode 120000 index 000000000..c72c47f98 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/OneSignalFramework @@ -0,0 +1 @@ +Versions/Current/OneSignalFramework \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Resources b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Resources new file mode 120000 index 000000000..953ee36f3 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalFramework-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalFramework-Swift.h new file mode 100644 index 000000000..288edf8be --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalFramework-Swift.h @@ -0,0 +1,526 @@ +#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 ONESIGNALFRAMEWORK_SWIFT_H +#define ONESIGNALFRAMEWORK_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 +#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="OneSignalFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if defined(__cplusplus) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +#ifndef ONESIGNALFRAMEWORK_SWIFT_H +#define ONESIGNALFRAMEWORK_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 +#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="OneSignalFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#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_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalFramework.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalFramework.h new file mode 100755 index 000000000..0a3c8fe0b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalFramework.h @@ -0,0 +1,120 @@ +/** + 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. + */ + +/** + ### Setting up the SDK ### + Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-setupto setup OneSignal in your app. + + ### API Reference ### + Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-api for a detailed explanation of the API. + + ### Troubleshoot ### + Follow the documentation from https://documentation.onesignal.com/docs/troubleshooting-ios to fix common problems. + + For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-ios-sdk-20 + + ### More ### + iOS Push Cert: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate +*/ + +#import +#import +#import +#import +#import +#import +#import +#import "OneSignalInAppMessaging.h" +#import "OneSignalLocation.h" + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wstrict-prototypes" +#pragma clang diagnostic ignored "-Wnullability-completeness" + +typedef void (^OSWebOpenURLResultBlock)(BOOL shouldOpen); + +/*Block for generic results on success and errors on failure*/ +typedef void (^OSResultSuccessBlock)(NSDictionary* result); +typedef void (^OSFailureBlock)(NSError* error); + +// ======= OneSignal Class Interface ========= +@interface OneSignal : NSObject + ++ (NSString*)appId; ++ (NSString* _Nonnull)sdkVersionRaw; ++ (NSString* _Nonnull)sdkSemanticVersion; + +// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc. ++ (void)setMSDKType:(NSString* _Nonnull)type; + +#pragma mark User ++ (id)User NS_REFINED_FOR_SWIFT; ++ (void)login:(NSString * _Nonnull)externalId; ++ (void)login:(NSString * _Nonnull)externalId withToken:(NSString * _Nullable)token +NS_SWIFT_NAME(login(externalId:token:)); ++ (void)logout; + +#pragma mark Notifications ++ (Class)Notifications NS_REFINED_FOR_SWIFT; + +#pragma mark Initialization ++ (void)initialize:(nonnull NSString*)newAppId withLaunchOptions:(nullable NSDictionary*)launchOptions; ++ (void)setLaunchURLsInApp:(BOOL)launchInApp; ++ (void)setProvidesNotificationSettingsView:(BOOL)providesView; + +#pragma mark Logging ++ (Class)Debug NS_REFINED_FOR_SWIFT; + +#pragma mark Privacy Consent ++ (void)setPrivacyConsent:(BOOL)granted NS_REFINED_FOR_SWIFT; ++ (BOOL)getPrivacyConsent NS_REFINED_FOR_SWIFT; +/** + * Tells your application if privacy consent is still needed from the current device. + * Consent should be provided prior to the invocation of `initialize` to ensure compliance. + */ ++ (BOOL)requiresPrivacyConsent NS_REFINED_FOR_SWIFT; ++ (void)setRequiresPrivacyConsent:(BOOL)required NS_REFINED_FOR_SWIFT; + +#pragma mark In-App Messaging ++ (Class)InAppMessages NS_REFINED_FOR_SWIFT; + +#pragma mark Location ++ (Class)Location NS_REFINED_FOR_SWIFT; + +#pragma mark Session ++ (Class)Session NS_REFINED_FOR_SWIFT; + +#pragma mark Extension +// iOS 10 only +// Process from Notification Service Extension. +// Used for iOS Media Attachemtns and Action Buttons. ++ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentHandler: instead."); ++ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler; ++ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent; +@end + +#pragma clang diagnostic pop diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalInAppMessaging.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalInAppMessaging.h new file mode 100644 index 000000000..ac6779103 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalInAppMessaging.h @@ -0,0 +1,115 @@ +/* + 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 + +@interface OSInAppMessage : NSObject + +@property (strong, nonatomic, nonnull) NSString *messageId; + +// Convert the object into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + + +@interface OSInAppMessageTag : NSObject + +@property (strong, nonatomic, nullable) NSDictionary *tagsToAdd; +@property (strong, nonatomic, nullable) NSArray *tagsToRemove; + +// Convert the class into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + +@interface OSInAppMessageAction : NSObject + +// The action name attached to the IAM action +@property (strong, nonatomic, nullable) NSString *clickName; + +// The URL (if any) that should be opened when the action occurs +@property (strong, nonatomic, nullable) NSURL *clickUrl; + +//UUID for the page in an IAM Carousel +@property (strong, nonatomic, nullable) NSString *pageId; + +// Whether or not the click action is first click on the IAM +@property (nonatomic) BOOL firstClick; + +// Whether or not the click action dismisses the message +@property (nonatomic) BOOL closesMessage; + +// The outcome to send for this action +@property (strong, nonatomic, nullable) NSArray *outcomes; + +// The tags to send for this action +@property (strong, nonatomic, nullable) OSInAppMessageTag *tags; + +// Convert the class into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + +@protocol OSInAppMessageDelegate +@optional +- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:)); +@end + +@protocol OSInAppMessageLifecycleHandler +@optional +- (void)onWillDisplayInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onDidDisplayInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onWillDismissInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onDidDismissInAppMessage:(OSInAppMessage *_Nonnull)message; +@end + +@protocol OSInAppMessages + ++ (void)addTrigger:(NSString * _Nonnull)key withValue:(id _Nonnull)value; ++ (void)addTriggers:(NSDictionary * _Nonnull)triggers; ++ (void)removeTrigger:(NSString * _Nonnull)key; ++ (void)removeTriggers:(NSArray * _Nonnull)keys; ++ (void)clearTriggers; +// Allows Swift users to: OneSignal.InAppMessages.Paused = true ++ (BOOL)paused NS_REFINED_FOR_SWIFT; ++ (void)paused:(BOOL)pause NS_REFINED_FOR_SWIFT; + +typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action); ++ (void)setClickHandler:(OSInAppMessageClickBlock _Nullable)block; ++ (void)setLifecycleHandler:(NSObject *_Nullable)delegate; + +@end + +@interface OneSignalInAppMessaging : NSObject + ++ (Class_Nonnull)InAppMessages; ++ (void)start; + +@end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCore.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalLocation.h similarity index 60% rename from iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCore.h rename to iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalLocation.h index 5d7cc7c88..54d7bdebe 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_armv7_armv7s/OneSignalCore.framework/Headers/OneSignalCore.h +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Headers/OneSignalLocation.h @@ -1,7 +1,7 @@ /** * Modified MIT License * - * Copyright 2021 OneSignal + * 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 @@ -25,26 +25,37 @@ * THE SOFTWARE. */ -#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" +#import -@interface OneSignalCore : NSObject +#ifndef OneSignalLocation_h +#define OneSignalLocation_h +typedef struct os_location_coordinate { + double latitude; + double longitude; +} os_location_coordinate; + +typedef struct os_last_location { + os_location_coordinate cords; + double verticalAccuracy; + double horizontalAccuracy; +} os_last_location; + +@protocol OSLocation +// - Request and track user's location ++ (void)requestPermission; ++ (void)setShared:(BOOL)enable NS_REFINED_FOR_SWIFT; ++ (BOOL)isShared NS_REFINED_FOR_SWIFT; +@end + +@interface OneSignalLocation : NSObject ++ (Class)Location; ++ (OneSignalLocation*) sharedInstance; ++ (void)start; ++ (void)clearLastLocation; ++ (void)onFocus:(BOOL)isActive; ++ (void)startLocationSharedWithFlag:(BOOL)enable; @end +#endif /* OneSignalLocation_h */ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.abi.json new file mode 100644 index 000000000..195c7256d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -0,0 +1,1139 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalUser", + "printedName": "OneSignalUser", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalOutcomes", + "printedName": "OneSignalOutcomes", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "TypeDecl", + "name": "OneSignal", + "printedName": "OneSignal", + "children": [ + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Notifications", + "printedName": "Notifications", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Session", + "printedName": "Session", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "InAppMessages", + "printedName": "InAppMessages", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Debug", + "printedName": "Debug", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Location", + "printedName": "Location", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresPrivacyConsent", + "printedName": "requiresPrivacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "privacyConsent", + "printedName": "privacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Class", + "usr": "c:objc(cs)OneSignal", + "moduleName": "OneSignalFramework", + "isOpen": true, + "objc_name": "OneSignal", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "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": "TypeDecl", + "name": "OSInAppMessages", + "printedName": "OSInAppMessages", + "children": [ + { + "kind": "Var", + "name": "Paused", + "printedName": "Paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSInAppMessages", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSInAppMessages", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSSession", + "printedName": "OSSession", + "children": [ + { + "kind": "Function", + "name": "addOutcome", + "printedName": "addOutcome(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "declKind": "Func", + "usr": "s:So9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "mangledName": "$sSo9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOutcomes.OSSession>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSSession", + "moduleName": "OneSignalOutcomes", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSSession", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSNotifications", + "printedName": "OSNotifications", + "children": [ + { + "kind": "Var", + "name": "permission", + "printedName": "permission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "canRequestPermission", + "printedName": "canRequestPermission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "registerForProvisionalAuthorization", + "printedName": "registerForProvisionalAuthorization(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((Swift.Bool) -> ())?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addPermissionObserver", + "printedName": "addPermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removePermissionObserver", + "printedName": "removePermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSNotifications", + "moduleName": "OneSignalNotifications", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSNotifications", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSLocation", + "printedName": "OSLocation", + "children": [ + { + "kind": "Var", + "name": "isShared", + "printedName": "isShared", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSLocation", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSLocation", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 000000000..361ab5cb9 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 000000000..cf582d7c5 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 000000000..361ab5cb9 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.abi.json new file mode 100644 index 000000000..195c7256d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -0,0 +1,1139 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalUser", + "printedName": "OneSignalUser", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalOutcomes", + "printedName": "OneSignalOutcomes", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "TypeDecl", + "name": "OneSignal", + "printedName": "OneSignal", + "children": [ + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Notifications", + "printedName": "Notifications", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Session", + "printedName": "Session", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "InAppMessages", + "printedName": "InAppMessages", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Debug", + "printedName": "Debug", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Location", + "printedName": "Location", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresPrivacyConsent", + "printedName": "requiresPrivacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "privacyConsent", + "printedName": "privacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Class", + "usr": "c:objc(cs)OneSignal", + "moduleName": "OneSignalFramework", + "isOpen": true, + "objc_name": "OneSignal", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "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": "TypeDecl", + "name": "OSInAppMessages", + "printedName": "OSInAppMessages", + "children": [ + { + "kind": "Var", + "name": "Paused", + "printedName": "Paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSInAppMessages", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSInAppMessages", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSSession", + "printedName": "OSSession", + "children": [ + { + "kind": "Function", + "name": "addOutcome", + "printedName": "addOutcome(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "declKind": "Func", + "usr": "s:So9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "mangledName": "$sSo9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOutcomes.OSSession>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSSession", + "moduleName": "OneSignalOutcomes", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSSession", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSNotifications", + "printedName": "OSNotifications", + "children": [ + { + "kind": "Var", + "name": "permission", + "printedName": "permission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "canRequestPermission", + "printedName": "canRequestPermission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "registerForProvisionalAuthorization", + "printedName": "registerForProvisionalAuthorization(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((Swift.Bool) -> ())?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addPermissionObserver", + "printedName": "addPermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removePermissionObserver", + "printedName": "removePermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSNotifications", + "moduleName": "OneSignalNotifications", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSNotifications", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSLocation", + "printedName": "OSLocation", + "children": [ + { + "kind": "Var", + "name": "isShared", + "printedName": "isShared", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSLocation", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSLocation", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface new file mode 100644 index 000000000..536d2c431 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 000000000..3787c9da6 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 000000000..536d2c431 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 000000000..fc1a467a1 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalFramework { + umbrella header "OneSignalFramework.h" + + export * + module * { export * } +} + +module OneSignalFramework.Swift { + header "OneSignalFramework-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/OneSignalFramework b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/OneSignalFramework new file mode 100755 index 000000000..2de135942 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/OneSignalFramework differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Resources/Info.plist similarity index 82% rename from iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Resources/Info.plist rename to iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Resources/Info.plist index d60759c54..49dbed1ca 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_x86_64-maccatalyst/OneSignal.framework/Versions/A/Resources/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/Resources/Info.plist @@ -3,17 +3,17 @@ BuildMachineOSBuild - 20E241 + 21G72 CFBundleDevelopmentRegion en CFBundleExecutable - OneSignal + OneSignalFramework CFBundleIdentifier com.onesignal.OneSignal-Dynamic CFBundleInfoDictionaryVersion 6.0 CFBundleName - OneSignal + OneSignalFramework CFBundlePackageType FMWK CFBundleShortVersionString @@ -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_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/Current b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/Current new file mode 120000 index 000000000..8c7e5a667 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalFramework-Swift.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalFramework-Swift.h new file mode 100644 index 000000000..288edf8be --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalFramework-Swift.h @@ -0,0 +1,526 @@ +#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 ONESIGNALFRAMEWORK_SWIFT_H +#define ONESIGNALFRAMEWORK_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 +#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="OneSignalFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#endif +#if defined(__cplusplus) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +#ifndef ONESIGNALFRAMEWORK_SWIFT_H +#define ONESIGNALFRAMEWORK_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 +#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="OneSignalFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) + +#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_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalFramework.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalFramework.h new file mode 100755 index 000000000..0a3c8fe0b --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalFramework.h @@ -0,0 +1,120 @@ +/** + 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. + */ + +/** + ### Setting up the SDK ### + Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-setupto setup OneSignal in your app. + + ### API Reference ### + Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-api for a detailed explanation of the API. + + ### Troubleshoot ### + Follow the documentation from https://documentation.onesignal.com/docs/troubleshooting-ios to fix common problems. + + For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-ios-sdk-20 + + ### More ### + iOS Push Cert: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate +*/ + +#import +#import +#import +#import +#import +#import +#import +#import "OneSignalInAppMessaging.h" +#import "OneSignalLocation.h" + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wstrict-prototypes" +#pragma clang diagnostic ignored "-Wnullability-completeness" + +typedef void (^OSWebOpenURLResultBlock)(BOOL shouldOpen); + +/*Block for generic results on success and errors on failure*/ +typedef void (^OSResultSuccessBlock)(NSDictionary* result); +typedef void (^OSFailureBlock)(NSError* error); + +// ======= OneSignal Class Interface ========= +@interface OneSignal : NSObject + ++ (NSString*)appId; ++ (NSString* _Nonnull)sdkVersionRaw; ++ (NSString* _Nonnull)sdkSemanticVersion; + +// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc. ++ (void)setMSDKType:(NSString* _Nonnull)type; + +#pragma mark User ++ (id)User NS_REFINED_FOR_SWIFT; ++ (void)login:(NSString * _Nonnull)externalId; ++ (void)login:(NSString * _Nonnull)externalId withToken:(NSString * _Nullable)token +NS_SWIFT_NAME(login(externalId:token:)); ++ (void)logout; + +#pragma mark Notifications ++ (Class)Notifications NS_REFINED_FOR_SWIFT; + +#pragma mark Initialization ++ (void)initialize:(nonnull NSString*)newAppId withLaunchOptions:(nullable NSDictionary*)launchOptions; ++ (void)setLaunchURLsInApp:(BOOL)launchInApp; ++ (void)setProvidesNotificationSettingsView:(BOOL)providesView; + +#pragma mark Logging ++ (Class)Debug NS_REFINED_FOR_SWIFT; + +#pragma mark Privacy Consent ++ (void)setPrivacyConsent:(BOOL)granted NS_REFINED_FOR_SWIFT; ++ (BOOL)getPrivacyConsent NS_REFINED_FOR_SWIFT; +/** + * Tells your application if privacy consent is still needed from the current device. + * Consent should be provided prior to the invocation of `initialize` to ensure compliance. + */ ++ (BOOL)requiresPrivacyConsent NS_REFINED_FOR_SWIFT; ++ (void)setRequiresPrivacyConsent:(BOOL)required NS_REFINED_FOR_SWIFT; + +#pragma mark In-App Messaging ++ (Class)InAppMessages NS_REFINED_FOR_SWIFT; + +#pragma mark Location ++ (Class)Location NS_REFINED_FOR_SWIFT; + +#pragma mark Session ++ (Class)Session NS_REFINED_FOR_SWIFT; + +#pragma mark Extension +// iOS 10 only +// Process from Notification Service Extension. +// Used for iOS Media Attachemtns and Action Buttons. ++ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentHandler: instead."); ++ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler; ++ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent; +@end + +#pragma clang diagnostic pop diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalInAppMessaging.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalInAppMessaging.h new file mode 100644 index 000000000..ac6779103 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalInAppMessaging.h @@ -0,0 +1,115 @@ +/* + 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 + +@interface OSInAppMessage : NSObject + +@property (strong, nonatomic, nonnull) NSString *messageId; + +// Convert the object into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + + +@interface OSInAppMessageTag : NSObject + +@property (strong, nonatomic, nullable) NSDictionary *tagsToAdd; +@property (strong, nonatomic, nullable) NSArray *tagsToRemove; + +// Convert the class into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + +@interface OSInAppMessageAction : NSObject + +// The action name attached to the IAM action +@property (strong, nonatomic, nullable) NSString *clickName; + +// The URL (if any) that should be opened when the action occurs +@property (strong, nonatomic, nullable) NSURL *clickUrl; + +//UUID for the page in an IAM Carousel +@property (strong, nonatomic, nullable) NSString *pageId; + +// Whether or not the click action is first click on the IAM +@property (nonatomic) BOOL firstClick; + +// Whether or not the click action dismisses the message +@property (nonatomic) BOOL closesMessage; + +// The outcome to send for this action +@property (strong, nonatomic, nullable) NSArray *outcomes; + +// The tags to send for this action +@property (strong, nonatomic, nullable) OSInAppMessageTag *tags; + +// Convert the class into a NSDictionary +- (NSDictionary *_Nonnull)jsonRepresentation; + +@end + +@protocol OSInAppMessageDelegate +@optional +- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:)); +@end + +@protocol OSInAppMessageLifecycleHandler +@optional +- (void)onWillDisplayInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onDidDisplayInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onWillDismissInAppMessage:(OSInAppMessage *_Nonnull)message; +- (void)onDidDismissInAppMessage:(OSInAppMessage *_Nonnull)message; +@end + +@protocol OSInAppMessages + ++ (void)addTrigger:(NSString * _Nonnull)key withValue:(id _Nonnull)value; ++ (void)addTriggers:(NSDictionary * _Nonnull)triggers; ++ (void)removeTrigger:(NSString * _Nonnull)key; ++ (void)removeTriggers:(NSArray * _Nonnull)keys; ++ (void)clearTriggers; +// Allows Swift users to: OneSignal.InAppMessages.Paused = true ++ (BOOL)paused NS_REFINED_FOR_SWIFT; ++ (void)paused:(BOOL)pause NS_REFINED_FOR_SWIFT; + +typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action); ++ (void)setClickHandler:(OSInAppMessageClickBlock _Nullable)block; ++ (void)setLifecycleHandler:(NSObject *_Nullable)delegate; + +@end + +@interface OneSignalInAppMessaging : NSObject + ++ (Class_Nonnull)InAppMessages; ++ (void)start; + +@end diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalLocation.h b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalLocation.h new file mode 100644 index 000000000..54d7bdebe --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Headers/OneSignalLocation.h @@ -0,0 +1,61 @@ +/** + * 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 + +#ifndef OneSignalLocation_h +#define OneSignalLocation_h + +typedef struct os_location_coordinate { + double latitude; + double longitude; +} os_location_coordinate; + +typedef struct os_last_location { + os_location_coordinate cords; + double verticalAccuracy; + double horizontalAccuracy; +} os_last_location; + +@protocol OSLocation +// - Request and track user's location ++ (void)requestPermission; ++ (void)setShared:(BOOL)enable NS_REFINED_FOR_SWIFT; ++ (BOOL)isShared NS_REFINED_FOR_SWIFT; +@end + +@interface OneSignalLocation : NSObject ++ (Class)Location; ++ (OneSignalLocation*) sharedInstance; ++ (void)start; ++ (void)clearLastLocation; ++ (void)onFocus:(BOOL)isActive; ++ (void)startLocationSharedWithFlag:(BOOL)enable; +@end + +#endif /* OneSignalLocation_h */ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Info.plist similarity index 57% rename from iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Info.plist rename to iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Info.plist index 295a5197e..58f8a26c1 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_i386_x86_64-simulator/OneSignalOutcomes.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..195c7256d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,1139 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalUser", + "printedName": "OneSignalUser", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalOutcomes", + "printedName": "OneSignalOutcomes", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "TypeDecl", + "name": "OneSignal", + "printedName": "OneSignal", + "children": [ + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Notifications", + "printedName": "Notifications", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Session", + "printedName": "Session", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "InAppMessages", + "printedName": "InAppMessages", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Debug", + "printedName": "Debug", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Location", + "printedName": "Location", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresPrivacyConsent", + "printedName": "requiresPrivacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "privacyConsent", + "printedName": "privacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Class", + "usr": "c:objc(cs)OneSignal", + "moduleName": "OneSignalFramework", + "isOpen": true, + "objc_name": "OneSignal", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "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": "TypeDecl", + "name": "OSInAppMessages", + "printedName": "OSInAppMessages", + "children": [ + { + "kind": "Var", + "name": "Paused", + "printedName": "Paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSInAppMessages", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSInAppMessages", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSSession", + "printedName": "OSSession", + "children": [ + { + "kind": "Function", + "name": "addOutcome", + "printedName": "addOutcome(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "declKind": "Func", + "usr": "s:So9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "mangledName": "$sSo9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOutcomes.OSSession>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSSession", + "moduleName": "OneSignalOutcomes", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSSession", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSNotifications", + "printedName": "OSNotifications", + "children": [ + { + "kind": "Var", + "name": "permission", + "printedName": "permission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "canRequestPermission", + "printedName": "canRequestPermission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "registerForProvisionalAuthorization", + "printedName": "registerForProvisionalAuthorization(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((Swift.Bool) -> ())?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addPermissionObserver", + "printedName": "addPermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removePermissionObserver", + "printedName": "removePermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSNotifications", + "moduleName": "OneSignalNotifications", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSNotifications", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSLocation", + "printedName": "OSLocation", + "children": [ + { + "kind": "Var", + "name": "isShared", + "printedName": "isShared", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSLocation", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSLocation", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..488f4e6d1 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..1a19a9b4c Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..488f4e6d1 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 000000000..195c7256d --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,1139 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "OneSignalFramework", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalUser", + "printedName": "OneSignalUser", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalOutcomes", + "printedName": "OneSignalOutcomes", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "Import", + "name": "OneSignalNotifications", + "printedName": "OneSignalNotifications", + "declKind": "Import", + "moduleName": "OneSignalFramework" + }, + { + "kind": "TypeDecl", + "name": "OneSignal", + "printedName": "OneSignal", + "children": [ + { + "kind": "Var", + "name": "User", + "printedName": "User", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSUser", + "printedName": "OneSignalUser.OSUser", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE4User0abD06OSUser_pvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Notifications", + "printedName": "Notifications", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalNotifications.OSNotifications.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSNotifications", + "printedName": "OneSignalNotifications.OSNotifications", + "usr": "c:objc(pl)OSNotifications" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13NotificationsSo15OSNotifications_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Session", + "printedName": "Session", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalOutcomes.OSSession.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSSession", + "printedName": "OneSignalOutcomes.OSSession", + "usr": "c:objc(pl)OSSession" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE7SessionSo9OSSession_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "InAppMessages", + "printedName": "InAppMessages", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSInAppMessages.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSInAppMessages", + "printedName": "OneSignalFramework.OSInAppMessages", + "usr": "c:objc(pl)OSInAppMessages" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE13InAppMessagesSo04OSIneF0_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Debug", + "printedName": "Debug", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalCore.OSDebug.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSDebug", + "printedName": "OneSignalCore.OSDebug", + "usr": "c:objc(pl)OSDebug" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE5DebugSo7OSDebug_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "Location", + "printedName": "Location", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "OneSignalFramework.OSLocation.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLocation", + "printedName": "OneSignalFramework.OSLocation", + "usr": "c:objc(pl)OSLocation" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE8LocationSo10OSLocation_pXpvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "requiresPrivacyConsent", + "printedName": "requiresPrivacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE22requiresPrivacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "privacyConsent", + "printedName": "privacyConsent", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvgZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvsZ", + "moduleName": "OneSignalFramework", + "static": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "mangledName": "$sSo9OneSignalC0aB9FrameworkE14privacyConsentSbvMZ", + "moduleName": "OneSignalFramework", + "static": true, + "implicit": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Class", + "usr": "c:objc(cs)OneSignal", + "moduleName": "OneSignalFramework", + "isOpen": true, + "objc_name": "OneSignal", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "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": "TypeDecl", + "name": "OSInAppMessages", + "printedName": "OSInAppMessages", + "children": [ + { + "kind": "Var", + "name": "Paused", + "printedName": "Paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "mangledName": "$sSo15OSInAppMessagesP18OneSignalFrameworkE6PausedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSInAppMessages>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSInAppMessages", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSInAppMessages", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSSession", + "printedName": "OSSession", + "children": [ + { + "kind": "Function", + "name": "addOutcome", + "printedName": "addOutcome(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ], + "declKind": "Func", + "usr": "s:So9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "mangledName": "$sSo9OSSessionP18OneSignalFrameworkE10addOutcomeyySS_So8NSNumberCtFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalOutcomes.OSSession>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSSession", + "moduleName": "OneSignalOutcomes", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSSession", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSNotifications", + "printedName": "OSNotifications", + "children": [ + { + "kind": "Var", + "name": "permission", + "printedName": "permission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE10permissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "canRequestPermission", + "printedName": "canRequestPermission", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE20canRequestPermissionSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "registerForProvisionalAuthorization", + "printedName": "registerForProvisionalAuthorization(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((Swift.Bool) -> ())?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE35registerForProvisionalAuthorizationyyySbcSgFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "addPermissionObserver", + "printedName": "addPermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE21addPermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removePermissionObserver", + "printedName": "removePermissionObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPermissionObserver", + "printedName": "OneSignalNotifications.OSPermissionObserver", + "usr": "c:objc(pl)OSPermissionObserver" + } + ], + "declKind": "Func", + "usr": "s:So15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "mangledName": "$sSo15OSNotificationsP18OneSignalFrameworkE24removePermissionObserveryySo012OSPermissionG0_pFZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalNotifications.OSNotifications>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSNotifications", + "moduleName": "OneSignalNotifications", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSNotifications", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + }, + { + "kind": "TypeDecl", + "name": "OSLocation", + "printedName": "OSLocation", + "children": [ + { + "kind": "Var", + "name": "isShared", + "printedName": "isShared", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvpZ", + "moduleName": "OneSignalFramework", + "static": true, + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvgZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvsZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "isFromExtension": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:So10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "mangledName": "$sSo10OSLocationP18OneSignalFrameworkE8isSharedSbvMZ", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalFramework.OSLocation>", + "sugared_genericSig": "", + "static": true, + "implicit": true, + "isFromExtension": true, + "accessorKind": "_modify" + } + ] + } + ], + "declKind": "Protocol", + "usr": "c:objc(pl)OSLocation", + "moduleName": "OneSignalFramework", + "genericSig": "<τ_0_0 : ObjectiveC.NSObjectProtocol>", + "sugared_genericSig": "", + "objc_name": "OSLocation", + "declAttributes": [ + "ObjC", + "Dynamic" + ], + "isExternal": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 000000000..0aad0caa8 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 000000000..ff184a0d6 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 000000000..0aad0caa8 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OneSignalFramework +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import OneSignalFramework +import OneSignalNotifications +import OneSignalOutcomes +import OneSignalUser +import Swift +import _Concurrency +import _StringProcessing +extension OneSignalFramework.OneSignal { + public static var User: OneSignalUser.OSUser { + get + } + public static var Notifications: OneSignalNotifications.OSNotifications.Type { + get + } + public static var Session: OneSignalOutcomes.OSSession.Type { + get + } + public static var InAppMessages: OneSignalFramework.OSInAppMessages.Type { + get + } + public static var Debug: OneSignalCore.OSDebug.Type { + get + } + public static var Location: OneSignalFramework.OSLocation.Type { + get + } + public static var requiresPrivacyConsent: Swift.Bool { + get + set + } + public static var privacyConsent: Swift.Bool { + get + set + } +} +extension OneSignalFramework.OSInAppMessages { + public static var Paused: Swift.Bool { + get + set + } +} +extension OneSignalOutcomes.OSSession { + public static func addOutcome(_ name: Swift.String, _ value: Foundation.NSNumber) +} +extension OneSignalNotifications.OSNotifications { + public static var permission: Swift.Bool { + get + } + public static var canRequestPermission: Swift.Bool { + get + } + public static func registerForProvisionalAuthorization(_ block: OneSignalNotifications.OSUserResponseBlock?) + public static func addPermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) + public static func removePermissionObserver(_ observer: OneSignalNotifications.OSPermissionObserver) +} +extension OneSignalFramework.OSLocation { + public static var isShared: Swift.Bool { + get + set + } +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/module.modulemap b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/module.modulemap new file mode 100644 index 000000000..fc1a467a1 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module OneSignalFramework { + umbrella header "OneSignalFramework.h" + + export * + module * { export * } +} + +module OneSignalFramework.Swift { + header "OneSignalFramework-Swift.h" + requires objc +} diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/OneSignalFramework b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/OneSignalFramework new file mode 100755 index 000000000..0b61de541 Binary files /dev/null and b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/OneSignalFramework differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..3d6fe4f02 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/_CodeSignature/CodeResources @@ -0,0 +1,267 @@ + + + + + files + + Headers/OneSignalFramework-Swift.h + + YQHjHKcxUSTeg3eT8p+RLJuNVvI= + + Headers/OneSignalFramework.h + + pQYzPOqA466SnPPW+qr4lIOON00= + + Headers/OneSignalInAppMessaging.h + + IwOxY7H26o8cwhEK9nqSHJ9KlZs= + + Headers/OneSignalLocation.h + + 6cjYIXsblR6cKpaeZDdUy6qJpY8= + + Info.plist + + K1nJjQOeDe3IA9BK7mXduN3F7qg= + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.abi.json + + vmI+Iktb3tKo9FAQ2DX0aVCfSpc= + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + PPFgXUqXl87Aqu50hLlAEAW6198= + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + qwGayNbLYYfB5DEiix9R7Bwgolk= + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + PPFgXUqXl87Aqu50hLlAEAW6198= + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + f86t76xrcyDndfQpF+J0dXss5qQ= + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json + + vmI+Iktb3tKo9FAQ2DX0aVCfSpc= + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + EthtvinAFGtLmZNTz6xpHk/CKNg= + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + LMmCTL+a9fweuA0ddOr3hku+hSY= + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + EthtvinAFGtLmZNTz6xpHk/CKNg= + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + tiQ2OEZyf8HWGktD9SbJjtJXCq4= + + Modules/module.modulemap + + 1KqmkcIhSUBPW8iZkf/Z4P2a52Y= + + + files2 + + Headers/OneSignalFramework-Swift.h + + hash2 + + QL++MvAM1duVPjAE9vFlE3nXJzI689RJnGYDHyvqSfE= + + + Headers/OneSignalFramework.h + + hash2 + + rxulN/SEu3ArPRMSHQ8nnNNnubIhKVtavwNjSbRBgpI= + + + Headers/OneSignalInAppMessaging.h + + hash2 + + ykbSwpPp5ESa9B0d/29vxVk+8BrCqkr7YNYNtQmm5cQ= + + + Headers/OneSignalLocation.h + + hash2 + + 1kRClg27AAoLzwEX49R4WgoyAVwP7oW8dx9B9R/tJw0= + + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash2 + + rwG463bqx5AG8nuAztvi2TjNGMK5RoR18ULrCNnN3os= + + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash2 + + 339En4TlhZS69FvunYz9nfNFQi0gsR7NqT9SC09jdxU= + + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + s6W78ZSKJrfcy40g82xvauI7+1znZbSTz8ebxTXnjcQ= + + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + 339En4TlhZS69FvunYz9nfNFQi0gsR7NqT9SC09jdxU= + + + Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + 0knmlzJ0Xz9GZ6WA5JUl1BmyUyk1le3cd92Jmy9lUJU= + + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash2 + + rwG463bqx5AG8nuAztvi2TjNGMK5RoR18ULrCNnN3os= + + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash2 + + xhF2ArdhM5BybIvM3M4KXw0Xh6nIhDPgglNtpr3LTpI= + + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + KXROTA8SvaxdLsFSRTsmRnLfu7mQXmk6Dcey1DfsO+w= + + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + xhF2ArdhM5BybIvM3M4KXw0Xh6nIhDPgglNtpr3LTpI= + + + Modules/OneSignalFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + EPkTzu6b849/AoLMXeuTwX4Wl5HZb7zbMgUjlH6OXLY= + + + Modules/module.modulemap + + hash2 + + uYyaBTiMLs8etIRoMNFdTIeKglpV+7S9AKNWsoMjzZk= + + + + 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 + + + +