Skip to content

Commit

Permalink
Merge pull request #29 from AppsFlyerSDK/releases/6.x.x/6.4.x/6.4.0
Browse files Browse the repository at this point in the history
release 6.4.0
  • Loading branch information
af-margot authored Oct 1, 2021
2 parents 7f75db3 + a831052 commit e5b6035
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Versions

## 6.4.0
- update iOS SDK to 6.4.0
- update Android SDK to 6.4.0
- new API for iOS setCurrentDeviceLanguage
- new API setSharingFilterForPartners
- Deprecated API setSharingFilterForAllPartners and setSharingFilter

## 6.3.5
- update iOS SDK to 6.3.5
- new API for iOS setCurrentDeviceLanguage
Expand Down
48 changes: 42 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ In order for us to provide optimal support, we would kindly ask you to submit an
- [API methods](#api-methods)
- [setIsDebug](#setIsDebug)
- [stop](#stopTracking)
- [sharingFilter](#sharingFilter)
- [sharingFilterForAllPartners](#sharingFilterForAllPartners)
- [sharingFilter](#sharingFilter) [Deprecated]
- [sharingFilterForAllPartners](#sharingFilterForAllPartners) [Deprecated]
- [logEvent](#trackEvent)
- [getConversion Listener](#getConversionListener)
- [setUserEmails](#setUserEmails)
Expand Down Expand Up @@ -52,12 +52,13 @@ In order for us to provide optimal support, we would kindly ask you to submit an
- [setPartnerData](#partnerData)
- [setOneLinkCustomDomain](#customDomains)
- [setCurrentDeviceLanguage](#currentLang) *(ios only)*
- [setSharingFilterForPartners](#SharingFilterForPartners)


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

- Android AppsFlyer SDK **v6.3.2**
- iOS AppsFlyer SDK **v6.3.5**
- Android AppsFlyer SDK **v6.4.0**
- iOS AppsFlyer SDK **v6.4.0**


### <a id="integration"> Integration:
Expand Down Expand Up @@ -675,8 +676,8 @@ Partners and advertisers can add more data in SDK events.

```cpp
std::vector<std::string> domains;
partners.push_back("test.domain.com");
partners.push_back("myDomain.com");
domains.push_back("test.domain.com");
domains.push_back("myDomain.com");
AppsFlyerX::setOneLinkCustomDomain(domains);
```
Expand All @@ -696,6 +697,41 @@ Partners and advertisers can add more data in SDK events.
AppsFlyerX::setCurrentDeviceLanguage("English");
```

---

##### <a id="SharingFilterForPartners"> **`setSharingFilterForPartners(partners);`**
Used by advertisers to set some (one or more) networks/integrated partners to exclude from getting data.

| parameter | type | description |
| ----------- |-----------------------------|--------------|
| `partners` | `std::vector<std::string>` | partners to exclude from getting data


*Example:*

```cpp
std::vector<std::string> partners;
partners.push_back("partners_1");
AppsFlyerX::setSharingFilterForPartners(partners); // Single partner

std::vector<std::string> partners;
partners.push_back("partners_1");
partners.push_back("partners_2");
AppsFlyerX::setSharingFilterForPartners(partners); // Multiple partner

std::vector<std::string> partners;
partners.push_back("all");
AppsFlyerX::setSharingFilterForPartners(partners); // All partners

std::vector<std::string> partners;
partners.push_back("");
AppsFlyerX::setSharingFilterForPartners(partners); // Reset list (default)

std::vector<std::string> partners;
AppsFlyerX::setSharingFilterForPartners(partners); // Reset list (default)

```
---
## **Migration Guide to v6**
Expand Down

0 comments on commit e5b6035

Please sign in to comment.