From 06730a64a0772acadd00a813b59941f076ed7ab4 Mon Sep 17 00:00:00 2001 From: Curtis Liu Date: Fri, 29 May 2015 11:46:48 -0700 Subject: [PATCH] Release 2.5.0 --- Amplitude-iOS.podspec | 4 ++-- Amplitude/AMPConstants.m | 2 +- CHANGELOG.md | 2 ++ README.md | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Amplitude-iOS.podspec b/Amplitude-iOS.podspec index 3d51f375..eb8da2b9 100644 --- a/Amplitude-iOS.podspec +++ b/Amplitude-iOS.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Amplitude-iOS" - s.version = "2.4.0" + s.version = "2.5.0" s.summary = "Amplitude mobile analytics iOS SDK." s.homepage = "https://amplitude.com" s.license = { :type => "MIT" } s.author = { "Amplitude" => "dev@amplitude.com" } - s.source = { :git => "https://github.com/amplitude/Amplitude-iOS.git", :tag => "v2.4.0" } + s.source = { :git => "https://github.com/amplitude/Amplitude-iOS.git", :tag => "v2.5.0" } s.platform = :ios, '5.0' s.source_files = 'Amplitude/*.{h,m}' s.requires_arc = true diff --git a/Amplitude/AMPConstants.m b/Amplitude/AMPConstants.m index ac5af8e8..037abe22 100644 --- a/Amplitude/AMPConstants.m +++ b/Amplitude/AMPConstants.m @@ -5,7 +5,7 @@ NSString *const kAMPLibrary = @"amplitude-ios"; NSString *const kAMPPlatform = @"iOS"; -NSString *const kAMPVersion = @"2.4.0"; +NSString *const kAMPVersion = @"2.5.0"; NSString *const kAMPEventLogDomain = @"api.amplitude.com"; NSString *const kAMPEventLogUrl = @"https://api.amplitude.com/"; const int kAMPApiVersion = 2; diff --git a/CHANGELOG.md b/CHANGELOG.md index 37ee72e0..c4cf6478 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Unreleased +## 2.5.0 (May 29, 2015) + * Static methods are now deprecated. Use the [Amplitude instance] singleton instead. * Enable configuration of eventUploadThreshold, eventMaxCount, eventUploadMaxBatchSize, eventUploadPeriodSeconds, minTimeBetweenSessionsMillis, diff --git a/README.md b/README.md index ae65be16..11bd5cc5 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A [demo application](https://github.com/amplitude/iOS-Demo) is available to show # Setup # 1. If you haven't already, go to https://amplitude.com and register for an account. You will receive an API Key. -2. [Download the source code](https://github.com/amplitude/Amplitude-iOS/archive/master.zip) and extract the zip file. Alternatively, you can pull directly from GitHub. If you use Cocoapods, add the following line to your Podfile: `pod 'Amplitude-iOS', '~> 2.4'` +2. [Download the source code](https://github.com/amplitude/Amplitude-iOS/archive/master.zip) and extract the zip file. Alternatively, you can pull directly from GitHub. If you use Cocoapods, add the following line to your Podfile: `pod 'Amplitude-iOS', '~> 2.5'` 3. Copy the Amplitude-iOS folder into the source of your project in XCode. Check "Copy items into destination group's folder (if needed)". 4. In every file that uses analytics, import Amplitude.h at the top: