Skip to content

Commit 04487ff

Browse files
Update BranchOpenRequest.m
1 parent 89f2d5a commit 04487ff

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

BranchSDK/BranchOpenRequest.m

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,9 @@ - (void)makeRequest:(BNCServerInterface *)serverInterface key:(NSString *)key ca
119119
callback:callback];
120120
}
121121

122-
typedef NS_ENUM(NSInteger, BNCUpdateState) {
123-
// Values 0-4 are deprecated and ignored by the server
124-
BNCUpdateStateIgnored0 = 0,
125-
BNCUpdateStateIgnored1 = 1,
126-
BNCUpdateStateIgnored2 = 2,
127-
BNCUpdateStateIgnored3 = 3,
128-
BNCUpdateStateIgnored4 = 4
129-
};
130-
122+
// Always send 0
131123
+ (NSNumber *)appUpdateState {
132-
BNCUpdateState update_state = BNCUpdateStateIgnored0;
133-
return @(update_state);
124+
return @(0);
134125
}
135126

136127
- (void)processResponse:(BNCServerResponse *)response error:(NSError *)error {

0 commit comments

Comments
 (0)