Skip to content

Commit afb3a61

Browse files
authored
Merge pull request #1 from lupidan/canary
v0.6.0: New version, critical bug fixed
2 parents 1d27467 + b5c6d85 commit afb3a61

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Changelog
2+
3+
## [0.6.0] - 2021-08-11
4+
- Fixes **major** bug of the package not returning the actual status code.
5+
6+
## [0.5.0] - 2021-07-18
7+
- Initial version
8+
- Support for iOS
9+
- Support for tvOS (Experimental)
10+
- Support to get the current App Tracking Transparency Status to get the IDFA
11+
- Support to request authorization for the IDFA
12+
- Editor implementation for the feature, imitating the native implementation.
13+
- Configurable automatic postprocessing, add required frameworks and required Info.plist entries
14+
15+
[Unreleased]: https://github.com/lupidan/unity-apptrackingtransparency/compare/v0.6.0...HEAD
16+
[0.6.0]: https://github.com/lupidan/unity-apptrackingtransparency/compare/v0.5.0...v0.6.0
17+
[0.5.0]: https://github.com/lupidan/unity-apptrackingtransparency/releases/tag/v0.5.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This plugin supports the following platforms:
2727

2828
## Installation
2929

30-
> Current version is v0.5.0
30+
> Current version is v0.6.0
3131
3232
Here is a list of available options to install the plugin
3333

@@ -37,7 +37,7 @@ Just add this line to the `Packages/manifest.json` file of your Unity Project:
3737

3838
```json
3939
"dependencies": {
40-
"com.lupidan.unity-apptrackingtransparency": "https://github.com/lupidan/unity-apptrackingtransparency.git?path=/com.lupidan.unity-apptrackingtransparency#v0.5.0"
40+
"com.lupidan.unity-apptrackingtransparency": "https://github.com/lupidan/unity-apptrackingtransparency.git?path=/com.lupidan.unity-apptrackingtransparency#v0.6.0"
4141
}
4242
```
4343

com.lupidan.unity-apptrackingtransparency/Runtime/Native/Ios/NativeAppTrackingTransparencyManager.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ - (void) initiateTrackingAuthorizationRequestWithRequestId:(uint)requestId {
5454

5555
}
5656

57-
- (void) handleTrackingAuthorizationRequestResult:(uint)rawAuthorizationRequest forRequestId:(uint)requestId {
57+
- (void) handleTrackingAuthorizationRequestResult:(uint)rawStatus forRequestId:(uint)requestId {
5858
if ([self callingOperationQueue]) {
5959
[[self callingOperationQueue] addOperationWithBlock:^{
6060
if ([self requestTrackingAuthorizationCallback] != NULL) {
61-
[self requestTrackingAuthorizationCallback](requestId, requestId);
61+
[self requestTrackingAuthorizationCallback](requestId, rawStatus);
6262
}
6363
}];
6464
} else {
6565
if ([self requestTrackingAuthorizationCallback] != NULL) {
66-
[self requestTrackingAuthorizationCallback](requestId, requestId);
66+
[self requestTrackingAuthorizationCallback](requestId, rawStatus);
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)