Customize Text Messages
Customized Text Messages
The SDK provides for the implementation of custom text messages. All of them us the standard string resources. You can override all of them, but please follow the steps below to implement these custom messages.
Share Messages
Set the share message that display when an invite via “Invite via…” button in the contact list comes up. This will help you engage with potential new users in the contact list. The message will also include automatically generated via Branch.io deep links, so invited users can easily download and install the app. The Deep link will be added to the end of the message.
<!--Override value of this resources if needed-->
<!--Invite to Who's watching message template-->
<string name="slr_invite_whos_watching_template">Let’s watch together in the new %1$s mobile experience: Watch Parties, messaging, fantasy leagues, interactive games & more. %2$s</string>
<!--Invite to Watch party message template-->
<string name="slr_invite_to_watch_party_template">Join my Watch Party! Let’s watch the %1$s together in the new %1$s mobile experience. %2$s</string>
<!--Invite to Managed Watch party message template-->
<string name="slr_invite_to_managed_watch_party_template">Join me in our fantasy league’s Watch Party to watch league action together with the new interactive experience in the %1$s app. %2$s</string>
<!--Invite to Chat message template-->
<string name="slr_invite_messaging_template">I just sent you a message in the %1$s app. Press the invite link and we can watch and chat together in the new %1$s mobile experience. %2$s</string>
<!--Invite to Games message template-->
<string name="slr_invite_game_template">Compete against me in the new %1$s inplay game. Predictions, trivia and polls while hanging out and watching the %1$s LIVE — all in the new %1$s mobile experience. Game on. %2$s</string></string>The SDK will use App name instead of %1$s placeholder and Deep link instead of %2$s. You can override content of any template, but you need to keep %2$s at the end of them - otherwise SDK will not add an Deep link to message. In case when you want to use current templates and only replace App name with custom one you need to provide it using R.attr.slrAppName custom attribute at the SLRTheme.
Examples of usage can be found here
Wave Messages
Set the wave message that will be sent to contacts when the wave button is pushed. The message will be sent to your contact.
<!--override value of this resources if needed-->
<string name="slr_wave_message">Hey! Just got here!</string>Updated 6 months ago
