@@ -51,18 +51,13 @@ use a separate implementation and do not need this workaround.
5151
5252## Native media presentations
5353
54- ` PresentationSource ` and ` ZoomTransitionTarget ` in ` NativePresentation ` connect a
55- view to an iOS native-stack destination using UIKit's zoom transition. Wrap the
56- thumbnail as the source's single child, pass its stable identifier in the route params, and wrap
57- the destination content in a target with that ` sourceIdentifier ` . The target's
58- bounds define the zoom alignment. These components do not load files or own
59- playback, so image viewers can use the same API.
60-
61- The native module keeps weak references to source views and resolves the source
62- again on dismissal. Recycled or compact composer thumbnails can register the
63- same identifier. Identifiers must distinguish simultaneously visible attachments.
64- Reduce Motion keeps the route's normal transition. Android wrappers use regular
65- views and do not register a native transition.
54+ ` PresentationSource ` in ` NativePresentation ` registers a thumbnail for AVKit's
55+ full-screen entry and UIKit's share sheet. Wrap the thumbnail as its single child
56+ and pass the stable identifier to the presentation. The registry keeps weak
57+ references to source views; recycled or compact composer thumbnails can register
58+ the same identifier. Identifiers must distinguish simultaneously visible attachments.
59+ This source registration does not own playback and can be reused by a future image
60+ viewer. Android uses a regular view.
6661
6762On iOS, video previews mount ` AVPlayerViewController ` temporarily inside the
6863registered source and enter full screen through AVKit. AVKit
@@ -72,9 +67,7 @@ simulator, that leaves native Close unable to exit full screen. When the source
7267the player uses a standard modal presentation. Programmatic entry uses the same
7368guarded ` enterFullScreenAnimated:completionHandler: ` selector as Expo Video;
7469if that selector is unavailable, the player also falls back to a standard modal.
75- Future image viewers can use the
76- same source registry with ` configureZoom ` or the native-stack target. Images
77- retain their existing viewer.
70+ Images retain their existing viewer.
7871
7972Received videos open directly from their signed asset URL. AVKit handles buffering;
8073the client does not download the entire file or show a separate opening overlay before
@@ -90,11 +83,6 @@ if no other component changed it during playback. It does not deactivate the
9083shared session, which may still serve another player or recorder. Android retains
9184its React Native modal and Expo Video player.
9285
93- Use React Native's ` StatusBar ` API for app-owned status-bar changes. Expo's base
94- Info.plist prebuild mod sets ` UIViewControllerBasedStatusBarAppearance ` to ` false ` ,
95- even though ` app.config.ts ` does not override the key. With that generated setting,
96- native-stack ` statusBarStyle ` options raise an error.
97-
9886` shareFileFromSource ` uses the same source registration to anchor UIKit's activity
9987controller. Its promise completes when the native share flow finishes, keeping
10088the existing attachment lease and foreground handoff active for that duration.
0 commit comments