Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4.21.0 #414

Merged
merged 25 commits into from
Mar 19, 2020
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5f86c92
Update web_views.md
Mar 4, 2020
2a85ec3
Add additional parameters to ad_revenue package
uerceg Feb 28, 2020
9de6c69
Project updates
uerceg Feb 28, 2020
21465fe
Add dedicated backoff strategy for install session package
uerceg Feb 28, 2020
e7f7fbe
Initial addressing of archiveRootObject:toFile: iOS 13 deprecation
uerceg Feb 28, 2020
4f07ab7
Refactor object writing method
uerceg Mar 5, 2020
a191250
Unarchiving logic update
uerceg Mar 5, 2020
7c9b5d9
Add reflection call for sigv2 plugin
nonelse Mar 3, 2020
ea35910
Inject authorization header from sigv2
nonelse Mar 4, 2020
666cf69
Add enable/disable signing for tests
nonelse Mar 5, 2020
8aedef7
Move authorization header logging
nonelse Mar 6, 2020
bb3c447
Replace enabled with enableSigning
nonelse Mar 11, 2020
9a6bd8f
Fix crash when valueDecoded is nil
marinofelipe Nov 1, 2019
0bf89c5
New version 4.21.0
uerceg Mar 16, 2020
e4e7499
CHANGELOG.md update
uerceg Mar 16, 2020
66e08b6
Fix typo in ATAAdjustCommandExecutor
uerceg Mar 16, 2020
8fe11bf
Add missing parameters to ad_revenue package
uerceg Mar 16, 2020
79f5d30
Reset correctly attribution delegate after each test
nonelse Mar 16, 2020
e611f3a
Warn when file in path not found and rewording
uerceg Mar 18, 2020
d47def2
Add possibility to prevent iAd and IDFA collection
uerceg Mar 18, 2020
3235a98
Warn in case iAd or IDFA reading has been switched off
uerceg Mar 18, 2020
2551f6d
Add iAd and IDFA reading commands to command executor
uerceg Mar 18, 2020
746f87a
CHANGELOG.md update
uerceg Mar 18, 2020
be5103f
Debug after all
uerceg Mar 19, 2020
07793e4
Check for API presence for tvOS target as well
uerceg Mar 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions Adjust/ADJAdjustFactory.m
Original file line number Diff line number Diff line change
@@ -234,8 +234,8 @@ + (void)setGdprUrl:(NSString *)gdprUrl {
internalGdprUrl = gdprUrl;
}

+ (void)enabledSigning {
Class signerClass = NSClassFromString(@"libyoga");
+ (void)enableSigning {
Class signerClass = NSClassFromString(@"ADJSigner");
if (signerClass == nil) {
return;
}
@@ -245,11 +245,18 @@ + (void)enabledSigning {
return;
}

[signerClass performSelector:enabledSEL];
IMP enableIMP = [signerClass methodForSelector:enabledSEL];
if (!enableIMP) {
return;
}

void (*enableFunc)(id, SEL) = (void *)enableIMP;

enableFunc(signerClass, enabledSEL);
}

+ (void)disableSigning {
Class signerClass = NSClassFromString(@"libyoga");
Class signerClass = NSClassFromString(@"ADJSigner");
if (signerClass == nil) {
return;
}
@@ -259,7 +266,14 @@ + (void)disableSigning {
return;
}

[signerClass performSelector:disableSEL];
IMP disableIMP = [signerClass methodForSelector:disableSEL];
if (!disableIMP) {
return;
}

void (*disableFunc)(id, SEL) = (void *)disableIMP;

disableFunc(signerClass, disableSEL);
}

+ (void)teardown:(BOOL)deleteState {
2 changes: 1 addition & 1 deletion Adjust/Adjust.m
Original file line number Diff line number Diff line change
@@ -495,7 +495,7 @@ - (void)setTestOptions:(AdjustTestOptions *)testOptions {
}

if (testOptions.enableSigning) {
[ADJAdjustFactory enabledSigning];
[ADJAdjustFactory enableSigning];
}

if (testOptions.disableSigning) {