Skip to content

Commit

Permalink
7.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbushnell committed Sep 21, 2023
1 parent d7bd25f commit 645b312
Show file tree
Hide file tree
Showing 97 changed files with 60,752 additions and 15,904 deletions.
40 changes: 20 additions & 20 deletions KochavaCore.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -27,7 +27,9 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
Expand All @@ -43,7 +45,7 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -52,13 +54,13 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -67,52 +69,50 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>watchos-arm64_arm64_32_armv7k</string>
<string>watchos-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64_32</string>
<string>armv7k</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>watchos-arm64_arm64_32_armv7k</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
<string>arm64_32</string>
<string>armv7k</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>watchos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>watchos-arm64_i386_x86_64-simulator</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KochavaCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,13 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KVADispatchQ
- (void)asyncAfterWithNetworking:(KVANetworking * _Nullable)networking sourceIdentifier:(NSString * _Nullable)sourceIdentifier prerequisiteTaskIdentifierArray:(NSArray<NSString *> * _Nullable)prerequisiteTaskIdentifierArray prerequisiteTaskArray:(NSArray<KVATask *> * _Nullable)prerequisiteTaskArray timeInterval:(NSTimeInterval)timeInterval timeIntervalStartsAfterPrerequisiteTasksBool:(BOOL)timeIntervalStartsAfterPrerequisiteTasksBool closure:(void (^ _Nullable)(void))closure;
/// Asynchronously dispatch after a stepped-settling dispatch.
/// The purpose of this dispatch recognizes that when we receive some form of wrapping trigger that really what we’re looking for is the moment in which that trigger’s entire body of work has completed. Our goal is to move forward after the work associated with punctuated moments has settled. The use of a stepped-settling dispatch provides a general form of assurance which minimizes the need for other forms of waits downstream.
/// When used to confirm that the shutdown of the sdk had completed for testing, in-between tests, using 5 steps it seemed to be sufficient. It was taken up to 12 steps to help to ensure that it is also future proof for that use case. If ever the number of steps were insufficient it could lead to the need to compensate in other ways later downstream. The number of steps could be increased if ever it was found to be insufficient, but it’s unlikely that should ever occur. If you find yourself here wondering if more steps are needed, there’s probably something else going on that you’re looking to compensate for. You may either need comprehensive async and await, or else a concrete time-based delay.
- (void)asyncAfterSteppedSettlingDispatchWithSourceIdentifier:(NSString * _Nullable)sourceIdentifier closure:(void (^ _Nullable)(void))closure;
/// \param sourceIdentifier A unique identifier for the location in code from which this originated. It may be a universally unique identifier (UUID) or a friendly name such as “func someFunc()”. It is generally preferrable to use a friendly name for public methods, whereas a UUID may be more appropriate for internal methods.
///
/// \param count A count for the number of dispatch steps. Default 24.
///
/// \param closure The closure to execute (conditionally).
///
+ (void)asyncAfterSteppedSettlingDispatchWithSourceIdentifier:(NSString * _Nullable)sourceIdentifier count:(NSInteger)count closure:(void (^ _Nullable)(void))closure;
/// Asynchronously dispatch and execute the provided closure providing standardized handling for the requirements of a public entry point.
/// This always uses the default dispatch queue (globalSerial dispatch queue).
/// \param sourceIdentifier A unique identifier for the location in code from which this originated. It may be a universally unique identifier (UUID) or a friendly name such as “func someFunc()”. It is generally preferrable to use a friendly name for public methods, whereas a UUID may be more appropriate for internal methods.
Expand Down Expand Up @@ -664,8 +669,11 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KVALog * _No
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
/// The visible maximum log level for log messages.
@property (nonatomic, strong) KVALogLevel * _Nullable level;
/// A boolean indicating if log messages may be printed using Logger(s).
/// Default true. When disabled, log messages will fall back to raw os_log or NSLog. Raw os_log and NSLog lack certain features which Logger has, but they may print in environments where Logger is not supported.
@property (nonatomic) BOOL loggerEnabledBool;
/// A boolean indicating if log messages may be printed using os_log.
/// Default true. When disabled, log messages will fall back to NSLog or Swift’s print. NSLog and Swift’s print lack certain features which os_log has, but they may print in environments where os_log is not supported.
/// Default true. When disabled, log messages will fall back to NSLog. NSLog lacks certain features which os_log has, but they may print in environments where os_log is not supported.
@property (nonatomic) BOOL osLogEnabledBool;
/// A boolean indicating if log messages should be pretty printed.
/// Default true.
Expand Down Expand Up @@ -704,7 +712,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KVALogLevel
/// A log level for a piece of debug information.
/// Debug information is something helpful to illuminate what is happening, without going into the minutia.
/// note:
/// We previously used osLogType .debug here, but the result was that for some time log levels higher than info weren’t showing in Xamarin apps- even in the simulator. We were able to see log messages in the “Console” app, but only for info or below. From my research there seem to be known Apple bug(s) associated with this. So, for now we’ve switched the osLogType here to .info.
/// We previously used osLogLevel .debug here, but the result was that for some time log levels higher than info weren’t showing in Xamarin apps- even in the simulator. We were able to see log messages in the “Console” app, but only for info or below. From my research there seem to be known Apple bug(s) associated with this. So, for now we’ve switched the osLogLevel here to .info.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KVALogLevel * _Nonnull debug;)
+ (KVALogLevel * _Nonnull)debug SWIFT_WARN_UNUSED_RESULT;
/// A log level for a piece of trace information.
Expand All @@ -730,6 +738,51 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KVALogLevel
@end


