You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,20 @@
1
+
### Version 4.23.0 (28th August 2020)
2
+
#### Added
3
+
- Added communication with SKAdNetwork framework by default on iOS 14.
4
+
- Added method `deactivateSKAdNetworkHandling` method to `AdjustConfig` to switch off default communication with SKAdNetwork framework in iOS 14.
5
+
- Added wrapper method `requestTrackingAuthorizationWithCompletionHandler` to `Adjust` to allow asking for user's consent to be tracked in iOS 14 and immediate propagation of user's choice to backend.
6
+
- Added handling of new iAd framework error codes introduced in iOS 14.
7
+
- Added sending of value of user's consent to be tracked with each package.
8
+
- Added `setUrlStrategy` method to `AdjustConfig` class to allow selection of URL strategy for specific market.
9
+
10
+
⚠️ **Note**: iOS 14 beta versions prior to 5 appear to have an issue when trying to use iAd framework API like described in [here](https://github.com/adjust/ios_sdk/issues/452). For testing of v4.23.0 version of SDK in iOS, please make sure you're using **iOS 14 beta 5 or later**.
@@ -271,20 +275,89 @@ The Google Play Store `INSTALL_REFERRER` intent should be captured with a broadc
271
275
272
276
Please bear in mind that, if you are using your own broadcast receiver which handles the `INSTALL_REFERRER` intent, you don't need to add the Adjust broadcast receiver to your manifest file. You can remove it, but inside your own receiver add the call to the Adjust broadcast receiver as described in our [Android guide][broadcast-receiver-custom].
273
277
278
+
#### <aid="android-huawei-referrer-api"></a>Huawei Referrer API
279
+
280
+
As of v4.22.0, the Adjust SDK supports install tracking on Huawei devices with Huawei App Gallery version 10.4 and higher. No additional integration steps are needed to start using the Huawei Referrer API.
281
+
274
282
### <aid="ios-frameworks"></a>iOS frameworks
275
283
276
-
Select your project in the Project Navigator. In the left hand side of the main view, select your target. In the tab `Build Phases`, expand the group `Link Binary with Libraries`. On the bottom of that section click on the `+` button. Select the `AdSupport.framework` and click the `Add` button. Unless you are using `tvOS`, repeat the same steps to add the `iAd.framework`and `CoreTelephony.framework`. Change the `Status` of both frameworks to `Optional`. Adjust SDK uses these frameworks with following purpose:
284
+
Select your project in the Project Navigator. In the left hand side of the main view, select your target. In the tab `Build Phases`, expand the group `Link Binary with Libraries`. On the bottom of that section click on the `+` button. Select the `AdSupport.framework` and click the `Add` button. Unless you are using `tvOS`, repeat the same steps to add the `iAd.framework`, `CoreTelephony.framework`, `AppTrackingTransparency.framework`and `StoreKit.framework`. Change the `Status` of both frameworks to `Optional`. Adjust SDK uses these frameworks with following purpose:
277
285
278
286
*`iAd.framework` - in case you are running iAd campaigns
279
287
*`AdSupport.framework` - for reading iOS Advertising Id (IDFA)
280
288
*`CoreTelephony.framework` - for reading MCC and MNC information
289
+
*`StoreKit.framework` - for communication with SKAdNetwork framework
290
+
*`AppTrackingTransparency.framework` - to ask for user's consent to be tracked and obtain status of that consent
281
291
282
-
If you are not running any iAd campaigns, you can feel free to remove the `iAd.framework` dependency.
292
+
If you are not running any iAd campaigns, you can feel free to remove the `iAd.framework` dependency. If you don't use SKAdNetwork framework, feel free to remove `StoreKit.framework` dependency (unless you need it for something else).
283
293
284
294
## <aid="additional-features"></a>Additional features
285
295
286
296
You can take advantage of the following features once the Adjust SDK is integrated into your project.
**Note**: This feature exists only in iOS platform.
301
+
302
+
For each package sent, the Adjust backend receives one of the following four (4) states of consent for access to app-related data that can be used for tracking the user or the device:
303
+
304
+
- Authorized
305
+
- Denied
306
+
- Not Determined
307
+
- Restricted
308
+
309
+
After a device receives an authorization request to approve access to app-related data, which is used for user device tracking, the returned status will either be Authorized or Denied.
310
+
311
+
Before a device receives an authorization request for access to app-related data, which is used for tracking the user or device, the returned status will be Not Determined.
312
+
313
+
If authorization to use app tracking data is restricted, the returned status will be Restricted.
314
+
315
+
The SDK has a built-in mechanism to receive an updated status after a user responds to the pop-up dialog, in case you don't want to customize your displayed dialog pop-up. To conveniently and efficiently communicate the new state of consent to the backend, Adjust SDK offers a wrapper around the app tracking authorization method described in the following chapter, App-tracking authorization wrapper.
**Note**: This feature exists only in iOS platform.
320
+
321
+
Adjust SDK offers the possibility to use it for requesting user authorization in accessing their app-related data. Adjust SDK has a wrapper built on top of the [requestTrackingAuthorizationWithCompletionHandler:](https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/3547037-requesttrackingauthorizationwith?language=objc) method, where you can as well define the callback method to get information about a user's choice. Also, with the use of this wrapper, as soon as a user responds to the pop-up dialog, it's then communicated back using your callback method. The SDK will also inform the backend of the user's choice. Integer value will be delivered via your callback method with the following meaning:
**Note**: This feature exists only in iOS platform.
352
+
353
+
If you have implemented the Adjust iOS SDK v4.23.0 or above and your app is running on iOS 14, the communication with SKAdNetwork will be set on by default, although you can choose to turn it off. When set on, Adjust automatically registers for SKAdNetwork attribution when the SDK is initialized. If events are set up in the Adjust dashboard to receive conversion values, the Adjust backend sends the conversion value data to the SDK. The SDK then sets the conversion value. After Adjust receives the SKAdNetwork callback data, it is then displayed in the dashboard.
354
+
355
+
In case you don't want the Adjust SDK to automatically communicate with SKAdNetwork, you can disable that by calling the following method on configuration object:
356
+
357
+
```js
358
+
adjustConfig.deactivateSKAdNetworkHandling();
359
+
```
360
+
288
361
### <aid="event-tracking"></a>Event tracking
289
362
290
363
You can use Adjust to track all kinds of events. Let's say you want to track every tap on a button. Simply create a new event token in your [dashboard]. Let's say that event token is `abc123`. You can add the following line in your button’s click handler method to track the click:
0 commit comments