Skip to content

Commit ca35bf1

Browse files
committed
fix checking ios version less than 10.2
1 parent 083614f commit ca35bf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ios/RNCallKit/RNCallKit.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ - (BOOL)lessThanIos10_2
201201
{
202202
if (_version.majorVersion < 10) {
203203
return YES;
204+
} else if (_version.majorVersion > 10) {
205+
return NO;
204206
} else {
205207
return _version.minorVersion < 2;
206208
}

0 commit comments

Comments
 (0)