CleverPush Developer Docs

CleverPush Developer Docs

  • SDK Docs
  • API Overview
  • API Reference

›Android SDK

JavaScript SDK

  • Setup
  • Methods

iOS SDK

  • Setup
  • Methods
  • Inbox View
  • Chat
  • Stories
  • Deep Links
  • Live Activities
  • Troubleshooting
  • Changelog

Android SDK

  • Setup
  • Methods
  • Notification Extender Service
  • Inbox View
  • Chat
  • Stories
  • Deep Links
  • Troubleshooting
  • Upgrading
  • Changelog

Capacitor SDK

  • Setup
  • Methods

Cordova SDK

  • Setup
  • Methods
  • Changelog

React Native SDK

  • Setup
  • Methods
  • Changelog

Xamarin SDK

  • Setup
  • Methods
  • Changelog

Flutter SDK

  • Setup
  • Methods
  • Chat
  • Troubleshooting
  • Changelog

Stories

CleverPush Story Widget

You can also implement CleverPush Stories into your application. For this, please set up a Story Widget in your CleverPush account. You can access stories via generated Widget Id and by following usage guide.

Story View

Screenshot_1626271406

Story Player

Screenshot_1626271443

How to use

Add xml to your layout


<com.cleverpush.stories.StoryView
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  app:background_color="#000"
  app:border_color="#cA4000"
  app:fontFamily="CabinSketch-Bold"
  app:story_view_height="500dp"
  app:story_view_width="700dp"
  app:text_color="#fff"
  app:widget_id="o76hjaysdgohltyil" />

  • widget_id Set the Story Widget ID using this attribute

Customizations

You can customize the experience of StoryView using these attributes:

  • story_view_height story view height in dp
  • story_view_width story view width in dp
  • border_color border color
  • background_color story view background color
  • text_color text color
  • font_family text font family
← ChatDeep Links →
  • CleverPush Story Widget
    • Story View
    • Story Player
    • How to use
    • Customizations
SDKs
JavaScriptiOSAndroidCordovaCapacitorReact NativeXamarinFlutter
Community
TwitterFacebookGitHub
More
API ReferenceAPI OverviewBlogImprintPrivacy PolicyTerms of serviceGDPR
Copyright © 2023 CleverPush