Skip to content
Omniture integration - react native
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__ Initial config Oct 30, 2016
android
ios
.babelrc
.buckconfig Initial config Oct 30, 2016
.flowconfig Initial config Oct 30, 2016
.gitignore Initial config Oct 30, 2016
.watchmanconfig Initial config Oct 30, 2016
LICENSE.md
README.md Update readme for license Sep 6, 2017
index.android.js
index.ios.js trackState iOS Nov 4, 2016
omniture.js
package.json react-native not required in package.json Nov 1, 2016

README.md

react-native-omniture

Code Example

import RNOmniture from 'react-native-omniture'
RNOmniture.trackAction('anyString', {yourContextDataObj})

Motivation

Adobe Android & iOS Mobile APIs exist for native android and iOS. So, exposing the same for React Native.

Installation

npm install --save github:vivekparekh8/react-native-omniture
Get libs for both from https://github.com/Adobe-Marketing-Cloud/mobile-services

  • For android, add your respective ADBMobileConfig.json for configuring your project under android/app/src/main/assets/
  • For iOS
  • add ADBMobile.h (downloaded from above url) to your React Native xcode project
  • add libsqlite.tbd, libsqlite3.0.tbd, AdobeMobileLibrary.a to dependencies (Link Binary with Libraries in Build Phases tab in xcode for each of your project targets)
  • Also, include your config JSON file in xcode project for each target

API Reference

Tests

Describe and show how to run the tests with code examples.

Contributors

Let people know how they can dive into the project, include important links to things like issue trackers, irc, twitter accounts if applicable.

License

JAR file and .A file for adobe sdk are subject to adobe's repository on github. https://github.com/Adobe-Marketing-Cloud/mobile-services/blob/master/LICENSE.md

You can’t perform that action at this time.