React Native: Android Display Metrics API Cleanup

React Native removed deprecated Android display metrics APIs that were scheduled for deletion in version 0.87. The cleanup removes getWindowDisplayMetrics and related methods from DisplayMetricsHolder.

Duration: PT1M29S

Episode overview

This episode is a short developer briefing from React Native.

It explains recent repository work in plain language.

  • Show: React Native
  • Published: 2026-05-17T10:03:46Z
  • Audio duration: PT1M29S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, this is your React Native briefing for Monday, May 17th, 2026.

Today we have one commit focused on Android API cleanup. Mathieu Acthernoene removed the deprecated getWindowDisplayMetrics API from DisplayMetricsHolder. This change eliminates three methods that were marked for removal in version 0.87: getWindowDisplayMetrics, setWindowDisplayMetrics, and…

The removal follows earlier work from pull request 53254 and represents the completion of a planned deprecation cycle. The commit touched five files across the Android implementation, removing 49 lines from the main DisplayMetricsHolder class and cleaning up associated test files. Testing confirmed the changes work…

This is part of React Native's ongoing effort to remove deprecated APIs once their non-breaking window closes. The DisplayMetricsHolder still maintains its core functionality for screen density and display information, just with a cleaner, more focused API surface.

What's next: Watch for additional deprecated API removals as the team continues housekeeping efforts. Android developers should verify they're not using these removed display metrics methods in their native modules.

That's your React Native update…

Nearby episodes from React Native

  1. Release Candidate 2 Changelog
  2. Android Props Update Fix
  3. TypeScript API Cleanup
  4. Weekly Recap - Platform Stability and Feature Flag Cleanup
  5. Weekly Recap - Infrastructure & Code Quality
  6. Threading Fixes and Version Updates
  7. Weekly Recap - Performance Optimization and Stability
  8. Image Prefetching Consolidation