Skip to content

Commit

Permalink
iOS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andr-ggn committed Apr 25, 2024
1 parent caa91bd commit fb3420d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,17 @@ public class AppsFlyerInterface extends EventDispatcher {
public function setSharingFilterForPartners(partners:Array):void {
}

public function enableTCFDataCollection(enable:Boolean):void {

}

public function setConsentForNonGDPRUser():void {

}

public function setConsentForGDPRUser(hasConsentForDataUsage:Boolean, hasConsentForAdsPersonalization:Boolean):void {

}
//
// public function subscribeForDeepLink():void {
// }
Expand Down
Binary file modified bin/AppsFlyerAIRExtension.ane
Binary file not shown.
4 changes: 2 additions & 2 deletions ios/AppsFlyerAIRExtension/AppsFlyerAIRExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ + (NSData *)dataFromHexString:(NSString *)string
return NULL;
}

// void UAppsFlyerSDKBlueprint::SetConsentForGDPRUser(bool hasConsentForDataUsage, bool hasConsentForAdsPersonalization)
// void SetConsentForGDPRUser(bool hasConsentForDataUsage, bool hasConsentForAdsPersonalization)
DEFINE_ANE_FUNCTION(SetConsentForGDPRUser)
{
uint32_t hasConsentForDataUsage;
Expand All @@ -503,7 +503,7 @@ + (NSData *)dataFromHexString:(NSString *)string

void AFExtContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx, uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)
{
*numFunctionsToTest = 32;
*numFunctionsToTest = 35;
FRENamedFunction* func = (FRENamedFunction*)malloc(sizeof(FRENamedFunction) * *numFunctionsToTest);

func[0].name = (const uint8_t*)"start";
Expand Down

0 comments on commit fb3420d

Please sign in to comment.