1856c36221
Two UX fixes for the peek preview: 1. Black flash on first peek — the preview VC now depends on SDWebImage directly (same version pinned by expo-image) and reads from `SDImageCache.shared`. On open it paints the fullsize synchronously if it's cached (common, since onPressIn prefetches), otherwise paints the thumb as a placeholder while the fullsize loads and swaps in. Also switches the image view to autoresizingMask so the dismiss animation interpolates cleanly without AutoLayout relayout mid-animation. 2. Two-stage dismiss animation on aspect-mismatched thumbnails — drop the explicit `previewForDismissingMenuWithConfiguration` override. With only the highlight provider implemented iOS reverses it end-to-end, which interpolates size and position together instead of snapping back to the preview's original size before translating. https://claude.ai/code/session_015REmux3R9uuEMMJUHxTyQT
23 lines
787 B
Ruby
23 lines
787 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'ExpoBlueskyContextMenu'
|
|
s.version = '1.0.0'
|
|
s.summary = 'Native iOS context menu (peek + long-press) for embeds'
|
|
s.description = 'Wraps UIContextMenuInteraction with a compositional JS API.'
|
|
s.author = ''
|
|
s.homepage = 'https://github.com/bluesky-social/social-app'
|
|
s.platforms = { :ios => '13.4', :tvos => '13.4' }
|
|
s.source = { git: '' }
|
|
s.static_framework = true
|
|
|
|
s.dependency 'ExpoModulesCore'
|
|
# Must match the version pinned by expo-image so we share SDImageCache.shared.
|
|
s.dependency 'SDWebImage', '~> 5.21.0'
|
|
|
|
s.pod_target_xcconfig = {
|
|
'DEFINES_MODULE' => 'YES',
|
|
'SWIFT_COMPILATION_MODE' => 'wholemodule'
|
|
}
|
|
|
|
s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}"
|
|
end
|