@interface KVALogLevel (SWIFT_EXTENSION(KochavaCore))
@end


/// A class which defines an os log level, with enumerated values.
SWIFT_CLASS_NAMED("OSLogLevel")
@interface OSLogLevel : NSObject
/// An os log level which is used to write messages to the log about a critical event in your app’s execution.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull critical;)
+ (OSLogLevel * _Nonnull)critical SWIFT_WARN_UNUSED_RESULT;
/// An os log level which is used to write messages to the log about a bug that occurs when your app executes.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull fault;)
+ (OSLogLevel * _Nonnull)fault SWIFT_WARN_UNUSED_RESULT;
/// An os log level which is used to write information about errors to the log.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull error;)
+ (OSLogLevel * _Nonnull)error SWIFT_WARN_UNUSED_RESULT;
/// An os log level which is used to write information about warnings to the log.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull warn;)
+ (OSLogLevel * _Nonnull)warn SWIFT_WARN_UNUSED_RESULT;
/// An os log level which is used to write informative messages to the log.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull info;)
+ (OSLogLevel * _Nonnull)info SWIFT_WARN_UNUSED_RESULT;
/// An os log level which is used to write debug messages to the log.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull debug;)
+ (OSLogLevel * _Nonnull)debug SWIFT_WARN_UNUSED_RESULT;
/// An os log level which is used to write trace messages to the log.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull trace;)
+ (OSLogLevel * _Nonnull)trace SWIFT_WARN_UNUSED_RESULT;
/// An os log level which is the default level.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) OSLogLevel * _Nonnull notice;)
+ (OSLogLevel * _Nonnull)notice SWIFT_WARN_UNUSED_RESULT;
+ (nullable instancetype)kva_from:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
/// Return a description of the instance.
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
/// The identifier for the instance.
/// Examples: “OSLogLevel.critical”, “OSLogLevel.fault”, “OSLogLevel.error”, “OSLogLevel.warn”, “OSLogLevel.info”, “OSLogLevel.debug”, “OSLogLevel.trace”, “OSLogLevel.notice”.
@property (nonatomic, readonly, copy) NSString * _Nonnull identifier;
/// The universal identifier.
/// Examples: “critical”, “fault”, “error”, “warn”, “info”, “debug”, “trace”, “notice”.
@property (nonatomic, readonly, copy) NSString * _Nonnull universalIdentifier;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end


/// A class which defines a log message.
SWIFT_CLASS_NAMED("KVALogMessage")
@interface KVALogMessage : NSObject
Expand Down Expand Up @@ -902,6 +955,9 @@ SWIFT_CLASS_NAMED("KVAPrivacyProfile")
@property (nonatomic, readonly, copy) NSArray<NSString *> * _Nullable payloadIdStringArray;
/// A boolean indicating if the sdk should sleep if this profile is active.
@property (nonatomic, readonly) BOOL sleepBool;
/// A dictionary containing url overrides.
/// The keys of the dictionary corresponds to elements within KVANetTransaction.universalIdentifierArray. The values may either be of type String or Dictionary. When they are type String they are URL strings. When they are type Dictionary they contain an array of key/value pairs where the corresponds to KVANetTransaction.subIdentifier and the values are URL strings.
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nullable urlsDictionary;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -1163,7 +1219,7 @@ SWIFT_CLASS_NAMED("KVAValue")
///
/// \param identifierString An identifier string. Example: “ClassName.fieldName”.
///
/// \param storageIdentifier An optional storage identifier string. Example: “Two”, or nil.
/// \param storageIdentifier An optional storage identifier. Example: “Two”, or nil.
///
+ (NSString * _Nonnull)kva_keyNameStringWithPrefixString:(NSString * _Nullable)prefixString identifierString:(NSString * _Nullable)identifierString storageIdentifier:(NSString * _Nullable)storageIdentifier SWIFT_WARN_UNUSED_RESULT;
@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>22F82</string>
<string>22G91</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>7.3.0</string>
<string>7.4.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
Expand All @@ -41,7 +41,7 @@
<key>DTXcodeBuild</key>
<string>14B47b</string>
<key>KVABuildDateString</key>
<string>2023-07-28T18:04:20-0700</string>
<string>2023-09-19T09:00:35-0700</string>
<key>MinimumOSVersion</key>
<string>12.4</string>
<key>UIDeviceFamily</key>
Expand Down
Binary file not shown.
Loading

0 comments on commit 645b312

Please sign in to comment.