📖
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
  • Application Marketing
  • Web
  • Haptic Feedback
  • CollectAsState

Was this helpful?

  1. Features

Platform utilities

Application Marketing

  • Encourage users to rate your app without leaving it. This can boost your app's ratings and visibility in the app store:

inAppRating() 
  • Direct users to your app's store page to leave a review or explore more details with:

fun openAppStore() 
  • Share custom text content, perfect for spreading the word about your app on social media or messaging platforms:

fun shareText(text: String)
  • Increase your app's reach by sharing it directly, which allows you to send a personalized message along with the app's store link

fun shareApp(applicationId: String, message: (link: String) -> String)

Web

Direct users to a specific website or promotional page. This function opens the user's default browser to the specified URL:

fun openUrl(url: String)

Haptic Feedback

Enhance the tactile experience of your app with Haptic Feedback:

val haptic = LocalHapticFeedback.current
PrimaryButton("Vibrate") { 
    haptic.performHapticFeedback(HapticFeedbackType.LongPress)
} 

CollectAsState

Use this in shared code:

collectAsStateMultiplatform()

It takes into account collectAsStateWithLifecycle in Android.

PreviousLoggerNextMaps and locations

Last updated 1 year ago

Was this helpful?