Firebase Performance Monitoring integration in mobile app

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Firebase Performance Monitoring integration in mobile app
Simple
~1 business day
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Firebase Performance Monitoring Integration in Mobile Applications

Developer's profiler shows 60 fps. Firebase Crashlytics shows no crashes. But users write "everything is slow." Firebase Performance Monitoring is instrumentation for real-time response measurements on actual user devices, not in lab conditions.

What Performance Monitoring Measures

SDK automatically collects:

  • App start time — from applicationDidFinishLaunching call to moment when app becomes interactive
  • Screen rendering — for each UIViewController on iOS and Activity/Fragment on Android: slow frames (>16 ms) and frozen frames (>700 ms)
  • Network requests — response time, request/response size, HTTP status for all requests via URLSession / OkHttp

Plus custom traces for any code block.

Connection and Custom Traces

On iOS via Swift Package Manager or CocoaPods — add FirebasePerformance. SDK initializes automatically on startup via FirebaseApp.configure().

Custom trace for measuring expensive operation:

import FirebasePerformance

func loadProductCatalog() async {
    let trace = Performance.startTrace(name: "load_product_catalog")
    defer { trace?.stop() }

    trace?.setValue("v2", forAttribute: "api_version")

    let products = await productRepository.fetchAll()
    trace?.incrementMetric("product_count", by: Int64(products.count))
}

On Android / Kotlin:

val trace = Firebase.performance.newTrace("load_product_catalog")
trace.start()
trace.putAttribute("api_version", "v2")

val products = productRepository.fetchAll()
trace.putMetric("product_count", products.size.toLong())

trace.stop()

putAttribute lets you segment traces in console by arbitrary parameters — e.g., view load time separately for each API version.

Network Requests and Custom NetworkInterceptor

Automatic request interception works via swizzling URLSession on iOS. If project uses custom URLSession or Alamofire, manual registration via HTTPMetric may be needed:

let metric = HTTPMetric(url: url, httpMethod: .get)
metric?.start()

URLSession.shared.dataTask(with: url) { data, response, error in
    metric?.responseCode = (response as? HTTPURLResponse)?.statusCode ?? -1
    metric?.stop()
}.resume()

For Alamofire — add EventMonitor that wraps metrics around each request.

What to Watch in Console

After integration, dashboard has:

Metric Alert Threshold
App start time > 2 sec — issue
Slow frames > 1%
Frozen frames > 0.1%
Network request time Anomalies by percentiles p50/p90/p95

Console shows breakdown by app version, country, device type, and OS. This is the only way to know that specific screen is slow only on Android 10 on budget devices.

What's Included in Work

  • SDK addition and basic initialization
  • Custom traces for key operations (data loading, heavy list rendering)
  • Network request interception setup for non-standard stack
  • Basic dashboard with alert thresholds

Timeline

Basic integration with automatic traces: 1 day. With custom traces for specific screens and Network interceptor setup: 2 days. Cost estimated individually.