RequestTrackingAuthorizationWithCompletionHandler hardcoded Adjust scene name
See original GitHub issueAdjust Event allow setting sceneName
public void setEventSuccessDelegate(Action<AdjustEventSuccess> eventSuccessDelegate, string sceneName = "Adjust")
But requestTrackingAuthorizationWithCompletionHandler is hardcoded scene name AdjustUnity.mm
void _AdjustRequestTrackingAuthorizationWithCompletionHandler() {
[Adjust requestTrackingAuthorizationWithCompletionHandler:^(NSUInteger status) {
NSString *stringStatus = [NSString stringWithFormat:@"%tu", status];
const char* charStatus = [stringStatus UTF8String];
UnitySendMessage([@"Adjust" UTF8String], "GetAuthorizationStatus", charStatus);
}];
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
iOS methods
requestTrackingAuthorizationWithCompletionHandler. Send the user's ATT authorization status to the Adjust ... statusCallback, string sceneName = "Adjust") ...
Read more >CHANGELOG.md - adjust/unity_sdk
Fixed hardcoded scene name under the hood of requestTrackingAuthorizationWithCompletionHandler method which caused that game object was always expected to ...
Read more >Create and use scenes in Home on iPhone
Edit a scene: Touch and hold a scene, then tap Edit Scene. You can change the scene's name, test the scene, add or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey guys. We just released Unity SDK v4.26.0 update (https://github.com/adjust/unity_sdk/releases/tag/v4.26.0). Change on this topic was that default
string
parameter was added as 2nd parameter ofrequestTrackingAuthorizationWithCompletionHandler
which is set to have scene name"Adjust"
, but you’re free to pick your own and hopefully callback should get fired to it now.Feel free to check it out and let us know if it solved this issue for you.
Hi @gtino
Aiming to have it live in next couple of days.
Cheers