Skip to content

Commit

Permalink
move readwrite to header
Browse files Browse the repository at this point in the history
  • Loading branch information
jooohhn committed Oct 16, 2020
1 parent 0942f77 commit 30c6f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/Amplitude/Amplitude.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions Sources/Amplitude/Amplitude.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30c6f02

Please sign in to comment.