-
Notifications
You must be signed in to change notification settings - Fork 0
Experiences
Andrew Clunis edited this page May 24, 2019
·
2 revisions
Rover Experiences are provided by this module.
Info: Rover Experiences are rendered by the standalone Rover SDK, linked to by this module of the Rover Campaigns SDK.
Add RoverActivity
to your AndroidManifest.xml
, setting a Material theme
such that the toolbar will properly display your brand colours:
<activity
android:name="io.rover.sdk.ui.containers.RoverActivity"
android:theme="@style/AppTheme.NoActionBar"
/>
Note that you must use a theme that disables the built-in Android AppBar because
our view embeds an explicit Android toolbar. Here’s an example definition for
AppTheme
above:
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/myBrandColorPrimary</item>
<item name="colorPrimaryDark">@color/myBrandColorPrimaryDark</item>
<item name="colorAccent">@color/myBrandColorAccent</item>
</style>
At this point Experiences can be launched through either deep or universal links, or by Notifications if you have the Notifications module installed and configured.