-
Notifications
You must be signed in to change notification settings - Fork 8
Authenticity iovation
Bazaarvoice has partenered with iovation, and industry leader in device reputation technology, to ensure authenticity of user generated content. The Bazaarvoice native mobile SDKs for Android and iOS support the ability to include the iovation fingerprint along with Conversations API requests using the BazaarRequest
request object.
Please contact your Bazaarvoice support representative to request an evaluation of the iovation integration. Further technical information can be found on the (Bazaarvoice developer portal)[https://developer.bazaarvoice.com/apis/conversations/tutorials/device_fingerprinting].
Once you have the iovation aar integrated into your project, the integration is very simple. For any SubmissionParams
object passed to the BazaarRequest#postSubmission(final RequestType type, BazaarParams params, final OnBazaarResponse listener)
, simply add these lines:
Java
BazaarRequest request = new BazaarRequest();
SubmissionParams params = new SubmissionParams();
...
String blackbox = getBlackbox(getContext().getApplicationContext());
params.setFingerprint(blackbox);
params.setAction(Action.SUBMIT);
...
request.postSubmission(RequestType.REVIEWS, params, listener);
The demo app ConversationsFragment contains the necessary integration code commented out, and can be enabled after adding the iovation aar to the project. If want to demo it follow these steps:
- Open the demo project
- Create a directory named
libs
in thebv-android-sdk/app/
directory - Drag and drop the deviceprint-release-2.3.0.aar into the
libs
directory - Uncomment the
compile(name:'deviceprint-release-2.3.0', ext:'aar')
line in thebv-android-sdk/app/build.gradle
file - Uncomment the sample lines in
ConversationsFragment#handleReviewSub()
- Configure the project with your Client ID and Conversations API Key in the
UserConfigurationImpl
class
That's it! Just run the app and view the BazaarRequest
requests when tapping the "Review" button in the "Content Submission" part of the Conversations demo page.
© 2016 Bazaarvoice, Inc.
Use of this SDK is contingent on your agreement and conformance with Bazaarvoice's API Terms of Use. Additionally, you agree to store all data acquired by this SDK or Bazaarvoice’s API only within the storage of the individual application instance using the SDK or API. You also agree to use the data acquired by the SDK or API only within the context of the same individual application instance and only for purposes consistent with that application’s purpose. Except as otherwise noted, the Bazaarvoice iOS SDK licensed under the Apache License, Version 2.0.