adobe / aepsdk-sample-app-ios Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Please update the documentation that describes how to implement AEP Assurance when using ACP v2.x SDKs
https://aep-sdks.gitbook.io/docs/foundation-extensions/adobe-experience-platform-assurance
Team, when i use: AEPMobileTarget getThirdPartyId .
based on below code base,getting "No third party id available."
requestParameters.add(["third-party-id":MFAdobeTracker.shared()?.getThirdyPartyID() as Any])
NSString *thirdPartId = [[MFAdobeTracker sharedTracker] getThirdyPartyID];
if (thirdPartId) {
[clientParams setObject:thirdPartId forKey:@"third-party-id"];
}
——————————————————--------------------
(NSString *_Nullable)getThirdyPartyID {
dispatch_group_t thirdPartyID = dispatch_group_create();
dispatch_group_enter(thirdPartyID);
__block NSString *trackingUniqueIdentifier = nil;
dispatch_group_async(thirdPartyID,dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0) , ^{
[AEPMobileTarget getThirdPartyId:^(NSString * _Nullable trackingIdentifier, NSError * _Nullable error) {
if (error) {
[[MVMCoreLoggingHandler sharedLoggingHandler] addErrorToLog:[MVMCoreErrorObject createErrorObjectForNSError:error location:@"MFAdobeTracker->getThirdPartyId"]];
} else {
if (trackingIdentifier.length > 0) {
trackingUniqueIdentifier = trackingIdentifier;
}
}
dispatch_group_leave(thirdPartyID);
}];
});
//Waiting upto one second to get visitorTrackingUniqueID if not returns nil
dispatch_group_wait(thirdPartyID,dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)));
return trackingUniqueIdentifier;
}
————————————————---------------------------------
Getting below console Log:
**2023-03-15 06:20:44.559806+0530 My Verizon[68230:7883185] [AEP SDK WARNING - ] Unable to handle response, No third party id available.
Adding error to log: {
Code = 1A;
Domain = ErrorDomainSystem;
Location = "MFAdobeTracker->getThirdPartyId";
Time = "15/03/23, 6:20:44 AM IST";
appState = active;
appVersion = "10.5.1";
message = "Unable to handle response, No third party id available.";
userMessage = "The operation couldn\U2019t be completed. (AEPTarget.TargetError error 1.)";
}**
————————————————---------------------------
AEPMobileTarget getThirdPartyId:^(NSString * _Nullable getThirdPartyId, NSError *error) {
if (error != nil) {
// Handle error
return;
}
NSLog(@"%@", getThirdPartyId);
}];
team, AEPMobileTarget getThirdPartyId getting always "nil" value.
how i can get value insteadOf nil.
Sample app should build for iOS Swift.
Sample app does not build for iOS Swift.
git clone https://github.com/adobe/aepsdk-sample-app-ios.git
cd aepsdk-sample-app-ios/Swift
pod install
open AEPSampleApp.xcworkspace
(in xCode) : Select iPhone 11 simulator
(in xCode) : Click the "Play" Icon to build and run for the selected simulator.
=========
Build Fails:
Analytics.swift (line 160)
Edge.sendEvent(experienceEvent: experienceEvent, responseHandler: nil)
Extraneous argument label 'responseHandler:' in call
=========
After a manual fix to this line, the build then succeeds.
See above.
Mac OS Big Sur 11.1 (20C69)
xCode Version 12.3 (12C33)
Build without an error
Build failed with the following error.
.../aepsdk-sample-app-ios/Swift/AEPSampleApp/EdgeIdentityView.swift:138:50: Type 'Identity' has no member 'getUrlVariables'
To fix the problem, need to use the newer AEPEdgeIdentity
pod.
e.g.
In Podfile.lock
change from
- AEPEdgeIdentity (1.0.1):
to
- AEPEdgeIdentity (1.1.0):
Follow https://github.com/adobe/aepsdk-sample-app-ios#swift
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.