Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

  • Import the RDStoryView property.

    import { RDStoryView } from 'react-native-related-digital'

  • Add the code below.
    actionId: 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.

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

Next Step

  • No labels