📖
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
  • Initialization
  • Error logging

Was this helpful?

  1. Features

Application monitoring

Find here all you need to know about application monitoring and Sentry + Napier use.

PreviousSettingsNextNotifications

Last updated 1 year ago

Was this helpful?

On debug Sentry is not initialized.

On release Sentry is initialized in AppInitializer#initialize function.

Initialization

The initialize function is based on SENTRY_DSN which is created via BuildKonfig. The secret DSN is retrived from the local.properties file in build.gradle.

Learn more about secrets and BuildKonfig .

All you need to do is write the DSN of your app in local.properties file. You can get this on your Sentry dashboard when you create your project:

# Sentry
sentry_dsn=

Error logging

On release we use SentryAntilog instead of DebugAntilog and this enables the project to captureException when log level is ERROR.

You can find this code on NapierLogger.kt file.

here