Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Integration

Follow the steps below to integrate the Story feature into your app.

iOS

  • Add below lines to your project target's Build Phases->Copy Bundle Resources section. Select Create folder references when prompted.

    Code Block
    Pods/VisilabsIOS/Sources/TargetingAction/Story/Views/timerView/timerView.xib

     

Android

No additional installation required

Usage

Use the following figure to add the Story property to your application.

  • Import the RDStoryView property.

    Code Block
    languagejs
    import { RDStoryView } from 'react-native-related-digital'

  • Alttaki kodu ekleyinAdd the code below.
    actionId: RMC panelinde story özelliğini oluşturduğunuz url’deki actionid parametresinin değeri. Eğer bu parametreyi göndermezseniz hesabınızda tanımlanmış en son story’i getirecektir.The value of the actionid parameter in the url where you created the story property in the RMC panel. If you don't send this parameter, it will fetch the last story defined in your account.

    Code Block
    languagejs
    <RDStoryView
      actionId={'1'} // opsiyonel
      onItemClicked={(data) => { 
        console.log('Story data', data)
      }}
      style={{ flex: 1 }}
    />

Ui button
colorgreen
titleSonraki Adıma GeçNext Step
urlhttps://relateddigital.atlassian.net/wiki/spaces/RMCKBTKB/pages/10876682322194079748/React+Native+-+EuromsgApp+Tracker