- C bridge (keyboard_bridge.c) stores keyboard state in globals. Kotlin writes via JNI, Dart reads via FFI — zero async delay, same architecture as iOS. - WindowInsetsAnimation.Callback tracks open/close per-frame. - OnGlobalLayoutListener catches silent height changes (emoji keyboard resize, floating keyboard toggle). - Dart animation replay stays iOS-only; Android reads native per-frame values directly. - Cleaned up old Java stub, updated build.gradle for Kotlin + CMake with 16KB page alignment (Android 15+). - Example app rewritten to demonstrate UxKeyboard usage.
14 lines
516 B
Ruby
14 lines
516 B
Ruby
Pod::Spec.new do |s|
|
||
s.name = 'ux'
|
||
s.version = '0.2.0'
|
||
s.summary = 'UX Kit – Flutter plugin with keyboard tracking and interactive dismiss.'
|
||
s.homepage = 'https://swipelab.co/ux.html'
|
||
s.license = { :file => '../LICENSE' }
|
||
s.author = { 'Swipelab' => 'hello@swipelab.co' }
|
||
s.source = { :path => '.' }
|
||
s.source_files = 'Classes/**/*.swift'
|
||
s.dependency 'Flutter'
|
||
s.ios.deployment_target = '13.0'
|
||
s.swift_version = '5.0'
|
||
end
|