adobe / cordova-acpcore Goto Github PK
View Code? Open in Web Editor NEWAdobe Experience Platform - Core plugin for Cordova apps.
License: Apache License 2.0
Adobe Experience Platform - Core plugin for Cordova apps.
License: Apache License 2.0
ACPCore should be found.
ACPCore is not found.
npm i @adobe/cordova-acpcore
ionic cordova plugin add @adobe/cordova-acpcore
ionic cordova build ios
press play in xcode
Ionic:
Ionic CLI : 5.4.16
Ionic Framework : @ionic/angular 5.1.1
@angular-devkit/build-angular : 0.901.12
@angular-devkit/schematics : 9.1.7
@angular/cli : 9.1.7
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 8.0.0
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, (and 24 other plugins)
Utility:
cordova-res (update available: 0.15.3) : 0.15.2
native-run : not installed
System:
ios-sim : 8.0.2
NodeJS : v12.13.0 (/usr/local/bin/node)
npm : 6.12.0
OS : macOS Big Sur
Xcode : Xcode 12.5 Build version 12E262
setPrivacyStatus should set the status according to the value that is passed to it.
privacyStatus is always set to 2 (Unknown)
when i call ACPCore.setPrivacyStatus(ACPCore.ACPMobilePrivacyStatusOptIn, this.trackingSuccess, this.trackingError);
in my service and directly after that call ACPCore.setPrivacyStatus.getPrivacyStatus(....
it returns 2;
My ACPCore set-up seems to be correct, it calls the function of the Plugin with the correct value.
If i call ACPCore.setPrivacyStatus directly from swift code it also works. And events are being sent.
call ACPCore.setPrivacyStatus(ACPCore.ACPMobilePrivacyStatusOptIn ...
see in xcode that reqauests are being queued
ios 12.1
allowTrackingChange(allow: boolean) {
if (!allow) {
ACPCore.setPrivacyStatus(ACPCore.ACPMobilePrivacyStatusOptOut, this.trackingSuccess, this.trackingError);
} else {
ACPCore.setPrivacyStatus(ACPCore.ACPMobilePrivacyStatusOptIn, this.trackingSuccess, this.trackingError);
}
ACPCore.getPrivacyStatus(status => console.log(status)) // returns 2
}
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.