Skip to content

Commit

Permalink
rename reachability constant to fix linking error
Browse files Browse the repository at this point in the history
  • Loading branch information
sbezboro committed May 23, 2014
1 parent 2d5aa88 commit 9d1e09c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Objective-C library for crash reporting and logging with [Rollbar](https://rollb

## Setup

1. Download the [Rollbar framework](https://github.com/rollbar/rollbar-ios/releases/download/v0.1.1/Rollbar.zip).
1. Download the [Rollbar framework](https://github.com/rollbar/rollbar-ios/releases/download/v0.1.2/Rollbar.zip).

2. Extract the Rollbar directory in the zip file to your Xcode project directory.

Expand Down
2 changes: 1 addition & 1 deletion Rollbar/RollbarNotifier.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <sys/utsname.h>


static NSString *NOTIFIER_VERSION = @"0.1.1";
static NSString *NOTIFIER_VERSION = @"0.1.2";
static NSString *QUEUED_ITEMS_FILE_NAME = @"rollbar.items";
static NSString *STATE_FILE_NAME = @"rollbar.state";

Expand Down
4 changes: 2 additions & 2 deletions Rollbar/RollbarReachability.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
#import "RollbarReachability.h"


NSString *const kReachabilityChangedNotification = @"kReachabilityChangedNotification";
NSString *const kRollbarReachabilityChangedNotification = @"kRollbarReachabilityChangedNotification";

@interface RollbarReachability ()

Expand Down Expand Up @@ -510,7 +510,7 @@ -(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags

// this makes sure the change notification happens on the MAIN THREAD
dispatch_async(dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter] postNotificationName:kReachabilityChangedNotification
[[NSNotificationCenter defaultCenter] postNotificationName:kRollbarReachabilityChangedNotification
object:self];
});
}
Expand Down

0 comments on commit 9d1e09c

Please sign in to comment.