Skip to content

Commit

Permalink
Pushwoosh iOS SDK 6.7.11
Browse files Browse the repository at this point in the history
  • Loading branch information
pushwoosh authored and pushwoosh committed Dec 10, 2024
1 parent 96b1bf1 commit 5b7cf4d
Show file tree
Hide file tree
Showing 61 changed files with 238 additions and 122 deletions.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ body:
label: Your Pushwoosh iOS SDK version
description: Your iOS SDK version which was integrated to the app. You may find it on the [releases page](https://github.com/Pushwoosh/pushwoosh-ios-sdk/releases)
options:
- 6.7.11
- 6.7.11
- 6.7.11
- 6.7.11
- 6.7.11
- 6.7.11
- 6.7.11
- 6.7.10
- 6.7.10
- 6.7.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#endif

#define PUSHWOOSH_VERSION @"6.7.10"
#define PUSHWOOSH_VERSION @"6.7.11"


@class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
Expand Down
Binary file not shown.
14 changes: 7 additions & 7 deletions XCFramework/PushwooshFramework.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,34 @@
</dict>
<dict>
<key>BinaryPath</key>
<string>PushwooshFramework.framework/PushwooshFramework</string>
<string>PushwooshFramework.framework/Versions/A/PushwooshFramework</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>PushwooshFramework.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>PushwooshFramework.framework/Versions/A/PushwooshFramework</string>
<string>PushwooshFramework.framework/PushwooshFramework</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>PushwooshFramework.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,39 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif

#if defined(__OBJC__)
@class NSString;

SWIFT_CLASS("_TtC18PushwooshFramework23PushwooshLiveActivities")
@interface PushwooshLiveActivities : NSObject
/// Configures the Pushwoosh SDK to manage the default <code>DefaultLiveActivityAttributes</code> structure, which conforms to the
/// <code>PushwooshLiveActivityAttributes</code> protocol. By using this function, the widget attributes are controlled by the Pushwoosh SDK,
/// enabling the SDK to handle the entire lifecycle of the live activity. From the app’s perspective, the only requirement is to create
/// a Live Activity widget within a widget extension, including an <code>ActivityConfiguration</code> for <code>DefaultLiveActivityAttributes</code>.
/// This approach is particularly useful for scenarios where:
/// <ol>
/// <li>
/// There is only one Live Activity widget in the app.
/// </li>
/// <li>
/// A cross-platform framework is used, and the developer wants to avoid creating bindings between the framework and iOS native
/// ActivityKit.
/// </li>
/// </ol>
/// \param options An optional parameter for providing more detailed configuration options.
///
+ (void)defaultSetup SWIFT_AVAILABILITY(ios,introduced=16.1);
/// Starts a new Live Activity modeled by the <code>DefaultLiveActivityAttributes</code> structure. The <code>DefaultLiveActivityAttributes</code>
/// is initialized using the dynamic <code>attributes</code> and <code>content</code> provided.
/// \param activityId The identifier for the live activity on this device, which will be used to start the activity and make it eligible for updates.
///
/// \param attributes A dictionary containing the static attributes to initialize <code>DefaultLiveActivityAttributes</code>.
///
/// \param content A dictionary containing the initial content state to initialize <code>DefaultLiveActivityAttributes</code>.
///
+ (void)defaultStart:(NSString * _Nonnull)activityId attributes:(NSDictionary<NSString *, id> * _Nonnull)attributes content:(NSDictionary<NSString *, id> * _Nonnull)content SWIFT_AVAILABILITY(ios,introduced=16.1);
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

@class NSString;

SWIFT_CLASS("_TtC18PushwooshFramework42PushwooshLiveActivitiesImplementationSetup")
@interface PushwooshLiveActivitiesImplementationSetup : NSObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#endif

#define PUSHWOOSH_VERSION @"6.7.10"
#define PUSHWOOSH_VERSION @"6.7.11"


@class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1802,14 +1802,15 @@
}
],
"declKind": "Func",
"usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ",
"usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(cm)defaultSetup",
"mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ",
"moduleName": "PushwooshFramework",
"static": true,
"intro_iOS": "16.1",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"Available",
"RawDocComment"
],
Expand Down Expand Up @@ -1871,14 +1872,15 @@
}
],
"declKind": "Func",
"usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ",
"usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(cm)defaultStart:attributes:content:",
"mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ",
"moduleName": "PushwooshFramework",
"static": true,
"intro_iOS": "16.1",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"Available",
"RawDocComment"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha
}
public init(from decoder: any Swift.Decoder) throws
}
@objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class PushwooshLiveActivities : ObjectiveC.NSObject {
@available(iOS 16.1, *)
public static func setup<Attributes>(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes
@available(iOS 16.1, *)
public static func defaultSetup()
@objc public static func defaultSetup()
@available(iOS 16.1, *)
public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc override dynamic public init()
@objc deinit
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha
}
public init(from decoder: any Swift.Decoder) throws
}
@objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class PushwooshLiveActivities : ObjectiveC.NSObject {
@available(iOS 16.1, *)
public static func setup<Attributes>(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes
@available(iOS 16.1, *)
public static func defaultSetup()
@objc public static func defaultSetup()
@available(iOS 16.1, *)
public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc override dynamic public init()
@objc deinit
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#endif

#define PUSHWOOSH_VERSION @"6.7.10"
#define PUSHWOOSH_VERSION @"6.7.11"


@class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,39 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif

#if defined(__OBJC__)
@class NSString;

SWIFT_CLASS("_TtC18PushwooshFramework23PushwooshLiveActivities")
@interface PushwooshLiveActivities : NSObject
/// Configures the Pushwoosh SDK to manage the default <code>DefaultLiveActivityAttributes</code> structure, which conforms to the
/// <code>PushwooshLiveActivityAttributes</code> protocol. By using this function, the widget attributes are controlled by the Pushwoosh SDK,
/// enabling the SDK to handle the entire lifecycle of the live activity. From the app’s perspective, the only requirement is to create
/// a Live Activity widget within a widget extension, including an <code>ActivityConfiguration</code> for <code>DefaultLiveActivityAttributes</code>.
/// This approach is particularly useful for scenarios where:
/// <ol>
/// <li>
/// There is only one Live Activity widget in the app.
/// </li>
/// <li>
/// A cross-platform framework is used, and the developer wants to avoid creating bindings between the framework and iOS native
/// ActivityKit.
/// </li>
/// </ol>
/// \param options An optional parameter for providing more detailed configuration options.
///
+ (void)defaultSetup SWIFT_AVAILABILITY(ios,introduced=16.1);
/// Starts a new Live Activity modeled by the <code>DefaultLiveActivityAttributes</code> structure. The <code>DefaultLiveActivityAttributes</code>
/// is initialized using the dynamic <code>attributes</code> and <code>content</code> provided.
/// \param activityId The identifier for the live activity on this device, which will be used to start the activity and make it eligible for updates.
///
/// \param attributes A dictionary containing the static attributes to initialize <code>DefaultLiveActivityAttributes</code>.
///
/// \param content A dictionary containing the initial content state to initialize <code>DefaultLiveActivityAttributes</code>.
///
+ (void)defaultStart:(NSString * _Nonnull)activityId attributes:(NSDictionary<NSString *, id> * _Nonnull)attributes content:(NSDictionary<NSString *, id> * _Nonnull)content SWIFT_AVAILABILITY(ios,introduced=16.1);
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

@class NSString;

SWIFT_CLASS("_TtC18PushwooshFramework42PushwooshLiveActivitiesImplementationSetup")
@interface PushwooshLiveActivitiesImplementationSetup : NSObject
Expand Down Expand Up @@ -622,13 +648,39 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif

#if defined(__OBJC__)
@class NSString;

SWIFT_CLASS("_TtC18PushwooshFramework23PushwooshLiveActivities")
@interface PushwooshLiveActivities : NSObject
/// Configures the Pushwoosh SDK to manage the default <code>DefaultLiveActivityAttributes</code> structure, which conforms to the
/// <code>PushwooshLiveActivityAttributes</code> protocol. By using this function, the widget attributes are controlled by the Pushwoosh SDK,
/// enabling the SDK to handle the entire lifecycle of the live activity. From the app’s perspective, the only requirement is to create
/// a Live Activity widget within a widget extension, including an <code>ActivityConfiguration</code> for <code>DefaultLiveActivityAttributes</code>.
/// This approach is particularly useful for scenarios where:
/// <ol>
/// <li>
/// There is only one Live Activity widget in the app.
/// </li>
/// <li>
/// A cross-platform framework is used, and the developer wants to avoid creating bindings between the framework and iOS native
/// ActivityKit.
/// </li>
/// </ol>
/// \param options An optional parameter for providing more detailed configuration options.
///
+ (void)defaultSetup SWIFT_AVAILABILITY(ios,introduced=16.1);
/// Starts a new Live Activity modeled by the <code>DefaultLiveActivityAttributes</code> structure. The <code>DefaultLiveActivityAttributes</code>
/// is initialized using the dynamic <code>attributes</code> and <code>content</code> provided.
/// \param activityId The identifier for the live activity on this device, which will be used to start the activity and make it eligible for updates.
///
/// \param attributes A dictionary containing the static attributes to initialize <code>DefaultLiveActivityAttributes</code>.
///
/// \param content A dictionary containing the initial content state to initialize <code>DefaultLiveActivityAttributes</code>.
///
+ (void)defaultStart:(NSString * _Nonnull)activityId attributes:(NSDictionary<NSString *, id> * _Nonnull)attributes content:(NSDictionary<NSString *, id> * _Nonnull)content SWIFT_AVAILABILITY(ios,introduced=16.1);
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

@class NSString;

SWIFT_CLASS("_TtC18PushwooshFramework42PushwooshLiveActivitiesImplementationSetup")
@interface PushwooshLiveActivitiesImplementationSetup : NSObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#endif

#define PUSHWOOSH_VERSION @"6.7.10"
#define PUSHWOOSH_VERSION @"6.7.11"


@class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1802,14 +1802,15 @@
}
],
"declKind": "Func",
"usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ",
"usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(cm)defaultSetup",
"mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ",
"moduleName": "PushwooshFramework",
"static": true,
"intro_iOS": "16.1",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"Available",
"RawDocComment"
],
Expand Down Expand Up @@ -1871,14 +1872,15 @@
}
],
"declKind": "Func",
"usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ",
"usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(cm)defaultStart:attributes:content:",
"mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ",
"moduleName": "PushwooshFramework",
"static": true,
"intro_iOS": "16.1",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"Available",
"RawDocComment"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha
}
public init(from decoder: any Swift.Decoder) throws
}
@objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class PushwooshLiveActivities : ObjectiveC.NSObject {
@available(iOS 16.1, *)
public static func setup<Attributes>(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes
@available(iOS 16.1, *)
public static func defaultSetup()
@objc public static func defaultSetup()
@available(iOS 16.1, *)
public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc override dynamic public init()
@objc deinit
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ public struct PushwooshLiveActivityContentStateData : Swift.Codable, Swift.Hasha
}
public init(from decoder: any Swift.Decoder) throws
}
@objc @_inheritsConvenienceInitializers public class PushwooshLiveActivities : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class PushwooshLiveActivities : ObjectiveC.NSObject {
@available(iOS 16.1, *)
public static func setup<Attributes>(_ activityType: Attributes.Type) where Attributes : PushwooshFramework.PushwooshLiveActivityAttributes
@available(iOS 16.1, *)
public static func defaultSetup()
@objc public static func defaultSetup()
@available(iOS 16.1, *)
public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc public static func defaultStart(_ activityId: Swift.String, attributes: [Swift.String : Any], content: [Swift.String : Any])
@objc override dynamic public init()
@objc deinit
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1802,14 +1802,15 @@
}
],
"declKind": "Func",
"usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ",
"usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(cm)defaultSetup",
"mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultSetupyyFZ",
"moduleName": "PushwooshFramework",
"static": true,
"intro_iOS": "16.1",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"Available",
"RawDocComment"
],
Expand Down Expand Up @@ -1871,14 +1872,15 @@
}
],
"declKind": "Func",
"usr": "s:18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ",
"usr": "c:@M@PushwooshFramework@objc(cs)PushwooshLiveActivities(cm)defaultStart:attributes:content:",
"mangledName": "$s18PushwooshFramework0A14LiveActivitiesC12defaultStart_10attributes7contentySS_SDySSypGAGtFZ",
"moduleName": "PushwooshFramework",
"static": true,
"intro_iOS": "16.1",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"Available",
"RawDocComment"
],
Expand Down
Loading

0 comments on commit 5b7cf4d

Please sign in to comment.