We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f2d5a commit 04487ffCopy full SHA for 04487ff
BranchSDK/BranchOpenRequest.m
@@ -119,18 +119,9 @@ - (void)makeRequest:(BNCServerInterface *)serverInterface key:(NSString *)key ca
119
callback:callback];
120
}
121
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
-
+// Always send 0
131
+ (NSNumber *)appUpdateState {
132
- BNCUpdateState update_state = BNCUpdateStateIgnored0;
133
- return @(update_state);
+ return @(0);
134
135
136
- (void)processResponse:(BNCServerResponse *)response error:(NSError *)error {
0 commit comments