Repro - Mobile Analytics for growth
日本語
Sign Up Back to Dashboard
  • System Requirements
  • Dashboard Guide
  • Development Guide
    • Signup
    • iOS/Android SDK
      • Get Started
      • Session Lifecycle
        • iOS/Android
          • Period of session
          • The beginning of session
          • The end of session
      • User ID
      • Device ID
      • User Profile
      • Event Tracking
      • Push Notification
      • NewsFeed
      • In-App Message
      • Silver Egg Recommendation Messages
      • Remote Config
      • WebView
      • Opt-out feature
      • Settings regarding the collection of advertiser IDs
      • Registering an user device into a specific audience with the help of a QR code
      • Set attribution data from Adjust to Repro
      • Set attribution data from AppsFlyer to Repro
      • Log Level
      • Verification Method
    • Web
    • Audience API
    • Audience Import(β)
    • Push API
    • User Profile API
    • User Profile Bulk Import
    • NewsFeed API
    • Deletion Targeted User Registration API
    • Booster installation guide
    • Mail(β)
  • Release Notes
  • FAQ

Session Lifecycle¶

iOS/Android¶

We regard your app's lifecycle from its start-up until it goes to the background as session. Every tracked data belongs to one of the sessions.

Period of session¶

The period of session depends on the end users' behavior; however, there is no systematical limit to it.

The beginning of session¶

There are two cases that a session begins.

When the app starts as the initial state¶

The following cases count as a first time app launch:

  1. The app has not been launched since the device booted up.

  2. The app was intentionally terminated from "recently used apps" by the user.

  3. The app was terminated by the system.

In above cases, the session begins after you call setup. When setup is called, SDK will communicate with Repro's server and receive the configuration for tracking, in-app messages and so on. The session begins when Repro is activated in configuration.

When the app resumes from background¶

The app resumes when the user runs the app from "currently used apps" before the system has terminated it.

In that case, AppDelegate::applicationDidFinishLaunching: (iOS) or Application#onCreate (Android) won't be called so setup won't be called either, but the SDK will detect an app launch and start a new session automatically.

The end of session¶

The session ends when the app goes to the background by the end user pushing the home button or launching another app from notification center.

Additionally, the session won't stop even if the end user opens the control center or the notification center.

  • « Get Started
  • User ID »

About Us Careers Terms of Service Privacy Policy Cookie Policy

© 2022 Repro Inc.