Skip to content

Commit

Permalink
Version 3.0.2 (#172)
Browse files Browse the repository at this point in the history
* Moves Throttler Timer to Main Run Loop (#124)

* Add timer on mainRunLoop instead of currentRunLoop

* advances version to 3.0.2

* update changelog date for 3.0.2 release
  • Loading branch information
markpokornycos authored May 15, 2019
1 parent 739b953 commit d88384c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the LaunchDarkly iOS SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [3.0.2] - 2019-05-15
### Changed
- Moved the timer that limits how often a client app can set the SDK online onto the main run loop.

## [3.0.1] - 2019-04-30
### Changed
- Deployed Carthage built DarklyEventSource frameworks as part of the Darkly project.
Expand Down
2 changes: 1 addition & 1 deletion Darkly/DataModels/DarklyConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#import "DarklyConstants.h"

NSString * const kClientVersion = @"3.0.0";
NSString * const kClientVersion = @"3.0.2";
NSString * const kLDPrimaryEnvironmentName = @"LaunchDarkly.EnvironmentName.Primary";
NSString * const kBaseUrl = @"https://app.launchdarkly.com";
NSString * const kEventsUrl = @"https://mobile.launchdarkly.com";
Expand Down
2 changes: 1 addition & 1 deletion Darkly/Services/LDThrottler.m
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ -(NSTimer*)delayTimerWithDelayInterval:(NSUInteger)delaySeconds {
NSDate *fireDate = [self.timerStartDate dateByAddingTimeInterval:delaySeconds];

NSTimer *delayTimer = [[NSTimer alloc] initWithFireDate:fireDate interval:0 target:self selector:@selector(timerFired) userInfo:nil repeats:NO];
[[NSRunLoop currentRunLoop] addTimer:delayTimer forMode:NSDefaultRunLoopMode];
[[NSRunLoop mainRunLoop] addTimer:delayTimer forMode:NSDefaultRunLoopMode];
return delayTimer;
}

Expand Down
4 changes: 2 additions & 2 deletions LaunchDarkly.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "LaunchDarkly"
s.version = "3.0.1"
s.version = "3.0.2"
s.summary = "iOS SDK for LaunchDarkly"

s.description = <<-DESC
Expand All @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = "9.0"
s.osx.deployment_target = '10.10'

s.source = { :git => "https://github.com/launchdarkly/ios-client-sdk.git", :tag => "3.0.1" }
s.source = { :git => "https://github.com/launchdarkly/ios-client-sdk.git", :tag => "3.0.2" }

s.source_files = 'Darkly/**/*.{h,m}'

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To integrate LaunchDarkly into your Xcode project using CocoaPods, specify it in
```ruby
target 'TargetName' do
platform :ios, '8.0'
pod 'LaunchDarkly', '~> 3.0.1'
pod 'LaunchDarkly', '~> 3.0.2'
end
```

Expand All @@ -61,7 +61,7 @@ $ brew install carthage
To integrate LaunchDarkly into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "launchdarkly/ios-client" "3.0.1"
github "launchdarkly/ios-client" "3.0.2"
```

Run `carthage update` to build the framework. Optionally, specify the `--platform` to build only the frameworks that support your platform(s).
Expand Down

0 comments on commit d88384c

Please sign in to comment.