diff --git a/Sources/Amplitude/Amplitude.h b/Sources/Amplitude/Amplitude.h index 7616991d..ac5eded7 100644 --- a/Sources/Amplitude/Amplitude.h +++ b/Sources/Amplitude/Amplitude.h @@ -65,12 +65,12 @@ typedef NSDictionary *_Nullable (^AMPLocationInfoBlock)(void); /** Identifier for the current user. */ -@property (nonatomic, copy, readonly, nullable) NSString *userId; +@property (nonatomic, copy, nullable) NSString *userId; /** Identifier for the current device. */ -@property (nonatomic, copy, readonly) NSString *deviceId; +@property (nonatomic, copy) NSString *deviceId; /** Name of the SDK instance (ex: no name for default instance, or custom name for a named instance) diff --git a/Sources/Amplitude/Amplitude.m b/Sources/Amplitude/Amplitude.m index ac95656b..c56d65be 100644 --- a/Sources/Amplitude/Amplitude.m +++ b/Sources/Amplitude/Amplitude.m @@ -87,8 +87,6 @@ @interface Amplitude() @property (nonatomic, assign) long long sessionId; @property (nonatomic, assign) BOOL backoffUpload; @property (nonatomic, assign) int backoffUploadBatchSize; -@property (nonatomic, copy, readwrite, nullable) NSString *userId; -@property (nonatomic, copy, readwrite) NSString *deviceId; #if TARGET_OS_IOS || TARGET_OS_MACCATALYST @property (nonatomic, strong) AMPEventExplorer *eventExplorer; #endif