Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
ios
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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