📖
AppKickstarter docs
  • Get Started
    • Get started
    • Initialize third parties
    • Project organization
    • Application initialization
  • Tech things
    • Multi modules Architecture
    • Dependency injection
    • Library management
    • Secrets and Build Config
    • Backend as an implementation detail
  • Tutorials
    • Add a login page
    • Add a screen with tab bars
    • Add a settings screen
    • Display an In-App Changelog for a new published version
    • Update localizations
    • Update theme
    • Customize onboarding
    • Setup your paywall
    • Setup your first notifications
    • Format dates and save on database
    • Using a Different Backend Instead of Firebase
    • Make an infinite list with pagination
  • Features
    • Onboarding
    • Authentication
    • Firebase support
    • Offline support
    • Monetization
    • Whats new feature
    • Navigation in AppKickstarter
    • Theme
    • UI Kit
    • Dates management
    • Platform specific
    • Offline cache
    • Translations
    • Analytics
    • User management
    • Logger
    • Platform utilities
    • Maps and locations
    • Secured AI Backend Proxy
    • Settings
    • Application monitoring
    • Notifications
  • UI Kit
    • Adaptive
    • Advanced Components
    • Animated Components
    • Badges
    • Buttons
    • Cards
    • Containers
    • Dialogs
    • EmptyStates
    • Icons
    • Images
    • Lists
    • Modals
    • Tabs
    • Texts
    • Text fields
    • Toasts
    • Toggles
  • Other
    • Known issues
Powered by GitBook
On this page
  • In-App Changelog content
  • Update the latest version seen

Was this helpful?

  1. Tutorials

Display an In-App Changelog for a new published version

In-App Changelog is a great way to engage your users. Learn here how to display the In-App Changelog with a new published version

In-App Changelog content

In LocalGetWhatsNewRepository find a whatsNewFor function that returns a list of FeatureItemData.

A FeatureItemData is just a data class with

  • an image vector

  • an icon tint color

  • an icon background color

  • a title

  • a description

This way in whatsNewFor you can do this:

return when (build) {
    "3" -> changelog3
    "4" -> changelog4 
    etc
}

The title and description can be localized like :

FeatureItemData(
    imageVector = Icons.Rounded.Collections,
    iconTint = Color(0XFF161415),
    iconBackgroundColor = Color(0xFFb4a13e),
    title = SharedRes.strings.collection_feature,
    text = SharedRes.strings.collection_feature_description
)

Get In-App Changelog from server

The function whatsNewFor is a suspend function: this means you can easily plugs a connexion to a server to fetch the in-app changelog. Example:

class WhatsNewRepository(inAppChangelogApi: InAppChangelogApi) {

    suspend fun whatsNewFor(build: String): List<FeatureItemData> {
        return inAppChangelogApi.get(build)
    }
}

Update the latest version seen

UpdatesLatestWhatsNewSeen

PreviousAdd a settings screenNextUpdate localizations

Last updated 1 year ago

Was this helpful?

Learn more about localization .

here