DavidWiesner commented on code in PR #130:
URL: 
https://github.com/apache/cordova-plugin-network-information/pull/130#discussion_r896513615


##########
src/ios/CDVConnection.m:
##########
@@ -82,6 +82,12 @@ - 
(NSString*)w3cConnectionTypeFor:(CDVReachability*)reachability
                         return @"3g";
                     } else if ([telephonyInfo.currentRadioAccessTechnology  
isEqualToString:CTRadioAccessTechnologyLTE]) {
                         return @"4g";
+                    } else if (@available(iOS 14.0, *)) {

Review Comment:
   There was an issue in the apple docs. `CTRadioAccessTechnologyNRNSA` and 
`CTRadioAccessTechnologyNR` are available in the minor release 
[14.1](https://developer.apple.com/documentation/coretelephony/ctradioaccesstechnologynrnsa)
   ```suggestion
                       } else if (@available(iOS 14.1, *)) {
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to