Mini player in mobile app

TRUETECH 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
Mini player in mobile app
Medium
from 1 business day to 3 business days
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

Implementing Mini Player in Mobile Applications

Mini player — a strip with track title, play/pause buttons and progress bar, visible when navigating between screens. Looks simple, but technically hinges on navigation architecture: player must live outside specific screen and not recreate on transitions.

Architectural Solution

Mini player is not a screen but persisted overlay above the entire app. Placement depends on navigation system.

iOS (UIKit). Add mini player to UITabBarController or UIWindow — lives at container level, not specific ViewController. Limitation: UITabBar occupies bottom, mini player placed directly above it, shift additionalSafeAreaInsets.bottom for all VCs in tab.

// In custom UITabBarController
override func viewDidLoad() {
    super.viewDidLoad()
    miniPlayerView = MiniPlayerView()
    view.addSubview(miniPlayerView)
    NSLayoutConstraint.activate([
        miniPlayerView.bottomAnchor.constraint(equalTo: tabBar.topAnchor),
        miniPlayerView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
        miniPlayerView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
        miniPlayerView.heightAnchor.constraint(equalToConstant: 64)
    ])
    // Shift safe area for child VCs
    additionalSafeAreaInsets.bottom = 64
}

iOS (SwiftUI). ZStack in root ContentView with TabView at bottom and mini player above via .overlay(alignment: .bottom). Player state — @EnvironmentObject or @ObservedObject singleton.

Android (Jetpack Compose). Mini player in root Scaffold as bottomBar, or via Box above NavHost. State via ViewModel at NavGraph level — survives screen navigation.

React Native. Mini player component in root App.tsx above navigator. position: 'absolute', bottom: tabBarHeight + swipe gesture up for expand.

Expand/Collapse Animation

Mini player should expand to fullscreen player on tap or swipe up.

iOS. UIPanGestureRecognizer + UIViewPropertyAnimator with interruptibleAnimator. On intermediate states — fractionComplete animates proportionally to finger movement. Apple Music does exactly this: fullscreen player is a sheet with detents, mini player is custom presentationController.

Android Compose. BottomSheetScaffold or ModalBottomSheet with custom sheetPeekHeight and sheetContent. At peekHeight — mini player, when expanded — full.

State Synchronization

Progress bar, track title, artwork — all must update in real-time regardless of which screen user is on. Single source of truth — PlayerViewModel / AudioPlayerManager as singleton with @Published (iOS) or StateFlow (Android). Mini player subscribes to it, doesn't store local state.

Gestures and Accessibility

Swipe down on expanded player — collapse/minimize to mini. Implement via UIPanGestureRecognizer (iOS) with threshold translation.y > 100 to confirm action. On incomplete swipe — UIViewPropertyAnimator returns to original state.

On Android Compose — swipeable (from accompanist) or anchoredDraggable (Compose 1.6+) with anchors COLLAPSED / EXPANDED. On gesture speed > 1000 dp/s — immediate transition without animation.

VoiceOver/TalkBack: mini player should have accessibilityLabel with current track and accessibilityHint "Tap to open full player". Pause button in mini player — separate accessibilityElement.

Timeline

Mini player with expand animation on one platform — 2–3 days. Both platforms with gesture control — 3–4 days.