Change the deviceId to be public
This commit is contained in:
Родитель
a83facad21
Коммит
cd18e86ce6
|
@ -1,6 +1,7 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import "MSAINullability.h"
|
||||
#import "MSAIUser.h"
|
||||
#import "MSAITelemetryContext.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
/**
|
||||
|
@ -216,6 +217,11 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
*/
|
||||
@property (nonatomic, readonly, getter=isAppStoreEnvironment) BOOL appStoreEnvironment;
|
||||
|
||||
/**
|
||||
* The telemetry context
|
||||
*/
|
||||
@property (nonatomic, strong, readonly)MSAITelemetryContext *telemetryContext;
|
||||
|
||||
///-----------------------------------------------------------------------------
|
||||
/// @name Debug Logging
|
||||
///-----------------------------------------------------------------------------
|
||||
|
|
|
@ -165,8 +165,8 @@ NSString *const kMSAIInstrumentationKey = @"MSAIInstrumentationKey";
|
|||
if (_validInstrumentationKey) {
|
||||
// Configure Http-client and send persisted data
|
||||
|
||||
MSAITelemetryContext *telemetryContext = [[MSAITelemetryContext alloc] initWithAppContext:_appContext];
|
||||
[[MSAIEnvelopeManager sharedManager] configureWithTelemetryContext:telemetryContext];
|
||||
_telemetryContext = [[MSAITelemetryContext alloc] initWithAppContext:_appContext];
|
||||
[[MSAIEnvelopeManager sharedManager] configureWithTelemetryContext:_telemetryContext];
|
||||
|
||||
[[MSAISender sharedSender] configureWithAppClient:[self appClient]];
|
||||
|
||||
|
|
|
@ -1,13 +1,20 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import "MSAINullability.h"
|
||||
#import "MSAIDevice.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
FOUNDATION_EXPORT NSString *const kMSAIApplicationWasLaunched;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
/**
|
||||
* Context object which contains information about the device, user, session etc.
|
||||
*/
|
||||
@interface MSAITelemetryContext : NSObject
|
||||
|
||||
/**
|
||||
* The device context.
|
||||
*/
|
||||
@property (nonatomic, strong, readonly)MSAIDevice *device;
|
||||
|
||||
@end
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#import "MSAITelemetryContext.h"
|
||||
#import "MSAIApplication.h"
|
||||
#import "MSAIDevice.h"
|
||||
#import "MSAIOperation.h"
|
||||
#import "MSAIInternal.h"
|
||||
#import "MSAIUser.h"
|
||||
|
@ -27,11 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
*/
|
||||
@property(nonatomic, strong, readonly) MSAIApplication *application;
|
||||
|
||||
/**
|
||||
* The device context.
|
||||
*/
|
||||
@property (nonatomic, strong, readonly)MSAIDevice *device;
|
||||
|
||||
/**
|
||||
* The location context.
|
||||
*/
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
1B85606F1A7A6A9D00A54FB7 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B85606E1A7A6A9D00A54FB7 /* UIKit.framework */; };
|
||||
1BBBCF341A6594AE00253031 /* MSAIChannel.h in Headers */ = {isa = PBXBuildFile; fileRef = 1BBBCF2E1A6594AE00253031 /* MSAIChannel.h */; };
|
||||
1BBBCF351A6594AE00253031 /* MSAIChannel.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BBBCF2F1A6594AE00253031 /* MSAIChannel.m */; };
|
||||
1BBBCF361A6594AE00253031 /* MSAITelemetryContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 1BBBCF301A6594AE00253031 /* MSAITelemetryContext.h */; };
|
||||
1BBBCF361A6594AE00253031 /* MSAITelemetryContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 1BBBCF301A6594AE00253031 /* MSAITelemetryContext.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
1BBBCF371A6594AE00253031 /* MSAITelemetryContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BBBCF311A6594AE00253031 /* MSAITelemetryContext.m */; };
|
||||
1BC8596B1A7ACA820018FB6B /* MSAICategoryContainer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1BC859691A7ACA820018FB6B /* MSAICategoryContainer.h */; };
|
||||
1BC8596C1A7ACA820018FB6B /* MSAICategoryContainer.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BC8596A1A7ACA820018FB6B /* MSAICategoryContainer.m */; };
|
||||
|
@ -96,7 +96,7 @@
|
|||
807CFDAB1A712974004EA1B6 /* MSAIDataPointType.h in Headers */ = {isa = PBXBuildFile; fileRef = 807CFD7A1A712974004EA1B6 /* MSAIDataPointType.h */; };
|
||||
807CFDAC1A712974004EA1B6 /* MSAIDependencyKind.h in Headers */ = {isa = PBXBuildFile; fileRef = 807CFD7B1A712974004EA1B6 /* MSAIDependencyKind.h */; };
|
||||
807CFDAD1A712974004EA1B6 /* MSAIDependencySourceType.h in Headers */ = {isa = PBXBuildFile; fileRef = 807CFD7C1A712974004EA1B6 /* MSAIDependencySourceType.h */; };
|
||||
807CFDAE1A712974004EA1B6 /* MSAIDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = 807CFD7D1A712974004EA1B6 /* MSAIDevice.h */; };
|
||||
807CFDAE1A712974004EA1B6 /* MSAIDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = 807CFD7D1A712974004EA1B6 /* MSAIDevice.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
807CFDAF1A712974004EA1B6 /* MSAIDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 807CFD7E1A712974004EA1B6 /* MSAIDevice.m */; };
|
||||
807CFDB01A712974004EA1B6 /* MSAIDomain.h in Headers */ = {isa = PBXBuildFile; fileRef = 807CFD7F1A712974004EA1B6 /* MSAIDomain.h */; };
|
||||
807CFDB11A712974004EA1B6 /* MSAIDomain.m in Sources */ = {isa = PBXBuildFile; fileRef = 807CFD801A712974004EA1B6 /* MSAIDomain.m */; };
|
||||
|
|
Загрузка…
Ссылка в новой задаче