Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### Version 4.11.5 (22nd August 2017)
#### Added
- **[iOS]** Added `Podspec` file for Cocoapods support (thanks to @pietropizzi, @tecbot and @dan-manges).

#### Native SDKs
- **[iOS]** [[email protected]][ios_sdk_v4.11.4]
- **[AND]** [[email protected]][android_sdk_v4.11.4]

---

### Version 4.11.4 (3rd August 2017)
#### Added
- **[AND]** Added support for `React Native 0.47.0 and higher` (thanks to @robertmerten and @ruiaraujo).
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ Then you must install the native dependencies. You can use `react-native` cli to
$ react-native link
```

**Or** if you use CocoaPods for **iOS**, add the following to your `Podfile` and run `pod install` afterwards:

```
pod 'react-native-adjust', :path => '../node_modules/react-native-adjust'
```

For **iOS**, you don't need to do anything else.

For **Android**, you *may* need to check if Adjust package was added to the native module's package list.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.11.4
4.11.5
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var AdjustConfig = function(appToken, environment) {
this.appToken = appToken;
this.environment = environment;

this.sdkPrefix = "react_native4.11.4";
this.sdkPrefix = "react_native4.11.5";
this.logLevel = null;

this.eventBufferingEnabled = null;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-adjust",
"description": "Adjust React Native SDK",
"version": "4.11.4",
"version": "4.11.5",
"main": "index.js",
"author": "adjust GmbH",
"license": "MIT",
Expand Down
22 changes: 22 additions & 0 deletions react-native-adjust.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.license = package['license']
s.author = package['author']
s.homepage = package['homepage']
s.source = { :git => 'https://github.com/adjust/react_native_sdk', :tag => s.version }

s.requires_arc = true
s.platform = :ios, '8.0'

s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js'
s.source_files = 'ios/*.{h,m}'

s.dependency 'Adjust', '~> 4.11.4'
end