Giter VIP home page Giter VIP logo

aepsdk-edgeconsent-android's Introduction

Adobe Experience Platform Consent Collection Mobile Extension

About this project

The AEP Consent Collection mobile extension enables consent preferences collection from your mobile app when using the Adobe Experience Platform Mobile SDK and the Edge Network extension.

Installation

Integrate the Consent extension into your app by including the following in your gradle file's dependencies:

implementation 'com.adobe.marketing.mobile:edgeconsent:1.+'
implementation 'com.adobe.marketing.mobile:edge:1.+'
implementation 'com.adobe.marketing.mobile:core:1.+'

Development

Open the project

To open and run the project, open the code/settings.gradle file in Android Studio

Run demo application

Once you opened the project in Android Studio (see above), select the app runnable and your favorite simulator and run the program.

View the platform events with Assurance

Configure a new Assurance session by setting the Base URL to testapp://main and launch Assurance in the demo app by running the following command in your terminal:

$ adb shell am start -W -a  android.intent.action.VIEW -d "testapp://main?adb_validation_sessionid=ADD_YOUR_SESSION_ID_HERE" com.adobe.marketing.mobile.consenttestapp

Note: replace ADD_YOUR_SESSION_ID_HERE with your Assurance session identifier.

Once the connection is established and the events list starts getting populated, you can filter the Edge Consent extension events by typing Consent in the Search Events search box.

Code Format

This project uses the code formatting tools Spotless with Prettier. Formatting is applied when the project is built from Gradle and is checked when changes are submitted to the CI build system.

Prettier requires Node version 10+

To enable the Git pre-commit hook to apply code formatting on each commit, run the following to update the project's git config core.hooksPath:

make init

Related Projects

Project Description
AEP SDK Sample App for Android Contains Android sample app for the AEP SDK.

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

aepsdk-edgeconsent-android's People

Contributors

emdobrin avatar kevinlind avatar pravinpk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.