Package to support the Tealium Firebase Remote Command integration
npm install tealium-react-firebaseTo install the package into your React Native app:$ yarn add tealium-react-firebase
For iOS only,$ cd ios && pod install && cd ..
Setup the Firebase dependencies according to the standard guides for iOS and Android to get all required config into you project.
javascript
import FirebaseRemoteCommand from 'tealium-react-firebase';let config = TealiumConfig {
// ...
remoteCommands: [{
id: FirebaseRemoteCommand.name,
// Optional - path to local JSON mappings
// path: "firebase.json"
// Optional - path to remote JSON mappings
// url: "https://some.domain.com/firebase.json"
}]
}
``