Skip to content

Commit af2ed41

Browse files
authored
6.4.40
6.4.40
2 parents f41109b + ad5dc06 commit af2ed41

File tree

84 files changed

+820
-532
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+820
-532
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Tests
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Install modules
11+
run: npm install
12+
- name: Run tests
13+
run: npm run test

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ coverage/
5454
package-lock.json
5555

5656
# Sample App
57-
SampleApps/AppsFlyerExample/.DS_Store
58-
SampleApps/AppsFlyerExample/node_modules
59-
SampleApps/AppsFlyerExample/ios/Podfile.lock
60-
SampleApps/AppsFlyerExample/ios/Pods
57+
demos/appsflyer-react-native-app/.DS_Store
58+
demos/appsflyer-react-native-app/node_modules
59+
demos/appsflyer-react-native-app/ios/Podfile.lock
60+
demos/appsflyer-react-native-app/ios/Pods

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 6.4.40
2+
Release date: *2021-December-12*
3+
4+
- React Native Plugin - add support for the setPartnerData API
5+
- React Native > fix WARN new NativeEventEmitter() for RN 0.66
6+
- React Native > Update native sdk to 6.4.4
7+
- React Native > remove jCenter from build.gradle
8+
19
## 6.4.0
210
- Android SDK 6.4.0
311
- iOS SDK 6.4.0

Docs/API.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
- [disableSKAD](#disableSKAD)
3535
- [setCurrentDeviceLanguage](#setCurrentDeviceLanguage)
3636
- [setSharingFilterForPartners](#setSharingFilterForPartners)
37+
- [setPartnerData](#setPartnerData)
3738

3839
---
3940

@@ -918,3 +919,25 @@ appsFlyer.setSharingFilterForPartners(['all']);
918919
appsFlyer.setSharingFilterForPartners(['googleadwords_int', 'all']); // All partners
919920
```
920921
---
922+
##### <a id="setPartnerData"> **`setPartnerData(partnerId, partnerData)`**
923+
924+
Allows sending custom data for partner integration purposes.
925+
926+
927+
| parameter | type | description |
928+
| ---------- |----------|------------------ |
929+
| partnerId | string | ID of the partner (usually suffixed with "_int") |
930+
| partnerData | object | Customer data, depends on the integration configuration with the specific partner |
931+
932+
*Example:*
933+
934+
```javascript
935+
let partnerId = 'fb_int';
936+
let partnerData = {
937+
param1: 'foo',
938+
param2: {price: 10, nickName: 'bar'},
939+
param3: 'bar',
940+
};
941+
appsFlyer.setPartnerData(partnerId, partnerData);
942+
```
943+
---

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
### <a id="plugin-build-for"> This plugin is built for
2323

24-
- iOS AppsFlyerSDK **v6.4.0**
25-
- Android AppsFlyerSDK **v6.4.0**
24+
- iOS AppsFlyerSDK **v6.4.4**
25+
- Android AppsFlyerSDK **v6.4.3**
2626

2727
## <a id="breaking-changes"> ❗ Breaking Changes
2828

@@ -79,7 +79,7 @@ If your app does not support autolinking, check out the Installation Guide [here
7979
Starting from version **6.1.10** iOS SDK comes in two variants: **Strict** mode and **Regular** mode. Please read more [here](https://support.appsflyer.com/hc/en-us/articles/207032066#integration-strict-mode-sdk) <br>
8080
***Version <= 6.3.0:*** read this section of the README.md in branch: `releases/6.x.x/6.3.x/6.3.0`<br>
8181
***Change to Strict mode***<br>
82-
After you [installed](#installation) the AppsFlyer plugin, add `$RNAppsFlyerStrictMode=true` in the project's Podfile:
82+
1. After you [installed](#installation) the AppsFlyer plugin, add `$RNAppsFlyerStrictMode=true` in the project's Podfile:
8383
```
8484
//MyRNApp/ios/Podfile
8585
...
@@ -90,20 +90,12 @@ use_frameworks!
9090
...
9191
9292
```
93-
In the `ios` folder of your `root` project Run `pod install`
93+
2. In the `ios` folder of your `root` project Run `pod install`
9494

9595
***Change to Regular mode***<br>
96-
Remove `$RNAppsFlyerStrictMode=true` from the project's Podfile or set it to `false`:
97-
```
98-
//MyRNApp/ios/Podfile
99-
...
100-
use_frameworks!
101-
$RNAppsFlyerStrictMode=false //OR remove this line
96+
1. Remove `$RNAppsFlyerStrictMode=true` from the project's Podfile or set it to `$RNAppsFlyerStrictMode=false`
10297

103-
# Pods for MyRNApp
104-
...
105-
```
106-
In the `ios` folder of your `root` project Run `pod install`
98+
2. In the `ios` folder of your `root` project Run `pod install`
10799
## <a id="init-sdk"> 🚀 Initializing the SDK
108100

109101
Initialize the SDK to enable AppsFlyer to detect installations, sessions (app opens) and updates.<br>

SampleApps/AppsFlyerExample/components/HomeScreen.js

Lines changed: 0 additions & 200 deletions
This file was deleted.

0 commit comments

Comments
 (0)