Skip to content

Adapptor/react-native-omniture

 
 

Repository files navigation

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

About

Omniture integration - react native

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 77.7%
  • Java 16.9%
  • JavaScript 4.0%
  • Ruby 1.4%