diff --git a/OneSignal.podspec b/OneSignal.podspec index 7417a2ba4..44bab327a 100755 --- a/OneSignal.podspec +++ b/OneSignal.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "OneSignal" - s.version = "5.0.5" + s.version = "5.1.0" 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 6e02fed26..60c93a404 100644 --- a/OneSignalXCFramework.podspec +++ b/OneSignalXCFramework.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "OneSignalXCFramework" - s.version = "5.0.5" + s.version = "5.1.0" 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 ff2005d02..077e53812 100644 --- a/Package.swift +++ b/Package.swift @@ -105,48 +105,48 @@ let package = Package( ), .binaryTarget( name: "OneSignalFramework", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalFramework.xcframework.zip", - checksum: "3992fa88cd0e53df163bb61061637d18b4661db8fafa83186e3b8ffb6697802b" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalFramework.xcframework.zip", + checksum: "9f1b8c8c3cba585b5861d3b04df167a5e74a48400e7b6d4db7b61767b9c8bb46" ), .binaryTarget( name: "OneSignalInAppMessages", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalInAppMessages.xcframework.zip", - checksum: "a45f932173dffc7584a0cedfe96d298bde4aa3b87b51517d3dd649a268b9ccec" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalInAppMessages.xcframework.zip", + checksum: "92212c029622ac585cb55ac29f36f68ce9c1f50bf500c33008477f96b229f7e1" ), .binaryTarget( name: "OneSignalLocation", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalLocation.xcframework.zip", - checksum: "09a518db892ed75b41be46eb438ce42860e00ce1d68c9d70949155ae47fa90e2" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalLocation.xcframework.zip", + checksum: "8b1fee64e9dcebc85d5220e5600be23e560895f25aa2d6d02472d7ddb2bfd899" ), .binaryTarget( name: "OneSignalUser", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalUser.xcframework.zip", - checksum: "53f0375965d4320236c72187bf90d10d039c08db9e6878b2ec88a9eedcb8726e" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalUser.xcframework.zip", + checksum: "04c4226583588782a3c7eab7fc5432e5c2e5d3f7b93dbe035f11420d040edba6" ), .binaryTarget( name: "OneSignalNotifications", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalNotifications.xcframework.zip", - checksum: "1be5f1d399e078a25f3686808c13bedfa67f0b7cc8e598ef8ca4765cb0c5078a" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalNotifications.xcframework.zip", + checksum: "2383ae631e80b06f42557eff3f06a41a3e2614dccd854b767950e975ded70838" ), .binaryTarget( name: "OneSignalExtension", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalExtension.xcframework.zip", - checksum: "6afc5293b1f91c92e97d9e5be0e2822c3cf02dc5f5fbbe8195833f24dc912379" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalExtension.xcframework.zip", + checksum: "9cc6c0e0b9090c7c9816157e4ba1193194f132ebf0dae6c28533c2de3fb7c5dd" ), .binaryTarget( name: "OneSignalOutcomes", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalOutcomes.xcframework.zip", - checksum: "14a7cf63a33bb5892cd15bfb3c488c1ec8fa9b3c04649513daa4908c330de0ec" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalOutcomes.xcframework.zip", + checksum: "91e675c23450803d96554820dbe5a1d6aec4157364699bb141a58f24106ee7fc" ), .binaryTarget( name: "OneSignalOSCore", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalOSCore.xcframework.zip", - checksum: "3434e40cce694900408b4f89d402a181d9fd52d53d46a156ec08650109a11103" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalOSCore.xcframework.zip", + checksum: "a7e039b2a43bb88d2e1de3feeac977db5cf941959379ef7a196813a4f9a048da" ), .binaryTarget( name: "OneSignalCore", - url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalCore.xcframework.zip", - checksum: "9d30ad8b223749f014106aa82347a280b12a44c6afdb8f429fbee34c33964ffa" + url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalCore.xcframework.zip", + checksum: "b78ec86cbed1f271fe868eaa4cdce6a2ee7de5be514548f9d21e0b122653cde3" ) ] ) diff --git a/iOS_SDK/OneSignalSDK/OneSignalCore/Source/OneSignalCommonDefines.h b/iOS_SDK/OneSignalSDK/OneSignalCore/Source/OneSignalCommonDefines.h index ad6ec9ac9..7c183f1d3 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 @"050005" +#define ONESIGNAL_VERSION @"050100" #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 5607eb153..7ec70f745 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/ios-arm64/OneSignalCore.framework/Headers/OneSignalCommonDefines.h b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCommonDefines.h index cc48167de..7c183f1d3 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/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 @"050005" +#define ONESIGNAL_VERSION @"050100" #define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID #define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE @@ -118,6 +118,10 @@ // can use them directly. #define DEFAULT_UNAUTHORIZATIONOPTIONS (UNAuthorizationOptionSound + UNAuthorizationOptionBadge + UNAuthorizationOptionAlert) +// Class Names used with NSClassFromString +#define ONE_SIGNAL_LOCATION_CLASS_NAME @"OneSignalLocationManager" +#define ONE_SIGNAL_IN_APP_MESSAGES_CLASS_NAME @"OneSignalInAppMessages" + // iOS Parameter Names #define IOS_FBA @"fba" #define IOS_USES_PROVISIONAL_AUTHORIZATION @"uses_provisional_auth" @@ -287,6 +291,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP #define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE" +// OSID and EID snapshots during hydration +#define OS_SNAPSHOT_ONESIGNAL_ID @"OS_SNAPSHOT_ONESIGNAL_ID" +#define OS_SNAPSHOT_EXTERNAL_ID @"OS_SNAPSHOT_EXTERNAL_ID" + // Models and Model Stores #define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY" #define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY" 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 index 1446a5294..5fce07d8e 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Info.plist 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/OneSignalCore.framework/OneSignalCore b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/OneSignalCore index 1bec0cdf8..6ef47ca28 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/OneSignalCore 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/OneSignalCore.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/_CodeSignature/CodeResources index 00b8af1fe..45895e1dc 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/_CodeSignature/CodeResources @@ -78,7 +78,7 @@ Headers/OneSignalCommonDefines.h - SG8j5q+Z6fExky4vxn4vwfT4D5Y= + ndR/xLw4L1jcYInpPlfRn0Qag08= Headers/OneSignalConfigManager.h @@ -126,7 +126,7 @@ Info.plist - 5j92A0qIhyoYwuBXYk8Ucin9gQc= + l2wiySw7LUEDPbl1AKRhl5JgO4M= Modules/module.modulemap @@ -265,7 +265,7 @@ hash2 - l1n/qWZvLmzj+PhG8acqf110T8rOeDJ+T+Ru+FKBR6g= + jFVB6mq//2WLhfivs+XsCMKTED1ORLn5oxnpRIvdLbc= Headers/OneSignalConfigManager.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 cc48167de..7c183f1d3 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 @"050005" +#define ONESIGNAL_VERSION @"050100" #define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID #define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE @@ -118,6 +118,10 @@ // can use them directly. #define DEFAULT_UNAUTHORIZATIONOPTIONS (UNAuthorizationOptionSound + UNAuthorizationOptionBadge + UNAuthorizationOptionAlert) +// Class Names used with NSClassFromString +#define ONE_SIGNAL_LOCATION_CLASS_NAME @"OneSignalLocationManager" +#define ONE_SIGNAL_IN_APP_MESSAGES_CLASS_NAME @"OneSignalInAppMessages" + // iOS Parameter Names #define IOS_FBA @"fba" #define IOS_USES_PROVISIONAL_AUTHORIZATION @"uses_provisional_auth" @@ -287,6 +291,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP #define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE" +// OSID and EID snapshots during hydration +#define OS_SNAPSHOT_ONESIGNAL_ID @"OS_SNAPSHOT_ONESIGNAL_ID" +#define OS_SNAPSHOT_EXTERNAL_ID @"OS_SNAPSHOT_EXTERNAL_ID" + // Models and Model Stores #define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY" #define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY" 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 0278f1127..da80738ad 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 a26c5a3f6..73c4e0ff9 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 - 23B81 + 23C71 CFBundleDevelopmentRegion en CFBundleExecutable 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 64547ec46..0c68538c6 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,7 +6,7 @@ Resources/Info.plist - BkFCch7mVZcdA2wPF5SEfMDbkGk= + MNSoZjzKtQKkJLhkdk0vLZ9tra8= files2 @@ -141,7 +141,7 @@ hash2 - l1n/qWZvLmzj+PhG8acqf110T8rOeDJ+T+Ru+FKBR6g= + jFVB6mq//2WLhfivs+XsCMKTED1ORLn5oxnpRIvdLbc= Headers/OneSignalConfigManager.h @@ -232,7 +232,7 @@ hash2 - y3RYB55M2LKU2SSaZZhXP4YEAPY7E5CyiXSxIL4mUnY= + GtRo3fldyjE7z2E+ZzTMbVXU6S6zdxGKnbApe36BmSg= diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_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 index cc48167de..7c183f1d3 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_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 @"050005" +#define ONESIGNAL_VERSION @"050100" #define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID #define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE @@ -118,6 +118,10 @@ // can use them directly. #define DEFAULT_UNAUTHORIZATIONOPTIONS (UNAuthorizationOptionSound + UNAuthorizationOptionBadge + UNAuthorizationOptionAlert) +// Class Names used with NSClassFromString +#define ONE_SIGNAL_LOCATION_CLASS_NAME @"OneSignalLocationManager" +#define ONE_SIGNAL_IN_APP_MESSAGES_CLASS_NAME @"OneSignalInAppMessages" + // iOS Parameter Names #define IOS_FBA @"fba" #define IOS_USES_PROVISIONAL_AUTHORIZATION @"uses_provisional_auth" @@ -287,6 +291,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP #define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE" +// OSID and EID snapshots during hydration +#define OS_SNAPSHOT_ONESIGNAL_ID @"OS_SNAPSHOT_ONESIGNAL_ID" +#define OS_SNAPSHOT_EXTERNAL_ID @"OS_SNAPSHOT_EXTERNAL_ID" + // Models and Model Stores #define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY" #define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY" diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/Info.plist index dc1c3b61f..199bd80e6 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/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_x86_64-simulator/OneSignalCore.framework/OneSignalCore b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/OneSignalCore index 3c4ad647f..ffbe3976c 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/OneSignalCore 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_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources index 9a7b362aa..df18dc3cd 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64_x86_64-simulator/OneSignalCore.framework/_CodeSignature/CodeResources @@ -78,7 +78,7 @@ Headers/OneSignalCommonDefines.h - SG8j5q+Z6fExky4vxn4vwfT4D5Y= + ndR/xLw4L1jcYInpPlfRn0Qag08= Headers/OneSignalConfigManager.h @@ -126,7 +126,7 @@ Info.plist - XkPUJ3HXHTzA0ASZY88QKf6lcPA= + 8iPZ8AjM9MiHU+ummZFNrYSJ1R4= Modules/module.modulemap @@ -265,7 +265,7 @@ hash2 - l1n/qWZvLmzj+PhG8acqf110T8rOeDJ+T+Ru+FKBR6g= + jFVB6mq//2WLhfivs+XsCMKTED1ORLn5oxnpRIvdLbc= Headers/OneSignalConfigManager.h diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework.zip index d0c8a79e1..631c80fd4 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 597a5c652..dd8cca3f6 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/Info.plist @@ -6,18 +6,15 @@ LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64 LibraryPath OneSignalExtension.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - maccatalyst LibraryIdentifier @@ -36,15 +33,18 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-maccatalyst LibraryPath OneSignalExtension.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + maccatalyst CFBundlePackageType 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 index b05699826..333320d6a 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/Info.plist 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/OneSignalExtension.framework/OneSignalExtension b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/OneSignalExtension index 79c6f6373..dc0a850ba 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/OneSignalExtension 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/OneSignalExtension.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/_CodeSignature/CodeResources index 06f133e28..d2e94f9ec 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64/OneSignalExtension.framework/_CodeSignature/CodeResources @@ -26,7 +26,7 @@ Info.plist - 7HlcW6AuOT07ua/ecfcRV+CNRLU= + URvlqPKpOxstw6VMyv2j0srZL08= Modules/module.modulemap 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 9d73ae4de..3409f4dde 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 c6e6d5b55..52fbb4cca 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 - 23B81 + 23C71 CFBundleDevelopmentRegion en CFBundleExecutable 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 e0828a16a..de218384b 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 - c3NoFIMzPrAc1McpZ7Ds0XUzsmo= + jrMdjvD9OeByHc5AsEGvtuc1PD8= Resources/PrivacyInfo.xcprivacy @@ -61,7 +61,7 @@ hash2 - srsqXs0TFQsZZL1e14Fka+RNWv/2zjYgHg5wl/8rhfM= + AJ/T0R5qTn3iHg4ktpt+47P7sud3CYMQ5I6GQO56LQk= Resources/PrivacyInfo.xcprivacy diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/Info.plist index a3f86ee08..668224d79 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/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_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension index e428689d9..989eb3b9b 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/OneSignalExtension 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_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources index 0f9e11a3d..813a37103 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework/ios-arm64_x86_64-simulator/OneSignalExtension.framework/_CodeSignature/CodeResources @@ -26,7 +26,7 @@ Info.plist - vT8b8+x9w537UqYlp9knZjzDazQ= + HOTWdmhXQCauZ6sQHS73C8hyGWQ= Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework.zip index 6e7a8c2b8..c2a60c7bb 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework.zip and b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework.zip differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/Info.plist index 63f0973f0..d92617b0a 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/Info.plist @@ -6,15 +6,18 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath OneSignalInAppMessages.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier @@ -33,18 +36,15 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath OneSignalInAppMessages.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/Info.plist index e752d9521..6a60e0cc2 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/OneSignalInAppMessages b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/OneSignalInAppMessages index 8e32a599d..9cde2f6d2 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/OneSignalInAppMessages and b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/OneSignalInAppMessages differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/_CodeSignature/CodeResources index 9a43d6b3d..2c6dec695 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64/OneSignalInAppMessages.framework/_CodeSignature/CodeResources @@ -10,7 +10,7 @@ Info.plist - 79Y5tM9dlqwJm2/tMwqVi5XmPek= + CQjVME5Zp0XmKbxudg9cAhHdLMc= Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/OneSignalInAppMessages b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/OneSignalInAppMessages index 8a82a14be..e2c68e64f 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/OneSignalInAppMessages and b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/OneSignalInAppMessages differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/Resources/Info.plist index e75ec48f1..7a67a638b 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/Resources/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23B81 + 23C71 CFBundleDevelopmentRegion English CFBundleExecutable diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/_CodeSignature/CodeResources index d2e58c538..abb95f9cd 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalInAppMessages.framework/Versions/A/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Resources/Info.plist - Cn/y6uP9Gg04ak4V5CyCLw8o744= + 4DoNc0yipmL8vTfcVOJlYLTQ6z8= Resources/PrivacyInfo.xcprivacy @@ -33,7 +33,7 @@ hash2 - MIdbla8FxWCZBaE3u5jqzvL9ZISOLoBU3LvKheSShE4= + 30bxpXIR25UG9YYsA6j3/ywgXbgZ8b70PIAA8uW6YfA= Resources/PrivacyInfo.xcprivacy diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/Info.plist index a9915562b..fdbaa9ed1 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/OneSignalInAppMessages b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/OneSignalInAppMessages index 3220525f8..1ab086597 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/OneSignalInAppMessages and b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/OneSignalInAppMessages differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/_CodeSignature/CodeResources index 924d02506..22d66f0c9 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_InAppMessages/OneSignalInAppMessages.xcframework/ios-arm64_x86_64-simulator/OneSignalInAppMessages.framework/_CodeSignature/CodeResources @@ -10,7 +10,7 @@ Info.plist - U+HpylDqeniC/fuUH+qJlvo/EpQ= + PhMAChaorw72coZfhVwtHK5mI8I= Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework.zip index 96cdc119b..afcd35ab7 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework.zip and b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework.zip differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/Info.plist index 820761e70..e00776098 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/Info.plist @@ -21,30 +21,30 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath OneSignalLocation.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath OneSignalLocation.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/Info.plist index 0eae6005c..d5569871a 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/OneSignalLocation b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/OneSignalLocation index 4f05e6e56..e57e42544 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/OneSignalLocation and b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/OneSignalLocation differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/_CodeSignature/CodeResources index 712048675..c6c76f760 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64/OneSignalLocation.framework/_CodeSignature/CodeResources @@ -10,7 +10,7 @@ Info.plist - f6/WVwDmf3J+j3q/ey38jRJtr08= + /7go4V63ljTW897ecxFk/YtZLtA= PrivacyInfo.xcprivacy diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/OneSignalLocation b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/OneSignalLocation index e84832ccb..f81760b48 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/OneSignalLocation and b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/OneSignalLocation differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/Resources/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/Resources/Info.plist index a3173f1b7..010fafcec 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/Resources/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23B81 + 23C71 CFBundleDevelopmentRegion English CFBundleExecutable diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/_CodeSignature/CodeResources index 58691910a..99b2a528b 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalLocation.framework/Versions/A/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Resources/Info.plist - q1zEiq1nXOvcnE7dvywp0adEJPY= + iXg4+jxafeVWCajRKADuQbwmgYs= Resources/PrivacyInfo.xcprivacy @@ -26,7 +26,7 @@ hash2 - HQ5Wsp3ULfw3tKzgOMQovjpnakuU6WJLFtZ8/UBg/ds= + nC+8Wa7C2YxavQLhhDSLwoHwzbQTShQWD9BoYaZeyYo= Resources/PrivacyInfo.xcprivacy diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/Info.plist index ddafcb520..dc63a9aff 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/Info.plist and b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/Info.plist differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/OneSignalLocation b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/OneSignalLocation index c69bb84ff..d06454990 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/OneSignalLocation and b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/OneSignalLocation differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/_CodeSignature/CodeResources index 832bff81c..977842682 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Location/OneSignalLocation.xcframework/ios-arm64_x86_64-simulator/OneSignalLocation.framework/_CodeSignature/CodeResources @@ -10,7 +10,7 @@ Info.plist - 8NJrRKbOPRuE4Rmy2u5eB5H9bpc= + N7ldOciWktv/zU3S2ZIW5/mrHzw= PrivacyInfo.xcprivacy diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework.zip index 92e03ae53..a5882d8c9 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework.zip and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework.zip differ 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 index 235a65205..728ddfe60 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/Info.plist 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/OneSignalNotifications b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/OneSignalNotifications index 952a0a6b7..c9cdede67 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/OneSignalNotifications and b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/OneSignalNotifications differ diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/_CodeSignature/CodeResources index 7569d2c38..a8335b1c8 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64/OneSignalNotifications.framework/_CodeSignature/CodeResources @@ -26,7 +26,7 @@ Info.plist - IsJX6u84Jc3xee5VlhM+PFXUyzA= + wDJZ6b+KbBHHA17UGryydb2j7xs= Modules/module.modulemap 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 index a879efe47..1a1aa6ace 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalNotifications.framework/Versions/A/OneSignalNotifications 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 index 48351ee56..35ad2a950 100644 --- 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 @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23B81 + 23C71 CFBundleDevelopmentRegion English CFBundleExecutable 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 index 5531766cd..6dcb33bdc 100644 --- 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 @@ -6,7 +6,7 @@ Resources/Info.plist - MxQMx8qf8KXhO4U8k+1vQc4p7vY= + IqrjN6pWq9jwvTLCsa7A0Mcdjik= files2 @@ -57,7 +57,7 @@ hash2 - vjxTve5kAJBCr5iJzOxX9pFVY0uFaEvAJz3YuEtupGo= + wmHrc7AZcGD6iSp5XzFLIvPwE7UboZMnrgoAq3r1bDs= 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 index 1d88e1146..4c4ddfba2 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/Info.plist 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/OneSignalNotifications b/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/OneSignalNotifications index d6a3cc5bf..91da94bf6 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Notifications/OneSignalNotifications.xcframework/ios-arm64_x86_64-simulator/OneSignalNotifications.framework/OneSignalNotifications 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 index 5df629cbb..b511f20c0 100644 --- 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 @@ -26,7 +26,7 @@ Info.plist - j9rQcZEGO70EHmde89/Gq2NhJ+U= + maSCMewh3+phuMDrPUFyuy7K9sI= Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework.zip index 0895b20e3..d0f853064 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework.zip 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 index 233296a72..98346d7f9 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/Info.plist @@ -6,34 +6,34 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath OneSignalOSCore.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64 LibraryPath OneSignalOSCore.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - maccatalyst LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64_x86_64-maccatalyst LibraryPath OneSignalOSCore.framework SupportedArchitectures @@ -44,7 +44,7 @@ SupportedPlatform ios SupportedPlatformVariant - simulator + maccatalyst CFBundlePackageType 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 index 06a8999ec..115bdcc26 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/Info.plist 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/OneSignalOSCore b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/OneSignalOSCore index d96310c20..142ceebe4 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64/OneSignalOSCore.framework/OneSignalOSCore 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 index 9d08ec096..fba78dcad 100644 --- 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 @@ -14,7 +14,7 @@ Info.plist - C1asFlVH7D7lMAmooNV7xElx/3Q= + f47dusls/BOtINVCnAdO8bTmmdY= Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios.abi.json 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 index a55b50534..7c87b8eed 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalOSCore.framework/Versions/A/OneSignalOSCore 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 index ac14e415a..e18ee8b61 100644 --- 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 @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23B81 + 23C71 CFBundleDevelopmentRegion English CFBundleExecutable 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 index b3d452517..a9b4740f0 100644 --- 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 @@ -6,7 +6,7 @@ Resources/Info.plist - g0t/p7vBtUVZiFCgyWeOqwGahAI= + p8WxELt0apH3RLkqqQubcGl4HT0= files2 @@ -106,7 +106,7 @@ hash2 - N2kXKntBAOZT6J0J/4HI/0JOyo9kXf/F4PwlXZVGpns= + EkbywqkF9uNTt0Q+uMg65ZIeoNzQMcwkm+iw+142izs= 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 index bbb16abfe..d2d241679 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/Info.plist 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/OneSignalOSCore b/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/OneSignalOSCore index cb34bf887..9a9d564a4 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_OSCore/OneSignalOSCore.xcframework/ios-arm64_x86_64-simulator/OneSignalOSCore.framework/OneSignalOSCore 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 index 764eea25f..81d843b99 100644 --- 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 @@ -14,7 +14,7 @@ Info.plist - 6FBFNzx+9LyglozW7tBg2vGhFkk= + dmutmsLJnbniN//iBkuHLBscvlg= Modules/OneSignalOSCore.swiftmodule/arm64-apple-ios-simulator.abi.json diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework.zip index 11a76216b..9540bf27c 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 874cafd79..bbdab4427 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/Info.plist @@ -21,30 +21,30 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-maccatalyst LibraryPath OneSignalOutcomes.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + maccatalyst 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/OneSignalOutcomes.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Info.plist index 5141c83ec..41184a628 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/Info.plist 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/OneSignalOutcomes.framework/OneSignalOutcomes b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/OneSignalOutcomes index bff49a4cc..967844e2e 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/OneSignalOutcomes 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/OneSignalOutcomes.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/_CodeSignature/CodeResources index 66ab830fa..8e4bc3635 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64/OneSignalOutcomes.framework/_CodeSignature/CodeResources @@ -82,7 +82,7 @@ Info.plist - 1KoEpqiY7hTaBhW35kOQgAiLxp8= + Wrnc2AbYNZe4DEfSoQW30Ey94KA= Modules/module.modulemap 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 9f1fdd491..f1b86f863 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 e92b3a188..c8e07c26f 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 - 23B81 + 23C71 CFBundleDevelopmentRegion en CFBundleExecutable 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 f38e1ea6a..b3c066856 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 - ur8mjaUvVR8pojKk8BfT1s8rUrU= + RiEH3bSxn4gMhEvEJURXfOpo9d0= files2 @@ -155,7 +155,7 @@ hash2 - cJlDfXwxB8Mm1TG/5HgMcsGSDHcPvsbzIYufDsScrzM= + V54KuzFdoJCHnzfeiLQAUgt9Djv2lJFIjIbPHQNZKJ8= diff --git a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/Info.plist index 8b0df46e0..ae50b8892 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.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_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes index 29c63e94d..74eef481d 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/OneSignalOutcomes 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_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources index 873434285..045cfab94 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources +++ b/iOS_SDK/OneSignalSDK/OneSignal_Outcomes/OneSignalOutcomes.xcframework/ios-arm64_x86_64-simulator/OneSignalOutcomes.framework/_CodeSignature/CodeResources @@ -82,7 +82,7 @@ Info.plist - 0F5PI8P1KOP//Hqz0/23T2Ek6vs= + V2o+wnJue7FRQUyXPF76jt1diAM= Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework.zip index a3a3da613..88bd314fa 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework.zip 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 index 34b1c0a71..e9bdb8776 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/Info.plist @@ -6,7 +6,7 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64_x86_64-maccatalyst LibraryPath OneSignalUser.framework SupportedArchitectures @@ -17,34 +17,34 @@ SupportedPlatform ios SupportedPlatformVariant - simulator + maccatalyst LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath OneSignalUser.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64 LibraryPath OneSignalUser.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - maccatalyst CFBundlePackageType 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 index 0129dfb6a..2c0227486 100644 --- 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 @@ -299,11 +299,18 @@ SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end +@protocol OSUserStateObserver; /// This is the user interface exposed to the public. SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") @protocol OSUser @property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +/// Add an observer to the user state, allowing the provider to be notified when the user state has changed. +/// Important: When using the observer to retrieve the onesignalId, check the externalId as well to confirm the values are associated with the expected user. +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; @@ -321,15 +328,44 @@ SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") - (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; @end +@class OSUserState; + +SWIFT_CLASS("_TtC13OneSignalUser18OSUserChangedState") +@interface OSUserChangedState : NSObject +@property (nonatomic, readonly, strong) OSUserState * _Nonnull current; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end +SWIFT_CLASS("_TtC13OneSignalUser11OSUserState") +@interface OSUserState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL("_TtP13OneSignalUser19OSUserStateObserver_") +@protocol OSUserStateObserver +- (void)onUserStateDidChangeWithState:(OSUserChangedState * _Nonnull)state; +@end + + +@class OSPushSubscriptionImpl; + 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, readonly, copy) NSString * _Nullable language; +@property (nonatomic, readonly, strong) OSPushSubscriptionImpl * _Nonnull pushSubscriptionImpl; @property (nonatomic) BOOL requiresUserAuth; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @@ -344,6 +380,25 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +@end + + +SWIFT_CLASS("_TtCC13OneSignalUser24OneSignalUserManagerImpl22OSPushSubscriptionImpl") +@interface OSPushSubscriptionImpl : NSObject +- (void)addObserver:(id _Nonnull)observer; +- (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; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + @interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) - (void)setNotificationTypes:(int32_t)notificationTypes; - (void)setPushToken:(NSString * _Nonnull)pushToken; @@ -360,22 +415,14 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end -@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) -- (void)addObserver:(id _Nonnull)observer; -- (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; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; 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 index 1fc13d848..e3d3e0fc3 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Info.plist 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 index d44dbca5d..49d2da8a7 100644 --- 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 @@ -105,6 +105,195 @@ } ] }, + { + "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(pl)OSUser(py)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvp", + "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)OSUser(im)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "externalId", + "printedName": "externalId", + "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)OSUser(py)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvp", + "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)OSUser(im)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addObserver:", + "mangledName": "$s13OneSignalUser6OSUserP11addObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeObserver:", + "mangledName": "$s13OneSignalUser6OSUserP14removeObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "addAlias", @@ -1040,8 +1229,8 @@ }, { "kind": "Var", - "name": "onesignalId", - "printedName": "onesignalId", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", "children": [ { "kind": "TypeNominal", @@ -1059,8 +1248,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1088,8 +1277,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1100,8 +1289,8 @@ }, { "kind": "Var", - "name": "pushSubscriptionId", - "printedName": "pushSubscriptionId", + "name": "language", + "printedName": "language", "children": [ { "kind": "TypeNominal", @@ -1119,8 +1308,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1148,8 +1337,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1160,32 +1349,28 @@ }, { "kind": "Var", - "name": "language", - "printedName": "language", + "name": "pushSubscriptionImpl", + "printedName": "pushSubscriptionImpl", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ + "Final", + "HasStorage", "AccessControl", "ObjC" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -1194,24 +1379,18 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvg", "moduleName": "OneSignalUser", + "implicit": true, "declAttributes": [ + "Final", "ObjC" ], "accessorKind": "get" @@ -1901,30 +2080,222 @@ ] }, { - "kind": "Function", - "name": "addAlias", - "printedName": "addAlias(label:id:)", + "kind": "Var", + "name": "externalId", + "printedName": "externalId", "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" + "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)addAliasWithLabel:id:", + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "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)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "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:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "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)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA011OSUserStateG0_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": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA011OSUserStateG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "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:", @@ -2388,101 +2759,70 @@ "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "addObserver", - "printedName": "addObserver(_:)", - "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)addObserver:", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA018OSPushSubscriptionG0_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", + "kind": "TypeDecl", + "name": "OSPushSubscriptionImpl", + "printedName": "OSPushSubscriptionImpl", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" } ], - "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": [ + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -2499,56 +2839,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", "moduleName": "OneSignalUser", "objc_name": "id", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "token", - "printedName": "token", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "token", + "printedName": "token", "children": [ { "kind": "TypeNominal", @@ -2565,48 +2901,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", "moduleName": "OneSignalUser", "objc_name": "token", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "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": [ + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", "children": [ { "kind": "TypeNominal", @@ -2615,68 +2955,184 @@ "usr": "s:Sb" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", "moduleName": "OneSignalUser", "objc_name": "optedIn", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "optIn", - "printedName": "optIn()", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" + } + ], + "declKind": "Constructor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" } ], - "declKind": "Func", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "declKind": "Class", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", "moduleName": "OneSignalUser", - "objc_name": "optIn", "declAttributes": [ - "Dynamic", - "ObjC", "AccessControl", - "RawDocComment" + "ObjC" ], "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "optOut", - "printedName": "optOut()", - "children": [ + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + }, + { + "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" } - ], - "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", @@ -2810,20 +3266,13 @@ "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", "moduleName": "OneSignalUser", "declAttributes": [ @@ -2832,20 +3281,50 @@ }, { "kind": "Import", - "name": "OneSignalOSCore", - "printedName": "OneSignalOSCore", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", "name": "OneSignalCore", "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" - }, - { - "kind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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", @@ -2895,6 +3374,16 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "OneSignalOSCore", @@ -2919,6 +3408,90 @@ "declKind": "Import", "moduleName": "OneSignalUser" }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2992,23 +3565,686 @@ "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", "moduleName": "OneSignalUser", - "genericSig": "<τ_0_0 : AnyObject>", - "sugared_genericSig": "", + "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": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "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": "OSPushSubscriptionChangedState", + "printedName": "OSPushSubscriptionChangedState", + "children": [ + { + "kind": "Var", + "name": "current", + "printedName": "current", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "previous", + "printedName": "previous", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "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)OSPushSubscriptionChangedState(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "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)OSPushSubscriptionChangedState(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionChangedState", + "printedName": "OneSignalUser.OSPushSubscriptionChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "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": [ - "AccessControl", - "ObjC", "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionState", - "printedName": "OSPushSubscriptionState", + "name": "OSUserState", + "printedName": "OSUserState", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "onesignalId", + "printedName": "onesignalId", "children": [ { "kind": "TypeNominal", @@ -3026,8 +4262,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3059,8 +4295,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3073,8 +4309,8 @@ }, { "kind": "Var", - "name": "token", - "printedName": "token", + "name": "externalId", + "printedName": "externalId", "children": [ { "kind": "TypeNominal", @@ -3092,8 +4328,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3125,58 +4361,8 @@ } ], "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", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3200,8 +4386,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3225,8 +4411,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3251,8 +4437,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser11OSUserStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3267,14 +4453,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)init", + "mangledName": "$s13OneSignalUser11OSUserStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3288,12 +4474,13 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState", + "mangledName": "$s13OneSignalUser11OSUserStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", - "ObjC" + "ObjC", + "RawDocComment" ], "superclassUsr": "c:objc(cs)NSObject", "hasMissingDesignatedInitializers": true, @@ -3354,8 +4541,8 @@ }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionChangedState", - "printedName": "OSPushSubscriptionChangedState", + "name": "OSUserChangedState", + "printedName": "OSUserChangedState", "children": [ { "kind": "Var", @@ -3364,64 +4551,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" - } - ], - "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", - "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)OSPushSubscriptionChangedState(im)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", - "moduleName": "OneSignalUser", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "previous", - "printedName": "previous", - "children": [ - { - "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3439,14 +4576,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3470,8 +4607,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3495,8 +4632,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3521,8 +4658,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3537,14 +4674,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionChangedState", - "printedName": "OneSignalUser.OSPushSubscriptionChangedState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)init", + "mangledName": "$s13OneSignalUser18OSUserChangedStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3558,8 +4695,8 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3623,13 +4760,51 @@ ] }, { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", + "kind": "TypeDecl", + "name": "OSUserStateObserver", + "printedName": "OSUserStateObserver", + "children": [ + { + "kind": "Function", + "name": "onUserStateDidChange", + "printedName": "onUserStateDidChange(state:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver(im)onUserStateDidChangeWithState:", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP02oncE9DidChange5stateyAA0d7ChangedE0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUserStateObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onUserStateDidChangeWithState:", + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP", "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", "declAttributes": [ - "RawDocComment" + "AccessControl", + "ObjC" ] }, { @@ -3637,32 +4812,11 @@ "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", @@ -3689,27 +4843,13 @@ }, { "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] } ], "json_format_version": 8 @@ -3718,38 +4858,87 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 4087, + "offset": 4525, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5109, + "offset": 5547, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5128, + "offset": 5566, "length": 4, "value": "true" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5211, + "offset": 5649, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 25059, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "StringLiteral", + "offset": 33030, + "length": 22, + "value": "\"OneSignalUser.OSPushSubscriptionImpl\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "BooleanLiteral", + "offset": 1330, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "BooleanLiteral", + "offset": 1336, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", "kind": "BooleanLiteral", - "offset": 24703, + "offset": 1580, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "StringLiteral", @@ -3774,31 +4963,45 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "Dictionary", - "offset": 2697, + "offset": 2689, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1438, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1570, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1416, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "StringLiteral", + "offset": 1330, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", "kind": "StringLiteral", @@ -3807,26 +5010,138 @@ "value": "\"OneSignalUser.OSUserInternalImpl\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1423, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1484, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", + "kind": "BooleanLiteral", + "offset": 9792, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "BooleanLiteral", + "offset": 1975, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "StringLiteral", + "offset": 1895, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1619, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1705, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Dictionary", + "offset": 1767, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "BooleanLiteral", + "offset": 22232, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "BooleanLiteral", + "offset": 1571, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "StringLiteral", + "offset": 1493, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "BooleanLiteral", + "offset": 1331, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1665, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "StringLiteral", + "offset": 1579, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1615, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", "kind": "BooleanLiteral", - "offset": 9816, + "offset": 1623, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", + "kind": "StringLiteral", + "offset": 1535, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", @@ -3949,42 +5264,42 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 6885, + "offset": 6881, "length": 10, "value": "\"deviceOs\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7098, + "offset": 7090, "length": 5, "value": "\"sdk\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7341, + "offset": 7329, "length": 13, "value": "\"deviceModel\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7634, + "offset": 7618, "length": 12, "value": "\"appVersion\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7458, + "offset": 7442, "length": 28, "value": "\"CFBundleShortVersionString\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7886, + "offset": 7866, "length": 9, "value": "\"netType\"" }, @@ -4010,221 +5325,67 @@ "value": "\"OneSignalUser.OSIdentityModel\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1486, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1689, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1752, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Dictionary", "offset": 1815, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1619, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1705, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Dictionary", - "offset": 1767, - "length": 3, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 27422, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 31693, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 31615, - "length": 19, - "value": "\"OneSignalUser.OSRequestCreateUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 35419, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 35324, - "length": 36, - "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 38704, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 38624, - "length": 21, - "value": "\"OneSignalUser.OSRequestIdentifyUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 42618, - "length": 5, - "value": "false" + "offset": 1243, + "length": 11, + "value": "\"OneSignalUser.OSUserState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 42541, + "offset": 1857, "length": 18, - "value": "\"OneSignalUser.OSRequestFetchUser\"" + "value": "\"OneSignalUser.OSUserChangedState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "BooleanLiteral", - "offset": 45201, + "offset": 1347, "length": 5, "value": "false" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "StringLiteral", - "offset": 45123, - "length": 19, - "value": "\"OneSignalUser.OSRequestAddAliases\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 47646, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 47567, - "length": 20, - "value": "\"OneSignalUser.OSRequestRemoveAlias\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 49858, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 49774, - "length": 25, - "value": "\"OneSignalUser.OSRequestUpdateProperties\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 54435, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 54349, - "length": 27, - "value": "\"OneSignalUser.OSRequestCreateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 57362, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 57274, - "length": 29, - "value": "\"OneSignalUser.OSRequestTransferSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 60213, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 60127, - "length": 27, - "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 63838, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 63752, - "length": 27, - "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + "offset": 1252, + "length": 36, + "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" } ] } \ 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 index 9e54e2a84..d1e407408 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index c2bcbaf96..ac87a3db7 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc 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 index 9e54e2a84..d1e407408 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index b868ef450..5974e9b5c 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64/OneSignalUser.framework/OneSignalUser 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 index 7e6eb137c..191eec493 100644 --- 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 @@ -6,7 +6,7 @@ Headers/OneSignalUser-Swift.h - Iq9xNg+Gb/64bmshy74+HPSU/I0= + HMICLpVdRowD9F+QVLsDWsVLlXk= Headers/OneSignalUser.h @@ -14,27 +14,27 @@ Info.plist - sguMrhwEISA4wXyJ13X3ykdnaE0= + 0pwLKBhbVDC8I7+Gf4+BUNHtg6I= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.abi.json - WzxIYf1bEodDsOSWCKWEBqQPMi4= + 31OFnbYfAlixQGTzfh/6Ey84Hgo= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.private.swiftinterface - eaVh1Rt5PyWkYNl1geZ/fjIr0AM= + RwmP8F21zqe+q2g6aTXhnfb485c= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc - 97ONe39x4nVLqm3/7xi88EDQ+Wo= + yj+8+YpmnfYW8e61Qsz4e87Hkjg= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftinterface - eaVh1Rt5PyWkYNl1geZ/fjIr0AM= + RwmP8F21zqe+q2g6aTXhnfb485c= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftmodule - RYv4fIjX6Yua84xJAkizOrdcUno= + 1AWSx1CQD7D60Dt/3wakfCpJrGU= Modules/module.modulemap @@ -47,7 +47,7 @@ hash2 - NTW8LRW1Yu4Fi5a3/r+tKLKV8CxR5jJq65HypcfycHM= + kX+TeFK60gxr2Ddp8mvencCRoVWBKK+J4HLEYCZi7FI= Headers/OneSignalUser.h @@ -61,35 +61,35 @@ hash2 - BbITzwlIgTW3TVhjBq2fhGYKfKAdj/8lrLIqmGmLi/w= + kWfIh6gGFTGwHjSnMmL2vQrO0N5aRwirq6kyALSWSik= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.private.swiftinterface hash2 - z4OWSaAiX4mVO45QAAMlhR4tMwKTBydQ29ISkhak8do= + sGMQEI2GkLsGz+xWQGLQ8yha0gVEKi/U2VKXJuwMK0o= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftdoc hash2 - iavkKn//onEzcOrWnB6LkJI/kc3oAB2KBfCbi8JYbTg= + /CLsJNSqlYOZ3N35BU8tLWa6AvB5Hy0Gbp7q2xjdlIc= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftinterface hash2 - z4OWSaAiX4mVO45QAAMlhR4tMwKTBydQ29ISkhak8do= + sGMQEI2GkLsGz+xWQGLQ8yha0gVEKi/U2VKXJuwMK0o= Modules/OneSignalUser.swiftmodule/arm64-apple-ios.swiftmodule hash2 - +s/97HAXjIndK1egsWOMVeZIjOZNqK0OOv/aVLQOhpc= + 2pJnUvCxLPwyo9jKlnxixZm//960MsDzOpBdNLeOQI4= Modules/module.modulemap 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 index 02852dc4a..b9ffd0582 100644 --- 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 @@ -299,11 +299,18 @@ SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end +@protocol OSUserStateObserver; /// This is the user interface exposed to the public. SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") @protocol OSUser @property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +/// Add an observer to the user state, allowing the provider to be notified when the user state has changed. +/// Important: When using the observer to retrieve the onesignalId, check the externalId as well to confirm the values are associated with the expected user. +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; @@ -321,15 +328,44 @@ SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") - (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; @end +@class OSUserState; + +SWIFT_CLASS("_TtC13OneSignalUser18OSUserChangedState") +@interface OSUserChangedState : NSObject +@property (nonatomic, readonly, strong) OSUserState * _Nonnull current; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end +SWIFT_CLASS("_TtC13OneSignalUser11OSUserState") +@interface OSUserState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL("_TtP13OneSignalUser19OSUserStateObserver_") +@protocol OSUserStateObserver +- (void)onUserStateDidChangeWithState:(OSUserChangedState * _Nonnull)state; +@end + + +@class OSPushSubscriptionImpl; + 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, readonly, copy) NSString * _Nullable language; +@property (nonatomic, readonly, strong) OSPushSubscriptionImpl * _Nonnull pushSubscriptionImpl; @property (nonatomic) BOOL requiresUserAuth; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @@ -344,6 +380,25 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +@end + + +SWIFT_CLASS("_TtCC13OneSignalUser24OneSignalUserManagerImpl22OSPushSubscriptionImpl") +@interface OSPushSubscriptionImpl : NSObject +- (void)addObserver:(id _Nonnull)observer; +- (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; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + @interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) - (void)setNotificationTypes:(int32_t)notificationTypes; - (void)setPushToken:(NSString * _Nonnull)pushToken; @@ -360,22 +415,14 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end -@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) -- (void)addObserver:(id _Nonnull)observer; -- (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; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; @@ -707,11 +754,18 @@ SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end +@protocol OSUserStateObserver; /// This is the user interface exposed to the public. SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") @protocol OSUser @property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +/// Add an observer to the user state, allowing the provider to be notified when the user state has changed. +/// Important: When using the observer to retrieve the onesignalId, check the externalId as well to confirm the values are associated with the expected user. +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; @@ -729,15 +783,44 @@ SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") - (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; @end +@class OSUserState; + +SWIFT_CLASS("_TtC13OneSignalUser18OSUserChangedState") +@interface OSUserChangedState : NSObject +@property (nonatomic, readonly, strong) OSUserState * _Nonnull current; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end +SWIFT_CLASS("_TtC13OneSignalUser11OSUserState") +@interface OSUserState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL("_TtP13OneSignalUser19OSUserStateObserver_") +@protocol OSUserStateObserver +- (void)onUserStateDidChangeWithState:(OSUserChangedState * _Nonnull)state; +@end + + +@class OSPushSubscriptionImpl; + 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, readonly, copy) NSString * _Nullable language; +@property (nonatomic, readonly, strong) OSPushSubscriptionImpl * _Nonnull pushSubscriptionImpl; @property (nonatomic) BOOL requiresUserAuth; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @@ -752,6 +835,25 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +@end + + +SWIFT_CLASS("_TtCC13OneSignalUser24OneSignalUserManagerImpl22OSPushSubscriptionImpl") +@interface OSPushSubscriptionImpl : NSObject +- (void)addObserver:(id _Nonnull)observer; +- (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; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + @interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) - (void)setNotificationTypes:(int32_t)notificationTypes; - (void)setPushToken:(NSString * _Nonnull)pushToken; @@ -768,22 +870,14 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end -@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) -- (void)addObserver:(id _Nonnull)observer; -- (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; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; 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 index d44dbca5d..49d2da8a7 100644 --- 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 @@ -105,6 +105,195 @@ } ] }, + { + "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(pl)OSUser(py)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvp", + "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)OSUser(im)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "externalId", + "printedName": "externalId", + "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)OSUser(py)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvp", + "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)OSUser(im)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addObserver:", + "mangledName": "$s13OneSignalUser6OSUserP11addObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeObserver:", + "mangledName": "$s13OneSignalUser6OSUserP14removeObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "addAlias", @@ -1040,8 +1229,8 @@ }, { "kind": "Var", - "name": "onesignalId", - "printedName": "onesignalId", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", "children": [ { "kind": "TypeNominal", @@ -1059,8 +1248,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1088,8 +1277,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1100,8 +1289,8 @@ }, { "kind": "Var", - "name": "pushSubscriptionId", - "printedName": "pushSubscriptionId", + "name": "language", + "printedName": "language", "children": [ { "kind": "TypeNominal", @@ -1119,8 +1308,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1148,8 +1337,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1160,32 +1349,28 @@ }, { "kind": "Var", - "name": "language", - "printedName": "language", + "name": "pushSubscriptionImpl", + "printedName": "pushSubscriptionImpl", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ + "Final", + "HasStorage", "AccessControl", "ObjC" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -1194,24 +1379,18 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvg", "moduleName": "OneSignalUser", + "implicit": true, "declAttributes": [ + "Final", "ObjC" ], "accessorKind": "get" @@ -1901,30 +2080,222 @@ ] }, { - "kind": "Function", - "name": "addAlias", - "printedName": "addAlias(label:id:)", + "kind": "Var", + "name": "externalId", + "printedName": "externalId", "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" + "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)addAliasWithLabel:id:", + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "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)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "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:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "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)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA011OSUserStateG0_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": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA011OSUserStateG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "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:", @@ -2388,101 +2759,70 @@ "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "addObserver", - "printedName": "addObserver(_:)", - "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)addObserver:", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA018OSPushSubscriptionG0_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", + "kind": "TypeDecl", + "name": "OSPushSubscriptionImpl", + "printedName": "OSPushSubscriptionImpl", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" } ], - "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": [ + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -2499,56 +2839,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", "moduleName": "OneSignalUser", "objc_name": "id", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "token", - "printedName": "token", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "token", + "printedName": "token", "children": [ { "kind": "TypeNominal", @@ -2565,48 +2901,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", "moduleName": "OneSignalUser", "objc_name": "token", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "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": [ + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", "children": [ { "kind": "TypeNominal", @@ -2615,68 +2955,184 @@ "usr": "s:Sb" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", "moduleName": "OneSignalUser", "objc_name": "optedIn", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "optIn", - "printedName": "optIn()", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" + } + ], + "declKind": "Constructor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" } ], - "declKind": "Func", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "declKind": "Class", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", "moduleName": "OneSignalUser", - "objc_name": "optIn", "declAttributes": [ - "Dynamic", - "ObjC", "AccessControl", - "RawDocComment" + "ObjC" ], "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "optOut", - "printedName": "optOut()", - "children": [ + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + }, + { + "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" } - ], - "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", @@ -2810,20 +3266,13 @@ "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", "moduleName": "OneSignalUser", "declAttributes": [ @@ -2832,20 +3281,50 @@ }, { "kind": "Import", - "name": "OneSignalOSCore", - "printedName": "OneSignalOSCore", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", "name": "OneSignalCore", "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" - }, - { - "kind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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", @@ -2895,6 +3374,16 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "OneSignalOSCore", @@ -2919,6 +3408,90 @@ "declKind": "Import", "moduleName": "OneSignalUser" }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2992,23 +3565,686 @@ "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", "moduleName": "OneSignalUser", - "genericSig": "<τ_0_0 : AnyObject>", - "sugared_genericSig": "", + "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": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "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": "OSPushSubscriptionChangedState", + "printedName": "OSPushSubscriptionChangedState", + "children": [ + { + "kind": "Var", + "name": "current", + "printedName": "current", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "previous", + "printedName": "previous", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "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)OSPushSubscriptionChangedState(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "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)OSPushSubscriptionChangedState(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionChangedState", + "printedName": "OneSignalUser.OSPushSubscriptionChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "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": [ - "AccessControl", - "ObjC", "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionState", - "printedName": "OSPushSubscriptionState", + "name": "OSUserState", + "printedName": "OSUserState", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "onesignalId", + "printedName": "onesignalId", "children": [ { "kind": "TypeNominal", @@ -3026,8 +4262,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3059,8 +4295,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3073,8 +4309,8 @@ }, { "kind": "Var", - "name": "token", - "printedName": "token", + "name": "externalId", + "printedName": "externalId", "children": [ { "kind": "TypeNominal", @@ -3092,8 +4328,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3125,58 +4361,8 @@ } ], "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", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3200,8 +4386,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3225,8 +4411,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3251,8 +4437,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser11OSUserStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3267,14 +4453,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)init", + "mangledName": "$s13OneSignalUser11OSUserStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3288,12 +4474,13 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState", + "mangledName": "$s13OneSignalUser11OSUserStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", - "ObjC" + "ObjC", + "RawDocComment" ], "superclassUsr": "c:objc(cs)NSObject", "hasMissingDesignatedInitializers": true, @@ -3354,8 +4541,8 @@ }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionChangedState", - "printedName": "OSPushSubscriptionChangedState", + "name": "OSUserChangedState", + "printedName": "OSUserChangedState", "children": [ { "kind": "Var", @@ -3364,64 +4551,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" - } - ], - "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", - "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)OSPushSubscriptionChangedState(im)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", - "moduleName": "OneSignalUser", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "previous", - "printedName": "previous", - "children": [ - { - "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3439,14 +4576,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3470,8 +4607,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3495,8 +4632,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3521,8 +4658,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3537,14 +4674,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionChangedState", - "printedName": "OneSignalUser.OSPushSubscriptionChangedState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)init", + "mangledName": "$s13OneSignalUser18OSUserChangedStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3558,8 +4695,8 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3623,13 +4760,51 @@ ] }, { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", + "kind": "TypeDecl", + "name": "OSUserStateObserver", + "printedName": "OSUserStateObserver", + "children": [ + { + "kind": "Function", + "name": "onUserStateDidChange", + "printedName": "onUserStateDidChange(state:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver(im)onUserStateDidChangeWithState:", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP02oncE9DidChange5stateyAA0d7ChangedE0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUserStateObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onUserStateDidChangeWithState:", + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP", "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", "declAttributes": [ - "RawDocComment" + "AccessControl", + "ObjC" ] }, { @@ -3637,32 +4812,11 @@ "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", @@ -3689,27 +4843,13 @@ }, { "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] } ], "json_format_version": 8 @@ -3718,38 +4858,87 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 4087, + "offset": 4525, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5109, + "offset": 5547, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5128, + "offset": 5566, "length": 4, "value": "true" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5211, + "offset": 5649, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 25059, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "StringLiteral", + "offset": 33030, + "length": 22, + "value": "\"OneSignalUser.OSPushSubscriptionImpl\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "BooleanLiteral", + "offset": 1330, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "BooleanLiteral", + "offset": 1336, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", "kind": "BooleanLiteral", - "offset": 24703, + "offset": 1580, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "StringLiteral", @@ -3774,31 +4963,45 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "Dictionary", - "offset": 2697, + "offset": 2689, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1438, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1570, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1416, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "StringLiteral", + "offset": 1330, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", "kind": "StringLiteral", @@ -3807,26 +5010,138 @@ "value": "\"OneSignalUser.OSUserInternalImpl\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1423, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1484, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", + "kind": "BooleanLiteral", + "offset": 9792, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "BooleanLiteral", + "offset": 1975, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "StringLiteral", + "offset": 1895, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1619, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1705, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Dictionary", + "offset": 1767, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "BooleanLiteral", + "offset": 22232, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "BooleanLiteral", + "offset": 1571, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "StringLiteral", + "offset": 1493, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "BooleanLiteral", + "offset": 1331, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1665, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "StringLiteral", + "offset": 1579, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1615, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", "kind": "BooleanLiteral", - "offset": 9816, + "offset": 1623, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", + "kind": "StringLiteral", + "offset": 1535, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", @@ -3949,42 +5264,42 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 6885, + "offset": 6881, "length": 10, "value": "\"deviceOs\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7098, + "offset": 7090, "length": 5, "value": "\"sdk\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7341, + "offset": 7329, "length": 13, "value": "\"deviceModel\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7634, + "offset": 7618, "length": 12, "value": "\"appVersion\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7458, + "offset": 7442, "length": 28, "value": "\"CFBundleShortVersionString\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7886, + "offset": 7866, "length": 9, "value": "\"netType\"" }, @@ -4010,221 +5325,67 @@ "value": "\"OneSignalUser.OSIdentityModel\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1486, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1689, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1752, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Dictionary", "offset": 1815, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1619, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1705, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Dictionary", - "offset": 1767, - "length": 3, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 27422, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 31693, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 31615, - "length": 19, - "value": "\"OneSignalUser.OSRequestCreateUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 35419, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 35324, - "length": 36, - "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 38704, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 38624, - "length": 21, - "value": "\"OneSignalUser.OSRequestIdentifyUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 42618, - "length": 5, - "value": "false" + "offset": 1243, + "length": 11, + "value": "\"OneSignalUser.OSUserState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 42541, + "offset": 1857, "length": 18, - "value": "\"OneSignalUser.OSRequestFetchUser\"" + "value": "\"OneSignalUser.OSUserChangedState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "BooleanLiteral", - "offset": 45201, + "offset": 1347, "length": 5, "value": "false" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "StringLiteral", - "offset": 45123, - "length": 19, - "value": "\"OneSignalUser.OSRequestAddAliases\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 47646, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 47567, - "length": 20, - "value": "\"OneSignalUser.OSRequestRemoveAlias\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 49858, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 49774, - "length": 25, - "value": "\"OneSignalUser.OSRequestUpdateProperties\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 54435, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 54349, - "length": 27, - "value": "\"OneSignalUser.OSRequestCreateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 57362, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 57274, - "length": 29, - "value": "\"OneSignalUser.OSRequestTransferSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 60213, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 60127, - "length": 27, - "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 63838, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 63752, - "length": 27, - "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + "offset": 1252, + "length": 36, + "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" } ] } \ 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 index c95aa5d53..1b1a82891 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index ee55bae68..477c11ff6 100644 Binary files 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 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 index c95aa5d53..1b1a82891 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index d44dbca5d..49d2da8a7 100644 --- 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 @@ -105,6 +105,195 @@ } ] }, + { + "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(pl)OSUser(py)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvp", + "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)OSUser(im)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "externalId", + "printedName": "externalId", + "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)OSUser(py)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvp", + "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)OSUser(im)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addObserver:", + "mangledName": "$s13OneSignalUser6OSUserP11addObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeObserver:", + "mangledName": "$s13OneSignalUser6OSUserP14removeObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "addAlias", @@ -1040,8 +1229,8 @@ }, { "kind": "Var", - "name": "onesignalId", - "printedName": "onesignalId", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", "children": [ { "kind": "TypeNominal", @@ -1059,8 +1248,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1088,8 +1277,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1100,8 +1289,8 @@ }, { "kind": "Var", - "name": "pushSubscriptionId", - "printedName": "pushSubscriptionId", + "name": "language", + "printedName": "language", "children": [ { "kind": "TypeNominal", @@ -1119,8 +1308,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1148,8 +1337,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1160,32 +1349,28 @@ }, { "kind": "Var", - "name": "language", - "printedName": "language", + "name": "pushSubscriptionImpl", + "printedName": "pushSubscriptionImpl", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ + "Final", + "HasStorage", "AccessControl", "ObjC" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -1194,24 +1379,18 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvg", "moduleName": "OneSignalUser", + "implicit": true, "declAttributes": [ + "Final", "ObjC" ], "accessorKind": "get" @@ -1901,30 +2080,222 @@ ] }, { - "kind": "Function", - "name": "addAlias", - "printedName": "addAlias(label:id:)", + "kind": "Var", + "name": "externalId", + "printedName": "externalId", "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" + "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)addAliasWithLabel:id:", + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "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)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "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:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "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)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA011OSUserStateG0_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": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA011OSUserStateG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "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:", @@ -2388,101 +2759,70 @@ "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "addObserver", - "printedName": "addObserver(_:)", - "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)addObserver:", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA018OSPushSubscriptionG0_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", + "kind": "TypeDecl", + "name": "OSPushSubscriptionImpl", + "printedName": "OSPushSubscriptionImpl", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" } ], - "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": [ + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -2499,56 +2839,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", "moduleName": "OneSignalUser", "objc_name": "id", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "token", - "printedName": "token", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "token", + "printedName": "token", "children": [ { "kind": "TypeNominal", @@ -2565,48 +2901,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", "moduleName": "OneSignalUser", "objc_name": "token", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "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": [ + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", "children": [ { "kind": "TypeNominal", @@ -2615,68 +2955,184 @@ "usr": "s:Sb" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", "moduleName": "OneSignalUser", "objc_name": "optedIn", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "optIn", - "printedName": "optIn()", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" + } + ], + "declKind": "Constructor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" } ], - "declKind": "Func", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "declKind": "Class", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", "moduleName": "OneSignalUser", - "objc_name": "optIn", "declAttributes": [ - "Dynamic", - "ObjC", "AccessControl", - "RawDocComment" + "ObjC" ], "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "optOut", - "printedName": "optOut()", - "children": [ + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + }, + { + "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" } - ], - "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", @@ -2810,20 +3266,13 @@ "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", "moduleName": "OneSignalUser", "declAttributes": [ @@ -2832,20 +3281,50 @@ }, { "kind": "Import", - "name": "OneSignalOSCore", - "printedName": "OneSignalOSCore", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", "name": "OneSignalCore", "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" - }, - { - "kind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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", @@ -2895,6 +3374,16 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "OneSignalOSCore", @@ -2919,6 +3408,90 @@ "declKind": "Import", "moduleName": "OneSignalUser" }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2992,23 +3565,686 @@ "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", "moduleName": "OneSignalUser", - "genericSig": "<τ_0_0 : AnyObject>", - "sugared_genericSig": "", + "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": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "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": "OSPushSubscriptionChangedState", + "printedName": "OSPushSubscriptionChangedState", + "children": [ + { + "kind": "Var", + "name": "current", + "printedName": "current", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "previous", + "printedName": "previous", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "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)OSPushSubscriptionChangedState(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "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)OSPushSubscriptionChangedState(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionChangedState", + "printedName": "OneSignalUser.OSPushSubscriptionChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "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": [ - "AccessControl", - "ObjC", "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionState", - "printedName": "OSPushSubscriptionState", + "name": "OSUserState", + "printedName": "OSUserState", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "onesignalId", + "printedName": "onesignalId", "children": [ { "kind": "TypeNominal", @@ -3026,8 +4262,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3059,8 +4295,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3073,8 +4309,8 @@ }, { "kind": "Var", - "name": "token", - "printedName": "token", + "name": "externalId", + "printedName": "externalId", "children": [ { "kind": "TypeNominal", @@ -3092,8 +4328,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3125,58 +4361,8 @@ } ], "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", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3200,8 +4386,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3225,8 +4411,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3251,8 +4437,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser11OSUserStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3267,14 +4453,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)init", + "mangledName": "$s13OneSignalUser11OSUserStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3288,12 +4474,13 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState", + "mangledName": "$s13OneSignalUser11OSUserStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", - "ObjC" + "ObjC", + "RawDocComment" ], "superclassUsr": "c:objc(cs)NSObject", "hasMissingDesignatedInitializers": true, @@ -3354,8 +4541,8 @@ }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionChangedState", - "printedName": "OSPushSubscriptionChangedState", + "name": "OSUserChangedState", + "printedName": "OSUserChangedState", "children": [ { "kind": "Var", @@ -3364,64 +4551,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" - } - ], - "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", - "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)OSPushSubscriptionChangedState(im)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", - "moduleName": "OneSignalUser", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "previous", - "printedName": "previous", - "children": [ - { - "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3439,14 +4576,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3470,8 +4607,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3495,8 +4632,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3521,8 +4658,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3537,14 +4674,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionChangedState", - "printedName": "OneSignalUser.OSPushSubscriptionChangedState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)init", + "mangledName": "$s13OneSignalUser18OSUserChangedStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3558,8 +4695,8 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3623,13 +4760,51 @@ ] }, { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", + "kind": "TypeDecl", + "name": "OSUserStateObserver", + "printedName": "OSUserStateObserver", + "children": [ + { + "kind": "Function", + "name": "onUserStateDidChange", + "printedName": "onUserStateDidChange(state:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver(im)onUserStateDidChangeWithState:", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP02oncE9DidChange5stateyAA0d7ChangedE0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUserStateObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onUserStateDidChangeWithState:", + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP", "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", "declAttributes": [ - "RawDocComment" + "AccessControl", + "ObjC" ] }, { @@ -3637,32 +4812,11 @@ "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", @@ -3689,27 +4843,13 @@ }, { "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] } ], "json_format_version": 8 @@ -3718,38 +4858,87 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 4087, + "offset": 4525, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5109, + "offset": 5547, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5128, + "offset": 5566, "length": 4, "value": "true" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5211, + "offset": 5649, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 25059, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "StringLiteral", + "offset": 33030, + "length": 22, + "value": "\"OneSignalUser.OSPushSubscriptionImpl\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "BooleanLiteral", + "offset": 1330, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "BooleanLiteral", + "offset": 1336, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", "kind": "BooleanLiteral", - "offset": 24703, + "offset": 1580, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "StringLiteral", @@ -3774,31 +4963,45 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "Dictionary", - "offset": 2697, + "offset": 2689, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1438, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1570, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1416, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "StringLiteral", + "offset": 1330, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", "kind": "StringLiteral", @@ -3807,26 +5010,138 @@ "value": "\"OneSignalUser.OSUserInternalImpl\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1423, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1484, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", + "kind": "BooleanLiteral", + "offset": 9792, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "BooleanLiteral", + "offset": 1975, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "StringLiteral", + "offset": 1895, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1619, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1705, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Dictionary", + "offset": 1767, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "BooleanLiteral", + "offset": 22232, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "BooleanLiteral", + "offset": 1571, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "StringLiteral", + "offset": 1493, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "BooleanLiteral", + "offset": 1331, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1665, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "StringLiteral", + "offset": 1579, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1615, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", "kind": "BooleanLiteral", - "offset": 9816, + "offset": 1623, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", + "kind": "StringLiteral", + "offset": 1535, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", @@ -3949,42 +5264,42 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 6885, + "offset": 6881, "length": 10, "value": "\"deviceOs\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7098, + "offset": 7090, "length": 5, "value": "\"sdk\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7341, + "offset": 7329, "length": 13, "value": "\"deviceModel\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7634, + "offset": 7618, "length": 12, "value": "\"appVersion\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7458, + "offset": 7442, "length": 28, "value": "\"CFBundleShortVersionString\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7886, + "offset": 7866, "length": 9, "value": "\"netType\"" }, @@ -4010,221 +5325,67 @@ "value": "\"OneSignalUser.OSIdentityModel\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1486, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1689, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1752, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Dictionary", "offset": 1815, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1619, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1705, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Dictionary", - "offset": 1767, - "length": 3, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 27422, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 31693, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 31615, - "length": 19, - "value": "\"OneSignalUser.OSRequestCreateUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 35419, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 35324, - "length": 36, - "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 38704, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 38624, - "length": 21, - "value": "\"OneSignalUser.OSRequestIdentifyUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 42618, - "length": 5, - "value": "false" + "offset": 1243, + "length": 11, + "value": "\"OneSignalUser.OSUserState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 42541, + "offset": 1857, "length": 18, - "value": "\"OneSignalUser.OSRequestFetchUser\"" + "value": "\"OneSignalUser.OSUserChangedState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "BooleanLiteral", - "offset": 45201, + "offset": 1347, "length": 5, "value": "false" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "StringLiteral", - "offset": 45123, - "length": 19, - "value": "\"OneSignalUser.OSRequestAddAliases\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 47646, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 47567, - "length": 20, - "value": "\"OneSignalUser.OSRequestRemoveAlias\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 49858, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 49774, - "length": 25, - "value": "\"OneSignalUser.OSRequestUpdateProperties\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 54435, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 54349, - "length": 27, - "value": "\"OneSignalUser.OSRequestCreateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 57362, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 57274, - "length": 29, - "value": "\"OneSignalUser.OSRequestTransferSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 60213, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 60127, - "length": 27, - "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 63838, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 63752, - "length": 27, - "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + "offset": 1252, + "length": 36, + "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" } ] } \ 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 index 2767957c8..4c029acc7 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index 7482cdac3..f69f7132b 100644 Binary files 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 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 index 2767957c8..4c029acc7 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index 1667bdf1a..932e67d0f 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalUser.framework/Versions/A/OneSignalUser 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 index 3b4899d6f..9ce978ffe 100644 --- 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 @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23B81 + 23C71 CFBundleDevelopmentRegion English CFBundleExecutable 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 index 9c4dc8f5d..e28668742 100644 --- 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 @@ -6,7 +6,7 @@ Resources/Info.plist - KD98cBJpstaNjt3YZrmeLD+uAuw= + a/7TJvZsPYLip+7/DcoaGvZqHWc= files2 @@ -15,7 +15,7 @@ hash2 - 68wKSbFxnNL4vN4k0M5MVBwSPvRaehWfr+t+/MNY39c= + emZOt4hdGmSLlmekWfkGHIlnN7TBpZdFTVSOgpb8lfs= Headers/OneSignalUser.h @@ -29,70 +29,70 @@ hash2 - BbITzwlIgTW3TVhjBq2fhGYKfKAdj/8lrLIqmGmLi/w= + kWfIh6gGFTGwHjSnMmL2vQrO0N5aRwirq6kyALSWSik= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface hash2 - xmIBH358uAfRbT39Y2jQdZwkuQMZNDAql2ReQVY0+GA= + bKr2pVKyBCb40RO6R31mbhe1f287tuiT341peSwjRm0= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftdoc hash2 - cGL8DixfPNLYi6EeFsGXC1AUjUnz+MvL2JWyqYI17f4= + H/NxxFNI8hU32vTv1Y04WiQCuNNPMjVicJ4HsOpvoiw= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftinterface hash2 - xmIBH358uAfRbT39Y2jQdZwkuQMZNDAql2ReQVY0+GA= + bKr2pVKyBCb40RO6R31mbhe1f287tuiT341peSwjRm0= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-macabi.swiftmodule hash2 - tBrVTz6E2tMBtidHc91I5Gfw7b+bYXmVKSBrQGKiBq8= + KmR5QyOAJugWf7t2yB42oVkUILvsEKgqlGzm8+20PFU= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.abi.json hash2 - BbITzwlIgTW3TVhjBq2fhGYKfKAdj/8lrLIqmGmLi/w= + kWfIh6gGFTGwHjSnMmL2vQrO0N5aRwirq6kyALSWSik= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface hash2 - h3bMRWFblmh+wGLShuF4vz/Ypiusf4sjrs9QilDIvoo= + GdmgIPQMKtZFvrUmFqQ8ZXHIjpYo6CR5+w3HiGPjPa0= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftdoc hash2 - WdQY5w2BVYkgPB8q6VfSe4n8Z/D2KZixKgP3u3xr3PU= + jEuUiRV6sdsNsCeKz0X7BdDdP4HLdpFzDADNgxuzpY4= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftinterface hash2 - h3bMRWFblmh+wGLShuF4vz/Ypiusf4sjrs9QilDIvoo= + GdmgIPQMKtZFvrUmFqQ8ZXHIjpYo6CR5+w3HiGPjPa0= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-macabi.swiftmodule hash2 - 001lgMrmuDM0G6L7OSqm/eeMAwz8KtrVA9uWltvU4gg= + cV7DorrLRI+569obk6EEVMRBTdJOJt6kMSYi8yktlFk= Modules/module.modulemap @@ -106,7 +106,7 @@ hash2 - tbL6Am6hQyyIcW2EkYajGZSH+TYyxGhyh7G70CN1x5c= + EvXkBeNW1jYu99F1dOgZHmd14jX81g89rM7ASgJRJS8= 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 index 02852dc4a..b9ffd0582 100644 --- 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 @@ -299,11 +299,18 @@ SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end +@protocol OSUserStateObserver; /// This is the user interface exposed to the public. SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") @protocol OSUser @property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +/// Add an observer to the user state, allowing the provider to be notified when the user state has changed. +/// Important: When using the observer to retrieve the onesignalId, check the externalId as well to confirm the values are associated with the expected user. +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; @@ -321,15 +328,44 @@ SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") - (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; @end +@class OSUserState; + +SWIFT_CLASS("_TtC13OneSignalUser18OSUserChangedState") +@interface OSUserChangedState : NSObject +@property (nonatomic, readonly, strong) OSUserState * _Nonnull current; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end +SWIFT_CLASS("_TtC13OneSignalUser11OSUserState") +@interface OSUserState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL("_TtP13OneSignalUser19OSUserStateObserver_") +@protocol OSUserStateObserver +- (void)onUserStateDidChangeWithState:(OSUserChangedState * _Nonnull)state; +@end + + +@class OSPushSubscriptionImpl; + 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, readonly, copy) NSString * _Nullable language; +@property (nonatomic, readonly, strong) OSPushSubscriptionImpl * _Nonnull pushSubscriptionImpl; @property (nonatomic) BOOL requiresUserAuth; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @@ -344,6 +380,25 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +@end + + +SWIFT_CLASS("_TtCC13OneSignalUser24OneSignalUserManagerImpl22OSPushSubscriptionImpl") +@interface OSPushSubscriptionImpl : NSObject +- (void)addObserver:(id _Nonnull)observer; +- (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; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + @interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) - (void)setNotificationTypes:(int32_t)notificationTypes; - (void)setPushToken:(NSString * _Nonnull)pushToken; @@ -360,22 +415,14 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end -@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) -- (void)addObserver:(id _Nonnull)observer; -- (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; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; @@ -707,11 +754,18 @@ SWIFT_CLASS("_TtC13OneSignalUser23OSPushSubscriptionState") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end +@protocol OSUserStateObserver; /// This is the user interface exposed to the public. SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") @protocol OSUser @property (nonatomic, readonly, strong) id _Nonnull pushSubscription; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +/// Add an observer to the user state, allowing the provider to be notified when the user state has changed. +/// Important: When using the observer to retrieve the onesignalId, check the externalId as well to confirm the values are associated with the expected user. +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; @@ -729,15 +783,44 @@ SWIFT_PROTOCOL("_TtP13OneSignalUser6OSUser_") - (void)onJwtExpiredWithExpiredHandler:(void (^ _Nonnull)(NSString * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSString * _Nonnull)))expiredHandler; @end +@class OSUserState; + +SWIFT_CLASS("_TtC13OneSignalUser18OSUserChangedState") +@interface OSUserChangedState : NSObject +@property (nonatomic, readonly, strong) OSUserState * _Nonnull current; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end +SWIFT_CLASS("_TtC13OneSignalUser11OSUserState") +@interface OSUserState : NSObject +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (NSDictionary * _Nonnull)jsonRepresentation SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL("_TtP13OneSignalUser19OSUserStateObserver_") +@protocol OSUserStateObserver +- (void)onUserStateDidChangeWithState:(OSUserChangedState * _Nonnull)state; +@end + + +@class OSPushSubscriptionImpl; + 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, readonly, copy) NSString * _Nullable language; +@property (nonatomic, readonly, strong) OSPushSubscriptionImpl * _Nonnull pushSubscriptionImpl; @property (nonatomic) BOOL requiresUserAuth; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @@ -752,6 +835,25 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end +@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) +@end + + +SWIFT_CLASS("_TtCC13OneSignalUser24OneSignalUserManagerImpl22OSPushSubscriptionImpl") +@interface OSPushSubscriptionImpl : NSObject +- (void)addObserver:(id _Nonnull)observer; +- (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; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + @interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) - (void)setNotificationTypes:(int32_t)notificationTypes; - (void)setPushToken:(NSString * _Nonnull)pushToken; @@ -768,22 +870,14 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OneSignalUse @end -@interface OneSignalUserManagerImpl (SWIFT_EXTENSION(OneSignalUser)) -- (void)addObserver:(id _Nonnull)observer; -- (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; +@property (nonatomic, readonly, copy) NSString * _Nullable externalId; +@property (nonatomic, readonly, copy) NSString * _Nullable onesignalId; +- (void)addObserver:(id _Nonnull)observer; +- (void)removeObserver:(id _Nonnull)observer; - (void)addAliasWithLabel:(NSString * _Nonnull)label id:(NSString * _Nonnull)id; - (void)addAliases:(NSDictionary * _Nonnull)aliases; - (void)removeAlias:(NSString * _Nonnull)label; 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 index df7acb2b2..70b1481cd 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Info.plist 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 index d44dbca5d..49d2da8a7 100644 --- 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 @@ -105,6 +105,195 @@ } ] }, + { + "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(pl)OSUser(py)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvp", + "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)OSUser(im)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "externalId", + "printedName": "externalId", + "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)OSUser(py)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvp", + "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)OSUser(im)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addObserver:", + "mangledName": "$s13OneSignalUser6OSUserP11addObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeObserver:", + "mangledName": "$s13OneSignalUser6OSUserP14removeObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "addAlias", @@ -1040,8 +1229,8 @@ }, { "kind": "Var", - "name": "onesignalId", - "printedName": "onesignalId", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", "children": [ { "kind": "TypeNominal", @@ -1059,8 +1248,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1088,8 +1277,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1100,8 +1289,8 @@ }, { "kind": "Var", - "name": "pushSubscriptionId", - "printedName": "pushSubscriptionId", + "name": "language", + "printedName": "language", "children": [ { "kind": "TypeNominal", @@ -1119,8 +1308,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1148,8 +1337,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1160,32 +1349,28 @@ }, { "kind": "Var", - "name": "language", - "printedName": "language", + "name": "pushSubscriptionImpl", + "printedName": "pushSubscriptionImpl", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ + "Final", + "HasStorage", "AccessControl", "ObjC" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -1194,24 +1379,18 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvg", "moduleName": "OneSignalUser", + "implicit": true, "declAttributes": [ + "Final", "ObjC" ], "accessorKind": "get" @@ -1901,30 +2080,222 @@ ] }, { - "kind": "Function", - "name": "addAlias", - "printedName": "addAlias(label:id:)", + "kind": "Var", + "name": "externalId", + "printedName": "externalId", "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" + "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)addAliasWithLabel:id:", + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "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)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "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:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "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)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA011OSUserStateG0_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": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA011OSUserStateG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "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:", @@ -2388,101 +2759,70 @@ "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "addObserver", - "printedName": "addObserver(_:)", - "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)addObserver:", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA018OSPushSubscriptionG0_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", + "kind": "TypeDecl", + "name": "OSPushSubscriptionImpl", + "printedName": "OSPushSubscriptionImpl", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" } ], - "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": [ + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -2499,56 +2839,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", "moduleName": "OneSignalUser", "objc_name": "id", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "token", - "printedName": "token", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "token", + "printedName": "token", "children": [ { "kind": "TypeNominal", @@ -2565,48 +2901,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", "moduleName": "OneSignalUser", "objc_name": "token", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "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": [ + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", "children": [ { "kind": "TypeNominal", @@ -2615,68 +2955,184 @@ "usr": "s:Sb" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", "moduleName": "OneSignalUser", "objc_name": "optedIn", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "optIn", - "printedName": "optIn()", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" + } + ], + "declKind": "Constructor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" } ], - "declKind": "Func", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "declKind": "Class", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", "moduleName": "OneSignalUser", - "objc_name": "optIn", "declAttributes": [ - "Dynamic", - "ObjC", "AccessControl", - "RawDocComment" + "ObjC" ], "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "optOut", - "printedName": "optOut()", - "children": [ + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + }, + { + "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" } - ], - "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", @@ -2810,20 +3266,13 @@ "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", "moduleName": "OneSignalUser", "declAttributes": [ @@ -2832,20 +3281,50 @@ }, { "kind": "Import", - "name": "OneSignalOSCore", - "printedName": "OneSignalOSCore", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", "name": "OneSignalCore", "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" - }, - { - "kind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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", @@ -2895,6 +3374,16 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "OneSignalOSCore", @@ -2919,6 +3408,90 @@ "declKind": "Import", "moduleName": "OneSignalUser" }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2992,23 +3565,686 @@ "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", "moduleName": "OneSignalUser", - "genericSig": "<τ_0_0 : AnyObject>", - "sugared_genericSig": "", + "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": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "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": "OSPushSubscriptionChangedState", + "printedName": "OSPushSubscriptionChangedState", + "children": [ + { + "kind": "Var", + "name": "current", + "printedName": "current", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "previous", + "printedName": "previous", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "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)OSPushSubscriptionChangedState(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "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)OSPushSubscriptionChangedState(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionChangedState", + "printedName": "OneSignalUser.OSPushSubscriptionChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "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": [ - "AccessControl", - "ObjC", "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionState", - "printedName": "OSPushSubscriptionState", + "name": "OSUserState", + "printedName": "OSUserState", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "onesignalId", + "printedName": "onesignalId", "children": [ { "kind": "TypeNominal", @@ -3026,8 +4262,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3059,8 +4295,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3073,8 +4309,8 @@ }, { "kind": "Var", - "name": "token", - "printedName": "token", + "name": "externalId", + "printedName": "externalId", "children": [ { "kind": "TypeNominal", @@ -3092,8 +4328,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3125,58 +4361,8 @@ } ], "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", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3200,8 +4386,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3225,8 +4411,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3251,8 +4437,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser11OSUserStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3267,14 +4453,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)init", + "mangledName": "$s13OneSignalUser11OSUserStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3288,12 +4474,13 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState", + "mangledName": "$s13OneSignalUser11OSUserStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", - "ObjC" + "ObjC", + "RawDocComment" ], "superclassUsr": "c:objc(cs)NSObject", "hasMissingDesignatedInitializers": true, @@ -3354,8 +4541,8 @@ }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionChangedState", - "printedName": "OSPushSubscriptionChangedState", + "name": "OSUserChangedState", + "printedName": "OSUserChangedState", "children": [ { "kind": "Var", @@ -3364,64 +4551,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" - } - ], - "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", - "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)OSPushSubscriptionChangedState(im)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", - "moduleName": "OneSignalUser", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "previous", - "printedName": "previous", - "children": [ - { - "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3439,14 +4576,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3470,8 +4607,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3495,8 +4632,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3521,8 +4658,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3537,14 +4674,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionChangedState", - "printedName": "OneSignalUser.OSPushSubscriptionChangedState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)init", + "mangledName": "$s13OneSignalUser18OSUserChangedStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3558,8 +4695,8 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3623,13 +4760,51 @@ ] }, { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", + "kind": "TypeDecl", + "name": "OSUserStateObserver", + "printedName": "OSUserStateObserver", + "children": [ + { + "kind": "Function", + "name": "onUserStateDidChange", + "printedName": "onUserStateDidChange(state:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver(im)onUserStateDidChangeWithState:", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP02oncE9DidChange5stateyAA0d7ChangedE0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUserStateObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onUserStateDidChangeWithState:", + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP", "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", "declAttributes": [ - "RawDocComment" + "AccessControl", + "ObjC" ] }, { @@ -3637,32 +4812,11 @@ "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", @@ -3689,27 +4843,13 @@ }, { "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] } ], "json_format_version": 8 @@ -3718,38 +4858,87 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 4087, + "offset": 4525, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5109, + "offset": 5547, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5128, + "offset": 5566, "length": 4, "value": "true" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5211, + "offset": 5649, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 25059, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "StringLiteral", + "offset": 33030, + "length": 22, + "value": "\"OneSignalUser.OSPushSubscriptionImpl\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "BooleanLiteral", + "offset": 1330, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "BooleanLiteral", + "offset": 1336, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", "kind": "BooleanLiteral", - "offset": 24703, + "offset": 1580, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "StringLiteral", @@ -3774,31 +4963,45 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "Dictionary", - "offset": 2697, + "offset": 2689, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1438, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1570, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1416, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "StringLiteral", + "offset": 1330, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", "kind": "StringLiteral", @@ -3807,26 +5010,138 @@ "value": "\"OneSignalUser.OSUserInternalImpl\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1423, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1484, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", + "kind": "BooleanLiteral", + "offset": 9792, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "BooleanLiteral", + "offset": 1975, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "StringLiteral", + "offset": 1895, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1619, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1705, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Dictionary", + "offset": 1767, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "BooleanLiteral", + "offset": 22232, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "BooleanLiteral", + "offset": 1571, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "StringLiteral", + "offset": 1493, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "BooleanLiteral", + "offset": 1331, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1665, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "StringLiteral", + "offset": 1579, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1615, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", "kind": "BooleanLiteral", - "offset": 9816, + "offset": 1623, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", + "kind": "StringLiteral", + "offset": 1535, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", @@ -3949,42 +5264,42 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 6885, + "offset": 6881, "length": 10, "value": "\"deviceOs\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7098, + "offset": 7090, "length": 5, "value": "\"sdk\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7341, + "offset": 7329, "length": 13, "value": "\"deviceModel\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7634, + "offset": 7618, "length": 12, "value": "\"appVersion\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7458, + "offset": 7442, "length": 28, "value": "\"CFBundleShortVersionString\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7886, + "offset": 7866, "length": 9, "value": "\"netType\"" }, @@ -4010,221 +5325,67 @@ "value": "\"OneSignalUser.OSIdentityModel\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1486, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1689, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1752, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Dictionary", "offset": 1815, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1619, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1705, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Dictionary", - "offset": 1767, - "length": 3, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 27422, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 31693, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 31615, - "length": 19, - "value": "\"OneSignalUser.OSRequestCreateUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 35419, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 35324, - "length": 36, - "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 38704, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 38624, - "length": 21, - "value": "\"OneSignalUser.OSRequestIdentifyUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 42618, - "length": 5, - "value": "false" + "offset": 1243, + "length": 11, + "value": "\"OneSignalUser.OSUserState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 42541, + "offset": 1857, "length": 18, - "value": "\"OneSignalUser.OSRequestFetchUser\"" + "value": "\"OneSignalUser.OSUserChangedState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "BooleanLiteral", - "offset": 45201, + "offset": 1347, "length": 5, "value": "false" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "StringLiteral", - "offset": 45123, - "length": 19, - "value": "\"OneSignalUser.OSRequestAddAliases\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 47646, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 47567, - "length": 20, - "value": "\"OneSignalUser.OSRequestRemoveAlias\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 49858, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 49774, - "length": 25, - "value": "\"OneSignalUser.OSRequestUpdateProperties\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 54435, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 54349, - "length": 27, - "value": "\"OneSignalUser.OSRequestCreateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 57362, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 57274, - "length": 29, - "value": "\"OneSignalUser.OSRequestTransferSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 60213, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 60127, - "length": 27, - "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 63838, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 63752, - "length": 27, - "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + "offset": 1252, + "length": 36, + "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" } ] } \ 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 index deaaac212..6d5bdedf6 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index a3af37908..b9918cedd 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc 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 index deaaac212..6d5bdedf6 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index d44dbca5d..49d2da8a7 100644 --- 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 @@ -105,6 +105,195 @@ } ] }, + { + "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(pl)OSUser(py)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvp", + "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)OSUser(im)onesignalId", + "mangledName": "$s13OneSignalUser6OSUserP11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "externalId", + "printedName": "externalId", + "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)OSUser(py)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvp", + "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)OSUser(im)externalId", + "mangledName": "$s13OneSignalUser6OSUserP10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)addObserver:", + "mangledName": "$s13OneSignalUser6OSUserP11addObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment", + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "removeObserver", + "printedName": "removeObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUser(im)removeObserver:", + "mangledName": "$s13OneSignalUser6OSUserP14removeObserveryyAA0d5StateF0_pF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUser>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "addAlias", @@ -1040,8 +1229,8 @@ }, { "kind": "Var", - "name": "onesignalId", - "printedName": "onesignalId", + "name": "pushSubscriptionId", + "printedName": "pushSubscriptionId", "children": [ { "kind": "TypeNominal", @@ -1059,8 +1248,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1088,8 +1277,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)onesignalId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1100,8 +1289,8 @@ }, { "kind": "Var", - "name": "pushSubscriptionId", - "printedName": "pushSubscriptionId", + "name": "language", + "printedName": "language", "children": [ { "kind": "TypeNominal", @@ -1119,8 +1308,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -1148,8 +1337,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionId", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC18pushSubscriptionIdSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", "moduleName": "OneSignalUser", "declAttributes": [ "ObjC" @@ -1160,32 +1349,28 @@ }, { "kind": "Var", - "name": "language", - "printedName": "language", + "name": "pushSubscriptionImpl", + "printedName": "pushSubscriptionImpl", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ + "Final", + "HasStorage", "AccessControl", "ObjC" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -1194,24 +1379,18 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)language", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC8languageSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)pushSubscriptionImpl", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC016pushSubscriptionE0AC06OSPushgE0Cvg", "moduleName": "OneSignalUser", + "implicit": true, "declAttributes": [ + "Final", "ObjC" ], "accessorKind": "get" @@ -1901,30 +2080,222 @@ ] }, { - "kind": "Function", - "name": "addAlias", - "printedName": "addAlias(label:id:)", + "kind": "Var", + "name": "externalId", + "printedName": "externalId", "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" + "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)addAliasWithLabel:id:", + "declKind": "Var", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "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)externalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC10externalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "externalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "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:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(py)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvp", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "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)onesignalId", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11onesignalIdSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "onesignalId", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)addObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA011OSUserStateG0_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": "OSUserStateObserver", + "printedName": "OneSignalUser.OSUserStateObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver" + } + ], + "declKind": "Func", + "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)removeObserver:", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC14removeObserveryyAA011OSUserStateG0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "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:", @@ -2388,101 +2759,70 @@ "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "addObserver", - "printedName": "addObserver(_:)", - "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)addObserver:", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC11addObserveryyAA018OSPushSubscriptionG0_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", + "kind": "TypeDecl", + "name": "OSPushSubscriptionImpl", + "printedName": "OSPushSubscriptionImpl", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "addObserver", + "printedName": "addObserver(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionObserver", + "printedName": "OneSignalUser.OSPushSubscriptionObserver", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver" } ], - "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": [ + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C11addObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "addObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C14removeObserveryyAA0fgI0_pF", + "moduleName": "OneSignalUser", + "objc_name": "removeObserver:", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -2499,56 +2839,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)id", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC2idSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvp", "moduleName": "OneSignalUser", "objc_name": "id", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "token", - "printedName": "token", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C2idSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "id", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "token", + "printedName": "token", "children": [ { "kind": "TypeNominal", @@ -2565,48 +2901,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)token", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5tokenSSSgvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvp", "moduleName": "OneSignalUser", "objc_name": "token", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "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": [ + "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": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5tokenSSSgvg", + "moduleName": "OneSignalUser", + "objc_name": "token", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "optedIn", + "printedName": "optedIn", "children": [ { "kind": "TypeNominal", @@ -2615,68 +2955,184 @@ "usr": "s:Sb" } ], - "declKind": "Accessor", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optedIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC7optedInSbvg", + "declKind": "Var", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvp", "moduleName": "OneSignalUser", "objc_name": "optedIn", "declAttributes": [ - "Dynamic", - "ObjC" + "ObjC", + "AccessControl" ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "optIn", - "printedName": "optIn()", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C7optedInSbvg", + "moduleName": "OneSignalUser", + "objc_name": "optedIn", + "declAttributes": [ + "ObjC" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Function", + "name": "optIn", + "printedName": "optIn()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C5optInyyF", + "moduleName": "OneSignalUser", + "objc_name": "optIn", + "declAttributes": [ + "ObjC", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "optOut", + "printedName": "optOut()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C6optOutyyF", + "moduleName": "OneSignalUser", + "objc_name": "optOut", + "declAttributes": [ + "ObjC", + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionImpl", + "printedName": "OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C" + } + ], + "declKind": "Constructor", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0CAEycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" } ], - "declKind": "Func", - "usr": "c:@CM@OneSignalUser@objc(cs)OneSignalUserManagerImpl(im)optIn", - "mangledName": "$s13OneSignalUser0abC11ManagerImplC5optInyyF", + "declKind": "Class", + "usr": "s:13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", + "mangledName": "$s13OneSignalUser0abC11ManagerImplC018OSPushSubscriptionE0C", "moduleName": "OneSignalUser", - "objc_name": "optIn", "declAttributes": [ - "Dynamic", - "ObjC", "AccessControl", - "RawDocComment" + "ObjC" ], "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "optOut", - "printedName": "optOut()", - "children": [ + "superclassUsr": "c:objc(cs)NSObject", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "OSPushSubscription", + "printedName": "OSPushSubscription", + "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscription", + "mangledName": "$s13OneSignalUser18OSPushSubscriptionP" + }, + { + "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" } - ], - "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", @@ -2810,20 +3266,13 @@ "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", "moduleName": "OneSignalUser", "declAttributes": [ @@ -2832,20 +3281,50 @@ }, { "kind": "Import", - "name": "OneSignalOSCore", - "printedName": "OneSignalOSCore", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", "name": "OneSignalCore", "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" - }, - { - "kind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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", @@ -2895,6 +3374,16 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "OneSignalOSCore", @@ -2919,6 +3408,90 @@ "declKind": "Import", "moduleName": "OneSignalUser" }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "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" + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2992,23 +3565,686 @@ "usr": "c:@M@OneSignalUser@objc(pl)OSPushSubscriptionObserver", "mangledName": "$s13OneSignalUser26OSPushSubscriptionObserverP", "moduleName": "OneSignalUser", - "genericSig": "<τ_0_0 : AnyObject>", - "sugared_genericSig": "", + "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": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "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": "OSPushSubscriptionChangedState", + "printedName": "OSPushSubscriptionChangedState", + "children": [ + { + "kind": "Var", + "name": "current", + "printedName": "current", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)current", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", + "moduleName": "OneSignalUser", + "implicit": true, + "declAttributes": [ + "Final", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "previous", + "printedName": "previous", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionState", + "printedName": "OneSignalUser.OSPushSubscriptionState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + } + ], + "declKind": "Var", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "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)OSPushSubscriptionChangedState(im)previous", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "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)OSPushSubscriptionChangedState(py)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "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)OSPushSubscriptionChangedState(im)description", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "moduleName": "OneSignalUser", + "overriding": true, + "objc_name": "description", + "declAttributes": [ + "Dynamic", + "ObjC" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "jsonRepresentation", + "printedName": "jsonRepresentation()", + "children": [ + { + "kind": "TypeNominal", + "name": "NSDictionary", + "printedName": "Foundation.NSDictionary", + "usr": "c:objc(cs)NSDictionary" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "moduleName": "OneSignalUser", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSPushSubscriptionChangedState", + "printedName": "OneSignalUser.OSPushSubscriptionChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + } + ], + "declKind": "Constructor", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "moduleName": "OneSignalUser", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + } + ], + "declKind": "Class", + "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", + "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "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": [ - "AccessControl", - "ObjC", "RawDocComment" ] }, + { + "kind": "Import", + "name": "OneSignalCore", + "printedName": "OneSignalCore", + "declKind": "Import", + "moduleName": "OneSignalUser" + }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionState", - "printedName": "OSPushSubscriptionState", + "name": "OSUserState", + "printedName": "OSUserState", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "onesignalId", + "printedName": "onesignalId", "children": [ { "kind": "TypeNominal", @@ -3026,8 +4262,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3059,8 +4295,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)id", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC2idSSSgvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)onesignalId", + "mangledName": "$s13OneSignalUser11OSUserStateC11onesignalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3073,8 +4309,8 @@ }, { "kind": "Var", - "name": "token", - "printedName": "token", + "name": "externalId", + "printedName": "externalId", "children": [ { "kind": "TypeNominal", @@ -3092,8 +4328,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)token", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC5tokenSSSgvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3125,58 +4361,8 @@ } ], "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", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)externalId", + "mangledName": "$s13OneSignalUser11OSUserStateC10externalIdSSSgvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3200,8 +4386,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(py)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(py)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3225,8 +4411,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)description", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)description", + "mangledName": "$s13OneSignalUser11OSUserStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3251,8 +4437,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser11OSUserStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3267,14 +4453,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState(im)init", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState(im)init", + "mangledName": "$s13OneSignalUser11OSUserStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3288,12 +4474,13 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState", - "mangledName": "$s13OneSignalUser23OSPushSubscriptionStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState", + "mangledName": "$s13OneSignalUser11OSUserStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", - "ObjC" + "ObjC", + "RawDocComment" ], "superclassUsr": "c:objc(cs)NSObject", "hasMissingDesignatedInitializers": true, @@ -3354,8 +4541,8 @@ }, { "kind": "TypeDecl", - "name": "OSPushSubscriptionChangedState", - "printedName": "OSPushSubscriptionChangedState", + "name": "OSUserChangedState", + "printedName": "OSUserChangedState", "children": [ { "kind": "Var", @@ -3364,64 +4551,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" - } - ], - "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvp", - "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)OSPushSubscriptionChangedState(im)current", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC7currentAA0deG0Cvg", - "moduleName": "OneSignalUser", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "previous", - "printedName": "previous", - "children": [ - { - "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvp", "moduleName": "OneSignalUser", "declAttributes": [ "Final", @@ -3439,14 +4576,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionState", - "printedName": "OneSignalUser.OSPushSubscriptionState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionState" + "name": "OSUserState", + "printedName": "OneSignalUser.OSUserState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserState" } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)previous", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC8previousAA0deG0Cvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)current", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC7currentAA0dF0Cvg", "moduleName": "OneSignalUser", "implicit": true, "declAttributes": [ @@ -3470,8 +4607,8 @@ } ], "declKind": "Var", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(py)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvp", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(py)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvp", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3495,8 +4632,8 @@ } ], "declKind": "Accessor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)description", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC11descriptionSSvg", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)description", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC11descriptionSSvg", "moduleName": "OneSignalUser", "overriding": true, "objc_name": "description", @@ -3521,8 +4658,8 @@ } ], "declKind": "Func", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)jsonRepresentation", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC18jsonRepresentationSo12NSDictionaryCyF", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)jsonRepresentation", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC18jsonRepresentationSo12NSDictionaryCyF", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3537,14 +4674,14 @@ "children": [ { "kind": "TypeNominal", - "name": "OSPushSubscriptionChangedState", - "printedName": "OneSignalUser.OSPushSubscriptionChangedState", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState" + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" } ], "declKind": "Constructor", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState(im)init", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateCACycfc", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState(im)init", + "mangledName": "$s13OneSignalUser18OSUserChangedStateCACycfc", "moduleName": "OneSignalUser", "overriding": true, "implicit": true, @@ -3558,8 +4695,8 @@ } ], "declKind": "Class", - "usr": "c:@M@OneSignalUser@objc(cs)OSPushSubscriptionChangedState", - "mangledName": "$s13OneSignalUser30OSPushSubscriptionChangedStateC", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState", + "mangledName": "$s13OneSignalUser18OSUserChangedStateC", "moduleName": "OneSignalUser", "declAttributes": [ "AccessControl", @@ -3623,13 +4760,51 @@ ] }, { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", + "kind": "TypeDecl", + "name": "OSUserStateObserver", + "printedName": "OSUserStateObserver", + "children": [ + { + "kind": "Function", + "name": "onUserStateDidChange", + "printedName": "onUserStateDidChange(state:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSUserChangedState", + "printedName": "OneSignalUser.OSUserChangedState", + "usr": "c:@M@OneSignalUser@objc(cs)OSUserChangedState" + } + ], + "declKind": "Func", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver(im)onUserStateDidChangeWithState:", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP02oncE9DidChange5stateyAA0d7ChangedE0C_tF", + "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 where τ_0_0 : OneSignalUser.OSUserStateObserver>", + "sugared_genericSig": "", + "protocolReq": true, + "objc_name": "onUserStateDidChangeWithState:", + "declAttributes": [ + "ObjC" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "c:@M@OneSignalUser@objc(pl)OSUserStateObserver", + "mangledName": "$s13OneSignalUser19OSUserStateObserverP", "moduleName": "OneSignalUser", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", "declAttributes": [ - "RawDocComment" + "AccessControl", + "ObjC" ] }, { @@ -3637,32 +4812,11 @@ "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", @@ -3689,27 +4843,13 @@ }, { "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", + "name": "OneSignalCore", + "printedName": "OneSignalCore", "declKind": "Import", - "moduleName": "OneSignalUser" + "moduleName": "OneSignalUser", + "declAttributes": [ + "RawDocComment" + ] } ], "json_format_version": 8 @@ -3718,38 +4858,87 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 4087, + "offset": 4525, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5109, + "offset": 5547, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5128, + "offset": 5566, "length": 4, "value": "true" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", "kind": "BooleanLiteral", - "offset": 5211, + "offset": 5649, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "BooleanLiteral", + "offset": 25059, "length": 5, "value": "false" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OneSignalUserManagerImpl.swift", + "kind": "StringLiteral", + "offset": 33030, + "length": 22, + "value": "\"OneSignalUser.OSPushSubscriptionImpl\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "BooleanLiteral", + "offset": 1330, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestAddAliases.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 19, + "value": "\"OneSignalUser.OSRequestAddAliases\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "BooleanLiteral", + "offset": 1336, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateProperties.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 25, + "value": "\"OneSignalUser.OSRequestUpdateProperties\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", "kind": "BooleanLiteral", - "offset": 24703, + "offset": 1580, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchUser.swift", + "kind": "StringLiteral", + "offset": 1503, + "length": 18, + "value": "\"OneSignalUser.OSRequestFetchUser\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "StringLiteral", @@ -3774,31 +4963,45 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertiesModel.swift", "kind": "Dictionary", - "offset": 2697, + "offset": 2689, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1438, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1570, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSIdentityOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSIdentityOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1416, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestUpdateSubscription.swift", + "kind": "StringLiteral", + "offset": 1330, + "length": 27, + "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserInternalImpl.swift", "kind": "StringLiteral", @@ -3807,26 +5010,138 @@ "value": "\"OneSignalUser.OSUserInternalImpl\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1423, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", "kind": "Array", "offset": 1484, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSPropertyOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSPropertyOperationExecutor.swift", + "kind": "BooleanLiteral", + "offset": 9792, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "BooleanLiteral", + "offset": 1975, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestIdentifyUser.swift", + "kind": "StringLiteral", + "offset": 1895, + "length": 21, + "value": "\"OneSignalUser.OSRequestIdentifyUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1619, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Array", + "offset": 1705, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "Dictionary", + "offset": 1767, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSUserExecutor.swift", + "kind": "BooleanLiteral", + "offset": 22232, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "BooleanLiteral", + "offset": 1571, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateUser.swift", + "kind": "StringLiteral", + "offset": 1493, + "length": 19, + "value": "\"OneSignalUser.OSRequestCreateUser\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "BooleanLiteral", + "offset": 1331, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestRemoveAlias.swift", + "kind": "StringLiteral", + "offset": 1252, + "length": 20, + "value": "\"OneSignalUser.OSRequestRemoveAlias\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1665, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestCreateSubscription.swift", + "kind": "StringLiteral", + "offset": 1579, + "length": 27, + "value": "\"OneSignalUser.OSRequestCreateSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "BooleanLiteral", + "offset": 1615, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestDeleteSubscription.swift", + "kind": "StringLiteral", + "offset": 1529, + "length": 27, + "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", "kind": "BooleanLiteral", - "offset": 9816, + "offset": 1623, "length": 5, "value": "false" }, + { + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestTransferSubscription.swift", + "kind": "StringLiteral", + "offset": 1535, + "length": 29, + "value": "\"OneSignalUser.OSRequestTransferSubscription\"" + }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", @@ -3949,42 +5264,42 @@ { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 6885, + "offset": 6881, "length": 10, "value": "\"deviceOs\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7098, + "offset": 7090, "length": 5, "value": "\"sdk\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7341, + "offset": 7329, "length": 13, "value": "\"deviceModel\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7634, + "offset": 7618, "length": 12, "value": "\"appVersion\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7458, + "offset": 7442, "length": 28, "value": "\"CFBundleShortVersionString\"" }, { "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionModel.swift", "kind": "StringLiteral", - "offset": 7886, + "offset": 7866, "length": 9, "value": "\"netType\"" }, @@ -4010,221 +5325,67 @@ "value": "\"OneSignalUser.OSIdentityModel\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1486, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1626, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1689, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Array", "offset": 1752, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSSubscriptionOperationExecutor.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Executors\/OSSubscriptionOperationExecutor.swift", "kind": "Dictionary", "offset": 1815, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1619, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Array", - "offset": 1705, - "length": 2, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "Dictionary", - "offset": 1767, - "length": 3, - "value": "[]" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 27422, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 31693, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 31615, - "length": 19, - "value": "\"OneSignalUser.OSRequestCreateUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 35419, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 35324, - "length": 36, - "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 38704, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 38624, - "length": 21, - "value": "\"OneSignalUser.OSRequestIdentifyUser\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 42618, - "length": 5, - "value": "false" + "offset": 1243, + "length": 11, + "value": "\"OneSignalUser.OSUserState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserState.swift", "kind": "StringLiteral", - "offset": 42541, + "offset": 1857, "length": 18, - "value": "\"OneSignalUser.OSRequestFetchUser\"" + "value": "\"OneSignalUser.OSUserChangedState\"" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "BooleanLiteral", - "offset": 45201, + "offset": 1347, "length": 5, "value": "false" }, { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", + "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/Requests\/OSRequestFetchIdentityBySubscription.swift", "kind": "StringLiteral", - "offset": 45123, - "length": 19, - "value": "\"OneSignalUser.OSRequestAddAliases\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 47646, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 47567, - "length": 20, - "value": "\"OneSignalUser.OSRequestRemoveAlias\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 49858, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 49774, - "length": 25, - "value": "\"OneSignalUser.OSRequestUpdateProperties\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 54435, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 54349, - "length": 27, - "value": "\"OneSignalUser.OSRequestCreateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 57362, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 57274, - "length": 29, - "value": "\"OneSignalUser.OSRequestTransferSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 60213, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 60127, - "length": 27, - "value": "\"OneSignalUser.OSRequestUpdateSubscription\"" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "BooleanLiteral", - "offset": 63838, - "length": 5, - "value": "false" - }, - { - "filePath": "\/Users\/nanli\/Documents\/GitHub\/OneSignal-iOS-SDK\/iOS_SDK\/OneSignalSDK\/OneSignalUser\/Source\/OSUserRequests.swift", - "kind": "StringLiteral", - "offset": 63752, - "length": 27, - "value": "\"OneSignalUser.OSRequestDeleteSubscription\"" + "offset": 1252, + "length": 36, + "value": "\"OneSignalUser.OSRequestFetchIdentityBySubscription\"" } ] } \ 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 index 31c3d8f3a..4dc3a9963 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index 9dc01712d..198198db3 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc 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 index 31c3d8f3a..4dc3a9963 100644 --- 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 @@ -12,6 +12,10 @@ import _Concurrency import _StringProcessing @objc public protocol OSUser { @objc var pushSubscription: OneSignalUser.OSPushSubscription { get } + @objc var onesignalId: Swift.String? { get } + @objc var externalId: Swift.String? { get } + @objc func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @objc func addAlias(label: Swift.String, id: Swift.String) @objc func addAliases(_ aliases: [Swift.String : Swift.String]) @objc func removeAlias(_ label: Swift.String) @@ -41,15 +45,13 @@ import _StringProcessing } @_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 language: Swift.String? { @objc get } + @objc final public let pushSubscriptionImpl: OneSignalUser.OneSignalUserManagerImpl.OSPushSubscriptionImpl @objc public var requiresUserAuth: Swift.Bool @objc public func start() @objc public func login(externalId: Swift.String, token: Swift.String?) @@ -74,6 +76,14 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public var pushSubscription: OneSignalUser.OSPushSubscription { @objc get } + @objc dynamic public var externalId: Swift.String? { + @objc get + } + @objc dynamic public var onesignalId: Swift.String? { + @objc get + } + @objc dynamic public func addObserver(_ observer: OneSignalUser.OSUserStateObserver) + @objc dynamic public func removeObserver(_ observer: OneSignalUser.OSUserStateObserver) @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) @@ -89,20 +99,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSUser { @objc dynamic public func removeSms(_ number: Swift.String) @objc dynamic public func setLanguage(_ language: Swift.String) } -extension OneSignalUser.OneSignalUserManagerImpl : OneSignalUser.OSPushSubscription { - @objc dynamic public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) - @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 +extension OneSignalUser.OneSignalUserManagerImpl { + @_hasMissingDesignatedInitializers @objc public class OSPushSubscriptionImpl : ObjectiveC.NSObject, OneSignalUser.OSPushSubscription { + @objc public func addObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public func removeObserver(_ observer: OneSignalUser.OSPushSubscriptionObserver) + @objc public var id: Swift.String? { + @objc get + } + @objc public var token: Swift.String? { + @objc get + } + @objc public var optedIn: Swift.Bool { + @objc get + } + @objc public func optIn() + @objc public func optOut() + @objc deinit } - @objc dynamic public func optIn() - @objc dynamic public func optOut() } extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSignalNotificationsDelegate { @objc dynamic public func setNotificationTypes(_ notificationTypes: Swift.Int32) @@ -130,3 +143,23 @@ extension OneSignalUser.OneSignalUserManagerImpl : OneSignalNotifications.OneSig @objc public func jsonRepresentation() -> Foundation.NSDictionary @objc deinit } +@_hasMissingDesignatedInitializers @objc public class OSUserState : ObjectiveC.NSObject { + @objc final public let onesignalId: Swift.String? + @objc final public let externalId: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@_hasMissingDesignatedInitializers @objc public class OSUserChangedState : ObjectiveC.NSObject { + @objc final public let current: OneSignalUser.OSUserState + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func jsonRepresentation() -> Foundation.NSDictionary + @objc deinit +} +@objc public protocol OSUserStateObserver { + @objc func onUserStateDidChange(state: OneSignalUser.OSUserChangedState) +} 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 index 58e60eb04..c9c16514a 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_User/OneSignalUser.xcframework/ios-arm64_x86_64-simulator/OneSignalUser.framework/OneSignalUser 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 index cc9d4e54e..9a5af6e19 100644 --- 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 @@ -6,7 +6,7 @@ Headers/OneSignalUser-Swift.h - O1Ir/GX2FtGiihbMz/kL/af0zm0= + 76meb2X1E/9nD5QcX7zgV1iZR8E= Headers/OneSignalUser.h @@ -14,47 +14,47 @@ Info.plist - yNdZnA08V3hdn7Yez5MX3Gr75Nc= + Wo6NCyTWT10whC2m64ssWhS831k= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.abi.json - WzxIYf1bEodDsOSWCKWEBqQPMi4= + 31OFnbYfAlixQGTzfh/6Ey84Hgo= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - IUS9w3gueuob86RCUH2Y4bW7lmQ= + wTawRswF2F147hzLnWOU464MCh4= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc - Di3zrNfqh1bXbZjeMAx1OTgZha0= + D+mrvZmEyVE117x6tHDkrI0rMwM= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftinterface - IUS9w3gueuob86RCUH2Y4bW7lmQ= + wTawRswF2F147hzLnWOU464MCh4= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftmodule - TNLSVSp6en+W9aNDplwBa16ELj8= + 4/DRN4rZ2BXAt6Wc55b9wmL2XxI= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.abi.json - WzxIYf1bEodDsOSWCKWEBqQPMi4= + 31OFnbYfAlixQGTzfh/6Ey84Hgo= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - v/SUDI2nxyx5T2WgC10uajF0k7U= + 09sthGMvtboEvKzOFiwG6Hz3j3c= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - f1TrTDQFR854aWi6/jqx8em8Tg4= + DLZv4VdfRUxk5JYRjzQOPu8lZgA= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - v/SUDI2nxyx5T2WgC10uajF0k7U= + 09sthGMvtboEvKzOFiwG6Hz3j3c= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - 096Eo0aM6KQBAru08nTceKivJQE= + C953aUEAMAOVIFbyN45Jm/ahWN0= Modules/module.modulemap @@ -67,7 +67,7 @@ hash2 - 68wKSbFxnNL4vN4k0M5MVBwSPvRaehWfr+t+/MNY39c= + emZOt4hdGmSLlmekWfkGHIlnN7TBpZdFTVSOgpb8lfs= Headers/OneSignalUser.h @@ -81,70 +81,70 @@ hash2 - BbITzwlIgTW3TVhjBq2fhGYKfKAdj/8lrLIqmGmLi/w= + kWfIh6gGFTGwHjSnMmL2vQrO0N5aRwirq6kyALSWSik= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - C52uZDFOk3ztY7dbyEFdYAu6qJ72E1068C4TK9pnrAI= + 1aZdF2rGbb/pbqZW0J+/p+iVJESM17w6IgBfDSmHeEg= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - bke6WqElBMZ9Y2BaBg3bO2RY1aoSF8vX+h9cfgFmX08= + qK8dJZxl/qeGLPMAyaV4DnzqyfAIOkQFi2Fo3hWRd4g= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - C52uZDFOk3ztY7dbyEFdYAu6qJ72E1068C4TK9pnrAI= + 1aZdF2rGbb/pbqZW0J+/p+iVJESM17w6IgBfDSmHeEg= Modules/OneSignalUser.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - 1jIFUdDwJe0woJ4hVnQgnFD9H64PPSq0r7P81H7Liwg= + jIpGwFMFeOw3/nidvV99SBkdcceNV5i4kvNyFi53BMo= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - BbITzwlIgTW3TVhjBq2fhGYKfKAdj/8lrLIqmGmLi/w= + kWfIh6gGFTGwHjSnMmL2vQrO0N5aRwirq6kyALSWSik= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - Nvu3jylU/R7e2WeaDTNFM5GLw1GIvwvUQtTKLHzrKjk= + aL/At/L+WkItXFJjO9TPIyQ90xunYVo6hjNOqrdmyv0= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - 1Kh5+qTiMbFHerrAv+LreNpSRju6DZlHnXFB2W/k2+w= + N4jsUUU8nJUM3DBIkmaYCyG8kMwZFn0q46E9npGRpJw= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - Nvu3jylU/R7e2WeaDTNFM5GLw1GIvwvUQtTKLHzrKjk= + aL/At/L+WkItXFJjO9TPIyQ90xunYVo6hjNOqrdmyv0= Modules/OneSignalUser.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - 0SBTvpD6VDPnjbbEYYIWR37pAIawEutF6sXhaESpqIE= + JK7KqYh6AHkrPqOEcTPsJGe9QuyP5Iv8JlSTTv1uyNo= Modules/module.modulemap diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework.zip b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework.zip index cb73e21b1..93b364d36 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework.zip 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 index cf14652be..0e09c9153 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/Info.plist +++ b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/Info.plist @@ -6,18 +6,15 @@ LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64 LibraryPath OneSignalFramework.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - maccatalyst LibraryIdentifier @@ -36,15 +33,18 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-maccatalyst LibraryPath OneSignalFramework.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + maccatalyst CFBundlePackageType 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 index b219af97e..d81557df7 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/Info.plist 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/OneSignalFramework b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/OneSignalFramework index 77e56c4ea..9db5ed69c 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64/OneSignalFramework.framework/OneSignalFramework 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/Versions/A/OneSignalFramework b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/OneSignalFramework index 3ab596210..863e752aa 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.framework/Versions/A/OneSignalFramework 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/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.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 index 0058ec45d..24f7e18f3 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-maccatalyst/OneSignalFramework.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,7 +3,7 @@ BuildMachineOSBuild - 23B81 + 23C71 CFBundleDevelopmentRegion en CFBundleExecutable diff --git a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Info.plist b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/Info.plist index 1afedf6a8..10afc9588 100644 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.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/OneSignalFramework b/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/OneSignalFramework index 1f05b5229..0252a7045 100755 Binary files a/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignalFramework.xcframework/ios-arm64_x86_64-simulator/OneSignalFramework.framework/OneSignalFramework 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 index c96465d97..3c1992058 100644 --- 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 @@ -18,7 +18,7 @@ Info.plist - Ak4CYy8wDLEKIs138X0SOeovqVg= + 5xiS9wCy6YWCsUIDgiTMtdz1G4c= Modules/OneSignalFramework.swiftmodule/arm64-apple-ios-simulator.abi.json