- Status: Implemented
- Author(s): Owen Carey, with Claude (Claude Code)
- Created: 2026-11-01
- Implemented in: #117
- Supersedes / Superseded by: replaces the built-in
Camera,Location,Biometrics, andNotificationsmodules and thepn_plugin.jsonformat from RFC 0002 and RFC 0003. Takes on the export trimming that RFC 0006 deferred, and the release pipeline items RFC 0002 deferred. Everything else in those RFCs remains implemented.
PythonNative's renderer is close to React Native's, but most real apps can't
ship on it: there's no video, audio, camera preview, maps, push, background
work, or in-app purchase; a package can't change Info.plist, entitlements,
or the Android manifest, so nobody else can add those things either; and no
build has ever been proven to reach a store. This RFC adds the layer Expo
provides for React Native. A declarative plugin format (the equivalent of
config plugins and Expo Modules), a set of first-party capabilities built
only on that public format and enabled per app, a release path checked in CI
down to pn submit, a production failure path, and a real reference app that
acts as the acceptance test.
The audit behind this RFC found five things that stop an app, in the order a developer hits them:
- Missing capabilities. No video, audio, camera preview, maps, sensors,
background tasks, in-app purchases, or document picking. Notifications can
be scheduled but not received or tapped. Android has no remote push.
pn.fetchhas no streaming, multipart, or WebSocket support. - A plugin can't configure the app.
pn_plugin.jsonallowsentry,resources,assets,contracts, anddependencies. A package can't add anInfo.plistkey, an entitlement, a privacy manifest entry, anAndroidManifest.xmlservice, or a Gradle plugin. It can't observeapplication(_:didReceiveRemoteNotification:)oronNewIntent, and it can't ship C, C++, or an xcframework. So the escape hatch for item 1 doesn't reach most of what's missing. - Every app links everything.
PermissionModules.swiftimportsAVFoundation,Contacts,CoreLocation,LocalAuthentication,Photos, andUserNotifications, and it's compiled into every app. A note-taking app references the camera, location, and contacts APIs. Apple flags binaries that reference privacy-sensitive APIs without a matching usage string. - Release is unproven. No workflow runs
pn build, an archive, orbundleRelease; those paths are only covered by mocks. An archive built by hand shows real gaps.Python.frameworkcallsstatfsandmach_absolute_timewithout declared reasons, the template's privacy manifest is empty, a build with no icon succeeds with noAssets.car, an unsigned Android build exits 0,app_packages/binships scripts with a build-machine shebang,CFBundleNamestaysios_template, and manual signing only reachesexportOptions, so the archive stays on automatic signing. There's no upload command at all. - Production failures are silent. With no error boundary, a render error
in a release build is logged and the old UI stays up. A failed mount poisons
the surface, and
reset()is reachable only from a hot-reload remount, so the screen stays dead. There's no hook an app can use to report errors.
Underneath all of that, the largest app ever built on PythonNative is 347 lines. Nothing has forced these pieces to work together.
| Concern | React Native and Expo | This RFC |
|---|---|---|
| Native module packaging | Expo Modules: Swift and Kotlin DSL, autolinked from package.json |
pn_plugin.json in a wheel, autolinked. Contracts come from typed Python, which generates the Swift and Kotlin adapters |
| Project configuration | Config plugins: JavaScript functions that mutate plist, manifest, and Gradle | Declarative JSON manifest. Target wheels are inspected as data and never imported into the build interpreter (RFC 0002), so an imperative hook isn't possible here without giving that up |
| App lifecycle | ExpoAppDelegateSubscriber, ReactActivityLifecycleListener |
PNAppLifecycleHook on iOS and PNLifecycleHook on Android |
| Capabilities | One package per capability, installed with expo install, autolinked |
One subpackage per capability inside the pythonnative wheel, enabled with [plugins].use. Same version as the framework, so no compatibility matrix |
| Prebuilt client | Expo Go carries the whole SDK | PythonNative Go carries every first-party plugin |
| Build and submit | EAS Build, EAS Submit | Local pn build, pn submit. No hosted service |
| Fatal errors | ErrorUtils.setGlobalHandler, RedBox, LogBox |
pn.set_error_handler, a default root boundary, DevTools |
Two deliberate differences:
- In the wheel, not on PyPI. Expo has a package per capability because npm makes that cheap and Expo's SDK versions are coordinated by its CLI. PythonNative's contracts and adapters are generated from the exact framework version, and Go requires an exact match, so a separately versioned package would add a compatibility matrix and no benefit before 1.0. Native sources already ship in the wheel and are only compiled when enabled. Third parties use exactly the same format from their own wheels.
- Python async idioms. Streams are async iterators and subscriptions are
context managers or plain unsubscribe functions, rather than a listener
object per API. Failures raise and outcomes return values, as the
native_modulesrules already say.
[plugins]
use = ["camera", "notifications", "maps"] # first-party capabilities
paths = ["native/badge"] # project-local plugins, as before
# Options for one plugin, first-party or third-party.
[plugins.maps]
android_api_key = "..." # or leave it out and set GOOGLE_MAPS_API_KEY
[permissions]
camera = "Scan receipts with your camera."from pythonnative.camera import Camera, CameraView
from pythonnative.maps import MapView, Marker- A capability is a subpackage:
src/pythonnative/<name>/, holding its Python facade and anative/plugin directory.nativedirectories never reach an app bundle (project/bundle.pyalready ignores that name at any depth). pn buildstages only the plugins inuse. So an app that doesn't enablecameradoesn't compile a line that referencesAVCaptureDevice. Other plugins' Python packages still ship, since they're small and importable.- Importing a facade whose plugin isn't in the build still works. Calling it
raises
NativeModuleErrorwith codeplugin_not_enabledand the message names the[plugins].useentry to add. A component whose manager isn't registered reports the same thing at commit time. - Off device, each facade registers a Python fallback, so tests and the browser preview run the same code.
- PythonNative Go compiles every first-party plugin except
push, whose tokens belong to the app's own bundle ID and Firebase project, and whose entitlement stops Go building for free Apple accounts. A project that usespushor third-party native code needspn run;pn startsays so.
pn_plugin.json gains the config-plugin surface. Every new key is optional.
{
"name": "push",
"contracts": "schema.json",
"requires": {"plugins": ["notifications"], "permissions": ["remote_notifications"]},
"options": {
"google_services_file": {"type": "path"}
},
"ios": {
"entry": "PushPlugin",
"info_plist": {"UIBackgroundModes": ["remote-notification"]},
"entitlements": {"com.apple.developer.example": true},
"privacy": {"accessed_api_types": [{"type": "NSPrivacyAccessedAPICategoryUserDefaults", "reasons": ["CA92.1"]}]},
"binary_targets": ["ios/vendor/Foo.xcframework"],
"c_target": {"sources": "ios/c", "public_headers": "ios/c/include"}
},
"android": {
"entry": "com.pythonnative.plugins.push.PushPlugin",
"permissions": ["android.permission.POST_NOTIFICATIONS"],
"manifest": {"application": "android/application.xml", "root": "android/manifest.xml"},
"cmake": "android/cpp/CMakeLists.txt",
"dependencies": ["com.google.firebase:firebase-messaging:24.1.0"],
"when": {
"google_services_file": {
"gradle_plugins": [{"id": "com.google.gms.google-services", "version": "4.4.2"}],
"files": [{"from": "${google_services_file}", "to": "app/google-services.json"}]
}
}
}
}Rules:
optionsvalues are declared with atype(string,integer,boolean,path,list), adefault, optionalrequired, and optionalenv, which names an environment variable to read when the app's table doesn't set the option, so secrets stay out ofpythonnative.toml. Unknown options in[plugins.<name>]are a build error, as is a missing required one.${option}substitutes ininfo_plist,entitlements,files, and manifest fragments. An unknown name is a build error.info_plistandentitlementsmerge: dictionaries recursively and lists as ordered unions. Two plugins setting the same scalar to different values is a build error naming both.[ios].extra_info_plistapplies last and wins, so an app always has the final say.privacymerges into the app'sPrivacyInfo.xcprivacy, deduplicating reasons per API type.requires.permissionsmakes a missing[permissions]entry a build error, because a missing usage string crashes at the call on iOS.requires.pluginsis checked, not implied: naming a plugin inusedoesn't silently pull another in.when.<option>applies its nested keys only if that option has a value.- A
filesentry copies from inside the plugin, or from a file the app named in one of the plugin'spathoptions. Any other source is a build error. - Only manifest, plist, entitlement, privacy, dependency, and file changes are possible. There's no arbitrary code at build time, which keeps wheels safe to inspect as data.
nameis required, and a plugin's records and generated enums have to stay predictable across builds. Identical literals share a native type only inside one plugin, so a plugin's Swift and Kotlin name the same types whichever other plugins are in the build. Record names are global, so they must be distinctive:cameracalls its recordVideoRecordingfor that reason.
Staging keeps the existing shape: stage_ios_plugins and
stage_android_plugins copy sources, and a new project/plugin_config.py
applies the declarative parts after ios.configure and android.configure.
C, C++, and xcframeworks. binary_targets adds .binaryTarget(path:) entries
to the staged Package.swift. c_target adds a sibling SwiftPM target
PNC_<plugin> that PythonNativeKit depends on, which Swift imports by that
name. cmake adds an add_subdirectory to a generated plugins.cmake that
the runtime's CMakeLists.txt includes. The e2e suite carries a small local
plugin using both, so this path stays honest.
public protocol PNAppLifecycleHook: AnyObject {
func didFinishLaunching(_ application: UIApplication, options: [UIApplication.LaunchOptionsKey: Any]?)
func didRegisterForRemoteNotifications(deviceToken: Data)
func didFailToRegisterForRemoteNotifications(error: Error)
func didReceiveRemoteNotification(_ userInfo: [AnyHashable: Any],
completion: @escaping (UIBackgroundFetchResult) -> Void) -> Bool
func handleEventsForBackgroundSession(identifier: String, completion: @escaping () -> Void) -> Bool
func openURL(_ url: URL) -> Bool
func continueUserActivity(_ activity: NSUserActivity) -> Bool
func didEnterBackground()
func willEnterForeground()
}Every method has a default no-op in a protocol extension. Plugins register a
hook with registry.registerLifecycleHook(_:). AppDelegate and
SceneDelegate forward to PNAppLifecycle.shared, whose first call forces
registration, so a hook is installed before didFinishLaunching returns.
interface PNLifecycleHook {
fun onApplicationCreate(application: Application) {}
fun onActivityCreated(activity: Activity) {}
fun onNewIntent(intent: Intent): Boolean = false
fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?): Boolean = false
fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray): Boolean = false
fun onActivityResumed(activity: Activity) {}
fun onActivityPaused(activity: Activity) {}
fun onActivityStopped(activity: Activity) {}
fun onActivityDestroyed(activity: Activity) {}
}The Android template gains PNApplication, because push and background work
start the process with no Activity.
Headless Python. On iOS, Python starts on every launch, background launches
included. On Android, a plugin running with no activity calls
PNHeadless.ensureStarted(), which opens the renderer core, starts Python if it
isn't up, and imports the app's entry module so its registrations run. Events
then go through the normal module path. Rendering is unaffected: no surface
exists until an activity or scene asks for one.
iOS hooks all see each event, as Android's do. UIKit allows one completion per push, though, so the first hook to finish a remote notification decides.
The Permissions module stays in the core, without importing any
privacy-sensitive framework. A plugin registers a provider for the names it
owns:
PNPermissions.register("camera", PNCameraPermission())Permissions.check and request for a name with no provider raise
NativeModuleError with code plugin_not_enabled. contacts is removed from
the vocabulary because no API here uses it, and a third-party plugin can add
its own name back. Permissions.request("notifications") keeps working when
notifications is enabled.
All are built only with the public plugin format, and each has a Python
fallback, a contract, Swift, Kotlin, tests, a demo in examples/e2e-suite, and
a Maestro flow where a simulator can run it.
| Import | Public API | iOS | Android | Moved or new |
|---|---|---|---|---|
pythonnative.location |
Location.get_current, Location.watch (async iterator) |
CoreLocation | LocationManager |
Moved, watch new |
pythonnative.biometrics |
Biometrics.authenticate, Biometrics.available |
LocalAuthentication | androidx.biometric |
Moved |
pythonnative.camera |
Camera.take_photo, CameraView with take_picture, start_recording, stop_recording, barcode scanning |
AVFoundation | CameraX, ML Kit | Moved, CameraView new |
pythonnative.pickers |
pick_images, pick_videos, pick_documents |
PHPicker, UIDocumentPicker |
Photo picker, ACTION_OPEN_DOCUMENT |
pick_from_gallery moved, rest new |
pythonnative.notifications |
schedule, cancel, set_badge, on_received, on_response, last_response |
UserNotifications | NotificationManager, AlarmManager |
Moved, handlers new |
pythonnative.push |
get_device_token, on_token, on_message |
APNs | FCM | Token moved, FCM new |
pythonnative.video |
Video with VideoHandle |
AVPlayer | Media3 ExoPlayer | New |
pythonnative.audio |
Sound, Recorder |
AVAudioPlayer, AVAudioRecorder | Media3, MediaRecorder |
New |
pythonnative.maps |
MapView, Marker, Region, Polyline |
MapKit | Google Maps SDK | New |
pythonnative.sensors |
Accelerometer, Gyroscope, Magnetometer, Barometer (async iterators) |
CoreMotion | SensorManager |
New |
pythonnative.background |
@background.task(name, every=...), schedule, cancel, status, run_now |
BGTaskScheduler | WorkManager | New |
pythonnative.purchases |
Purchases.products, purchase, restore, on_update |
StoreKit 2 | Play Billing | New |
from pythonnative.sensors import Accelerometer
from pythonnative.video import Video
@pn.component
def Player(url: str) -> pn.Node:
player = pn.use_ref()
return pn.Column(
Video(source=url, controls=True, ref=player, style=pn.style(aspect_ratio=16 / 9)),
pn.Button("Restart", on_press=lambda: player.current.seek(0)),
)
async def watch_motion() -> None:
async for reading in Accelerometer.readings(hz=30):
print(reading.x, reading.y, reading.z)Platform differences are documented per method and enforced through the
contract's platforms field, not by silent no-ops. Anything iOS 15+ only, such as
StoreKit 2, raises unsupported below that version; the deployment target stays
at 13.0.
pn.WebSocket: an RFC 6455 client in pure Python onasyncio, used as an async context manager and an async iterator. No native code, so it behaves the same on device, in tests, and in the preview.pn.fetchgainsfiles=for multipart bodies,stream=Truefor chunked responses read withasync for chunk in response.chunks(), and an upload progress callback. TLS verification on device is verified, not assumed.
async with pn.WebSocket("wss://example.com/feed") as socket:
await socket.send_json({"subscribe": "news"})
async for message in socket:
handle(message)[app].associated_domains = ["example.com"] writes the applinks: entitlement
on iOS and an android:autoVerify https intent filter on Android.
SceneDelegate forwards NSUserActivity to Linking. Navigation's existing
deep-link matching takes the https URL's path. pn doctor points at pn links,
which prints the files' exact contents for the app's bundle ID and signing team.
pn build changes:
- The template's privacy manifest declares what the embedded runtime actually
uses (
SystemBootTime35F9.1,DiskSpaceE174.1,FileTimestampC617.1,UserDefaultsCA92.1), merged with plugin entries and the app's own file. - A release build fails when there's no icon or Pillow is missing, when a store
export isn't signed, or when a required usage string is missing.
--allow-unsignedkeeps the old behavior for CI smoke builds. app_packagesdropsbin/,tests/, andtest/from wheels in release builds on iOS.[ios.signing].provisioning_profilealso applies to the archive, withCODE_SIGN_STYLE=Manual.- App Store Connect API key arguments are read from
PN_ASC_KEY_PATH,PN_ASC_KEY_ID, andPN_ASC_ISSUER_ID, so CI doesn't need an Xcode account. - Entitlements go through a
PN_ENTITLEMENTSsetting only the app target reads.CODE_SIGN_ENTITLEMENTSon the command line reached every target, packages included, which broke any app with an entitlement. - An app's
[ios].privacy_manifestmerges with the template's rather than replacing it, so it can't drop the runtime's declared reasons.
New commands and flags:
pn submit iosuploads the built.ipawithxcrun altooland the API key.pn submit android --track internaluses the Google Play Developer API with a service account (PN_PLAY_SERVICE_ACCOUNT): insert an edit, upload the bundle, assign the track, and commit. It signs its JWT withopensslso it adds no dependency.pn run --releaseruns the release configuration on a simulator or emulator so release-mode e2e is possible.
CI gains a release job that runs pn build android and an iOS release archive
with --allow-unsigned, validates each artifact with project/artifacts.py, and
runs a smoke flow against the release configuration.
pn.set_error_handler(fn)receives every uncaught error with its phase (render,effect,event,async,mount) in dev and release. It's where crash reporters attach.- Default root boundary. In a release build, a render error that escapes all
boundaries replaces the screen with a fallback showing a retry button. Apps
can replace it with
pn.set_error_fallback(component). Dev builds keep the existing error screen. - Mount recovery.
surface_failednow schedules a full remount of the surface, once. A second failure inside a minute shows the fallback, so a broken tree can't loop forever. If the fallback can't mount either, recovery stops.
The top-level namespace drops what has a better home or a duplicate:
- Moved to their capability package:
Camera,Location,Biometrics,Notifications. - Moved to
pythonnative.sdk:UNSET,UnsetType,element_factory. - Moved to
pythonnative.style:resolve_style,Dimension,AlignContent,AlignItems,BorderStyle,Display,FlexDirection,FlexWrap,FontWeight,JustifyContent,LayoutDirection,Overflow,PointerEvents,Position,ScaleType,TextAlign,TextDecoration,TextTransform, and the other style aliases. - Moved to
pythonnative.animated:ANIMATABLE_PROPS. - Removed:
TouchableOpacity(usePressablewithpressed_opacity),Vibration(useHaptics),get_platform(usePlatform),AlignSelf(it'sAlignItems),create_screen, and theruntimeanddiagnosticsre-exports.
examples/fieldnotes is a field journal, 3,000 to 5,000 lines: entries with
photos and voice notes, a map of where they were taken, live collaboration over
a WebSocket, reminders that deep-link to an entry, a background sync, a video
attachment player, and a one-time "Pro" unlock. It replaces Inbox as the example
the docs lead with. Inbox stays as the extension SDK's acceptance test. It has its
own Maestro flows, and CI builds it in release mode.
A plugin may declare "web": {"entry": "web/index.js"}, an ES module that exports
component managers and module implementations for the preview. The dev server
serves it to the page. First-party plugins use it where a browser can honor the
contract: Video, Sound, CameraView (getUserMedia), pick_documents, and
Location. Others get the existing labeled placeholder and the Python fallback.
PROTOCOL_VERSION doesn't change. Contracts move: the moved modules leave the
built-in document and arrive through plugin contracts, so the contract fingerprint
differs per app, which the handshake already handles. Removing TouchableOpacity
removes a component from the built-in contract.
CameraModule,LocationModule,BiometricsModule,NotificationsModule, and their facades, services, and permission checks from the core, on both platforms. They move to plugins, with no aliases left behind.pn.Camera.pick_from_gallery, replaced bypythonnative.pickers.pick_images.- The
contactspermission name, the Androidpn_permissionscode path that onlycontactsneeded, and the e2e app'scontactsdeclaration. TouchableOpacityfrom Python, the contract, Swift, Kotlin, and the preview.- The exports listed above.
check-e2e-coverage.pytracks the smaller list. AppDelegateandMainActivitycalls into specific modules, in favor of hooks.pn build ios --uploadand thedestination: uploadexport option, replaced bypn submit ios, so one command uploads on both platforms.- The narrower
pn_plugin.jsonvalidation: the old format still parses because every new key is optional, but the sample inproject/plugins.pythat omitsnameis corrected, andnamebecomes required so two plugins can't collide on thenativedefault.
- One PyPI package per capability. Matches Expo, but adds version coordination and multiple release pipelines for no benefit while the contracts are generated from the exact framework version.
- Python functions as config plugins. Matches Expo's model more closely, but means importing target wheels into the build interpreter, which RFC 0002 rejected for binary wheels and for safety. A declarative manifest covers what first-party plugins need.
- Enable capabilities from
[permissions]. Tempting, sincecamera = "..."says most of it, but video, maps, sensors, and purchases have no permission, and a permission doesn't imply which capability wants it. - A hosted build service. EAS is a large part of Expo's value, but it's a
business rather than a framework feature.
pn buildruns locally and in the user's CI. - Replacing Chaquopy now. It would close the Android wheel gap, but it's a runtime swap with its own risk, and it isn't what stops an app shipping today.
- WebSocket through native code. Needs an extra dependency on Android (OkHttp),
and a preview and test implementation besides. Python's
asyncioalready runs on every target.
- UI-thread logic, layout animations, and shared-element transitions. That's the next RFC.
- Over-the-air updates, which raise App Store policy questions of their own.
- Replacing Chaquopy, frozen stdlib, device benchmarks, and time-sliced rendering.
- R8 or ABI splits for Android. R8 can strip classes Chaquopy reaches by reflection, and AAB already delivers per-ABI splits.
- A
Stateobject and a typeduse_mutation, from the same audit. CFBundleName. It staysios_template, because Xcode's generated keys overwrite the value, and setting it from a build phase races the step that writes the file. Nothing user-facing reads it:CFBundleDisplayNameis set.- Contacts, calendar, Bluetooth, NFC, and Apple Pay. Each is a plugin anyone can now write; none is on the shortest path to shipping most apps.
- Publishing Go to a store.
- A native drawer, sheet detents, or top tabs.
- Production web and desktop targets.
- Unit: the manifest parser and merge rules (including conflicts),
usevalidation, option substitution, plist and manifest output, privacy manifest merging, release gates,pn submitagainst a fake server, each facade's fallback, the error handler, and mount recovery. - Native: the existing XCTest and Android unit suites, plus hook dispatch and permission providers.
- E2E: a demo and Maestro flow per capability, and flows for
examples/fieldnotes, on the iOS simulator and Android emulator. - Release: the new CI job, plus an artifact check that a project using no capabilities has no reference to the sensitive frameworks.
Limits of what a simulator proves, stated here so nobody assumes otherwise:
CameraViewcapture needs real hardware on iOS. The simulator has no camera.- Remote push needs APNs and Firebase credentials, and a device for APNs.
- Purchases need App Store Connect and Play Console setup. StoreKit's local test configuration covers the iOS flow; Play Billing needs a Play-signed build.
- A background task can be forced with
adbon Android, but iOS's scheduler has only a debugger-driven trigger. - Android maps need an API key and a Google APIs emulator image.
pn submitneeds real store credentials, and a real upload is the maintainer's to do. CI proves the artifact and the request flow.
Migration: nobody depends on the removed names yet, so there are no shims. The
templates, pn init, examples, and docs change in the same pull request.
The reference app found four framework bugs that no per-feature test had caught, which is what it was for. All four are fixed in this pull request and have regression tests:
- An Android build with an app icon failed, because generated PNGs sat beside the
template's
.webpfiles under the same resource names. - Every Android
Iconand tab bar icon drew nothing, because codegen turnedOptional[Union[...]]into a non-optional union with a JSON null case, soshape.fill ?: root.fillnever inherited. Unions containingNoneare now optional natively. - After process death on Android, restored screens were blank. A fragment restored before Python mounted inflated a placeholder, and repeating tags then matched it to the new screen. It's now replaced.
KeyboardAvoidingViewon Android below API 35 subtracted the keyboard twice, because the window had already resized. Android now reports how much of the keyboard still covers the content, asoverlapbesideheight, and the view avoids only that.
Verified on an iOS 26.2 simulator and an API 31 Android emulator:
- All 12 capabilities compile into one app, and the
capabilitiesMaestro suite and theplugin_configflow pass on both platforms. - Field Notes builds in release with the checked-in icon, with no manual patching.
- The Field Notes flows, the artifact check on both platforms, the XCTest and Android unit suites, and the browser acceptance tests.
- PythonNative Go builds with 11 capabilities on both platforms and runs a capability project on iOS.
Not verified, because it needs hardware, credentials, or accounts this work didn't have:
- Any real App Store or Play upload.
pn submitran against a fake Play server and a stubbedaltool. - Real APNs or FCM delivery, and every physical device.
- iOS camera capture, since a simulator has no camera. Barcode scanning through a lens.
The emulator's back camera crashed in its HAL on stills, which surfaced as
capture_failed. - iOS audio recording.
AVAudioRecorderhung in Core Audio on this host's simulator, which times out asrecording_failedafter 20 seconds, as designed. - Purchase sheets, and Play Billing past "service unavailable".
- A real
BGTaskSchedulerlaunch on iOS. - Android map rendering, which needs an API key.
- Universal link and app link verification against a real domain.
ACTION_PICK_IMAGES, and audible output.KeyboardAvoidingViewon API 35 or later, where windows are edge-to-edge. Only an API 31 emulator was available, so that path is reasoned from the platform's behavior.
Known rough edges, left for later because each is a change of its own:
Nonechildren are dropped before diffing, so a conditional child shifts its siblings, which remount, lose state, and cancel running async handlers. Field Notes works around it with keys. This differs from React, which keeps a hole.- iOS
TextInputhas no placeholder whenmultiline. AndroidTextInputignores padding and always shows its clear button. The iOS 26Switchoverflows its box. AVAudioRecorderis referenced by every app usingaudio, so App Store review might flag a playback-only app for a missing microphone purpose string.- PythonNative Go once showed a stale overlay from another project on a red "could not start" screen, then recovered on the next launch. The cause wasn't found.