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 92546ca commit d8b9926Copy full SHA for d8b9926
Branch-SDK/Branch-SDK/BNCNetworkInterface.m
@@ -115,7 +115,9 @@ + (nullable NSString *)localIPAddress {
115
+ (NSArray<NSString *> *)allIPAddresses {
116
NSMutableArray *array = [NSMutableArray new];
117
for (BNCNetworkInterface *inf in [BNCNetworkInterface currentInterfaces]) {
118
- [array addObject:inf.description];
+ if (inf.description) {
119
+ [array addObject:inf.description];
120
+ }
121
}
122
return array;
123
Branch-SDK/Branch-SDK/BNCReachability.m
@@ -21,6 +21,7 @@ @interface BNCReachability()
21
@end
22
23
// Based on Apple's Reachability Sample
24
+// https://developer.apple.com/library/archive/samplecode/Reachability/Introduction/Intro.html
25
@implementation BNCReachability
26
27
- (instancetype)init {
0 commit comments