pythonnative 0.38.0__tar.gz → 0.39.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pythonnative-0.38.0/src/pythonnative.egg-info → pythonnative-0.39.0}/PKG-INFO +16 -6
- {pythonnative-0.38.0 → pythonnative-0.39.0}/README.md +15 -5
- {pythonnative-0.38.0 → pythonnative-0.39.0}/pyproject.toml +4 -3
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/__init__.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/alerts.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/animated.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/bootstrap.py +15 -6
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/bridge/__init__.py +16 -9
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/bridge/codec.py +1 -1
- pythonnative-0.39.0/src/pythonnative/bridge/web.py +530 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/cli/pn.py +330 -331
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/lists.py +2 -2
- pythonnative-0.39.0/src/pythonnative/devclient.py +824 -0
- pythonnative-0.39.0/src/pythonnative/devserver/__init__.py +34 -0
- pythonnative-0.39.0/src/pythonnative/devserver/server.py +712 -0
- pythonnative-0.39.0/src/pythonnative/devserver/static/bridge.js +155 -0
- pythonnative-0.39.0/src/pythonnative/devserver/static/colors.js +70 -0
- pythonnative-0.39.0/src/pythonnative/devserver/static/host.js +577 -0
- pythonnative-0.39.0/src/pythonnative/devserver/static/index.html +60 -0
- pythonnative-0.39.0/src/pythonnative/devserver/static/preview.css +415 -0
- pythonnative-0.39.0/src/pythonnative/devserver/static/renderer.js +2037 -0
- pythonnative-0.39.0/src/pythonnative/devserver/static/shell.js +343 -0
- pythonnative-0.39.0/src/pythonnative/devserver/watcher.py +267 -0
- pythonnative-0.39.0/src/pythonnative/devserver/ws.py +421 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/gestures.py +4 -4
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/hooks.py +2 -2
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/hosts/__init__.py +20 -19
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/hosts/base.py +35 -44
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/hosts/native.py +4 -14
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/hot_reload.py +205 -280
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/images.py +2 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/__init__.py +6 -4
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/biometrics.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/camera.py +1 -1
- pythonnative-0.38.0/src/pythonnative/native_modules/desktop.py → pythonnative-0.39.0/src/pythonnative/native_modules/fallback.py +42 -40
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/file_system.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/haptics.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/linking.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/notifications.py +2 -2
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/registry.py +6 -6
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/secure_store.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/share.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_views/__init__.py +18 -23
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_views/base.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_views/bridge_backend.py +3 -2
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/handle.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/screen.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/platform.py +21 -20
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/platform_metrics.py +1 -1
- pythonnative-0.39.0/src/pythonnative/preview.py +302 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/android.py +13 -3
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/builder.py +29 -4
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/doctor.py +0 -20
- pythonnative-0.39.0/src/pythonnative/project/fingerprint.py +170 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/ios.py +6 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/reconciler/core.py +1 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/runtime.py +18 -42
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/sdk/__init__.py +6 -6
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/sdk/_components.py +12 -12
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/storage.py +2 -2
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/build.gradle +6 -0
- pythonnative-0.39.0/src/pythonnative/templates/android_template/app/src/debug/AndroidManifest.xml +7 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/java/com/pythonnative/android_template/MainActivity.kt +5 -2
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/java/com/pythonnative/android_template/ScreenFragment.kt +0 -3
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/screens/PNScreenFragment.kt +6 -41
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Modules/HostModule.swift +0 -1
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Screens/PNViewController.swift +6 -22
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/ViewController.swift +1 -7
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/utils.py +39 -31
- {pythonnative-0.38.0 → pythonnative-0.39.0/src/pythonnative.egg-info}/PKG-INFO +16 -6
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative.egg-info/SOURCES.txt +21 -5
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_bridge.py +3 -5
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_cli.py +104 -61
- pythonnative-0.39.0/tests/test_devclient.py +333 -0
- pythonnative-0.39.0/tests/test_devserver.py +334 -0
- pythonnative-0.39.0/tests/test_devserver_ws.py +104 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_gestures.py +2 -2
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_hosts.py +6 -5
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_hot_reload.py +126 -169
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_native_modules.py +15 -15
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_sdk.py +10 -10
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_storage.py +3 -3
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_utils.py +1 -1
- pythonnative-0.39.0/tests/test_web_transport.py +391 -0
- pythonnative-0.38.0/src/pythonnative/hosts/desktop.py +0 -107
- pythonnative-0.38.0/src/pythonnative/native_views/desktop.py +0 -2356
- pythonnative-0.38.0/src/pythonnative/preview.py +0 -540
- pythonnative-0.38.0/tests/test_desktop_backend.py +0 -523
- {pythonnative-0.38.0 → pythonnative-0.39.0}/LICENSE +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/setup.cfg +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/_ios_log.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/appearance.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/bridge/android.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/bridge/fake.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/bridge/ios.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/cli/__init__.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/component.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/__init__.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/_base.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/controls.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/layout.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/media.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/overlays.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/pressable.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/structural.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/components/text.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/diagnostics.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/element.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/events.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/layout.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/mutations.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/app_state.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/battery.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/clipboard.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/location.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/net_info.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/native_modules/permissions.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/__init__.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/container.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/hooks.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/host.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/linking.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/navigators.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/navigation/state.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/net.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/__init__.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/config.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/deps.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/devices.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/icons.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/permissions.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/plugins.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/project/runtime_assets.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/py.typed +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/reconciler/__init__.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/reconciler/boundaries.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/reconciler/children.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/reconciler/layout_pass.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/reconciler/vnode.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/scheduler.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/style.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/suspense.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/proguard-rules.pro +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/androidTest/java/com/pythonnative/android_template/ExampleInstrumentedTest.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/AndroidManifest.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/drawable/ic_launcher_background.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/layout/activity_main.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/navigation/nav_graph.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/values/colors.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/values/strings.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/values/themes.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/values-night/themes.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/xml/backup_rules.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/main/res/xml/data_extraction_rules.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/app/src/test/java/com/pythonnative/android_template/ExampleUnitTest.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/build.gradle +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/gradle/wrapper/gradle-wrapper.jar +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/gradle/wrapper/gradle-wrapper.properties +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/gradle.properties +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/gradlew +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/gradlew.bat +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/build.gradle +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/AndroidManifest.xml +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/PNBridge.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/PythonHost.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/animation/AnimationSpecs.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/animation/PNAnimator.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/bridge/JsonUtil.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/bridge/MainThread.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/bridge/PNLog.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/bridge/PNRegistry.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/bridge/PNTransaction.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/bridge/TransactionApplier.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/bridge/ViewRegistry.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/BuiltinComponents.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ButtonManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ComponentManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ContainerManagers.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ControlManagers.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/DatePickerManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ImageLoader.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ImageManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ModalManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/PNColor.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/PickerManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/PortalManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/PressableManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ScrollViewManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/SegmentedControlManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/StatusBarManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/TabBarManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/TextInputManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/TextManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/ViewStyler.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/VirtualListManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/components/WebViewManager.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/gestures/GestureArbiter.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/gestures/GestureCoordinator.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/gestures/GestureRecognizers.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/BuiltinModules.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/DeviceModules.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/HostModule.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/MediaModules.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/NativeModule.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/NotificationsModule.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/PermissionsModule.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/StorageModules.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/modules/SystemModules.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/plugins/GeneratedPlugins.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/screens/Navigator.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/screens/ScreenRegistry.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/views/PNAccessibilityDelegate.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/views/PNBorderDrawable.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/views/PNEditText.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/views/PNFrameLayout.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/main/java/com/pythonnative/runtime/views/PNVirtualListView.java +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/test/java/com/pythonnative/runtime/AnimationSpecsTest.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/test/java/com/pythonnative/runtime/GestureArbiterTest.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/test/java/com/pythonnative/runtime/PNColorTest.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/test/java/com/pythonnative/runtime/PNTransactionTest.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/pythonnative/src/test/java/com/pythonnative/runtime/PromiseTest.kt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/android_template/settings.gradle +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Package.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Animation/PNAnimator.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Bridge/PNBridge.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Bridge/PNRegistry.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Bridge/PNTransaction.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Bridge/PNViewRegistry.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNButtonManagers.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNColor.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNComponentManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNContainerView.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNControlManagers.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNImageManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNOverlayManagers.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNPressableManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNScrollViewManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNTabBarManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNTextInputManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNTextManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNTransform.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNViewManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNViewState.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNViewStyler.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNVirtualListManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Components/PNWebViewManager.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Gestures/PNGestureCoordinator.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Modules/AlertModule.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Modules/LifecycleModules.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Modules/MediaModules.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Modules/PNNativeModule.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Modules/PermissionModules.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Modules/SystemModules.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Plugins/PNPluginRegistration.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Screens/PNScreenRegistry.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Support/PNCompat.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Support/PNJSON.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Support/PNLog.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Sources/PythonNativeKit/Support/PNWindow.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Tests/PythonNativeKitTests/PNColorTests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Tests/PythonNativeKitTests/PNGestureTests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Tests/PythonNativeKitTests/PNManagerTests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Tests/PythonNativeKitTests/PNModuleTests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/PythonNativeKit/Tests/PythonNativeKitTests/PNTransactionTests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/AppDelegate.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/Assets.xcassets/AccentColor.colorset/Contents.json +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/Assets.xcassets/Contents.json +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/Base.lproj/LaunchScreen.storyboard +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/BridgingHeader.h +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/Info.plist +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/PythonRuntime.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template/SceneDelegate.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template.xcodeproj/project.pbxproj +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_template.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_templateTests/ios_templateTests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITestsLaunchTests.swift +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/testing/__init__.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/testing/backend.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/testing/harness.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative/virtual_rows.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative.egg-info/dependency_links.txt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative.egg-info/entry_points.txt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative.egg-info/requires.txt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/src/pythonnative.egg-info/top_level.txt +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_alert.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_animated.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_animated_graph.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_appearance.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_async_hooks.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_components.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_core_semantics.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_element.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_events.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_extended_components.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_gesture_composition.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_hooks.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_images.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_incremental_render.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_interaction_props.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_ios_log.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_layout.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_metric_hooks.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_mutations.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_native_lists.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_native_views.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_navigation.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_net.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_new_components.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_platform.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_platform_metrics.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_reconciler.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_ref.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_runtime.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_smoke.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_style.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_suspense.py +0 -0
- {pythonnative-0.38.0 → pythonnative-0.39.0}/tests/test_transitions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythonnative
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.39.0
|
|
4
4
|
Summary: Cross-platform native UI toolkit for Android and iOS
|
|
5
5
|
Author: Owen Carey
|
|
6
6
|
License: MIT License
|
|
@@ -82,20 +82,20 @@ PythonNative is a cross-platform toolkit for building native Android and iOS app
|
|
|
82
82
|
- **Device APIs:** Cross-platform modules for `Camera`, `Location`, `FileSystem`, `Notifications`, `Clipboard`, `Share`, `Linking`, `Permissions`, `AppState`, `NetInfo`, `SecureStore`, `Battery`, `Haptics` / `Vibration`, and `Biometrics`, plus reactive `use_app_state` and `use_net_info` hooks.
|
|
83
83
|
- **Hooks and function components:** Manage state with `use_state`, side effects with `use_effect` / `use_layout_effect`, refs and imperative handles with `use_ref` / `use_imperative_handle`, and navigation with `use_navigation`, all through one consistent pattern. Components can return a single element, a list of siblings, or `None`, and `Fragment`, `Portal`, and reactive `Provider` context work the way they do in React.
|
|
84
84
|
- **Async-first rendering:** One `asyncio` event loop runs the whole framework on the platform's main thread. Components can be `async def` and `await` data directly in the body; `Suspense` boundaries show declarative loading states while they wait. `use_resource` fetches during render, `use_effect` accepts coroutine callbacks (cancelled automatically on unmount), `lazy` code-splits components, and `use_transition` / `use_deferred_value` keep the UI responsive during expensive updates.
|
|
85
|
-
- **Developer feedback that finds your bugs:** In dev mode (`pn preview`,
|
|
85
|
+
- **Developer feedback that finds your bugs:** In dev mode (`pn start`, `pn preview`, debug builds from `pn run`, or `PN_DEV=1`), uncaught errors from renders, effects, and event handlers show a full-screen RedBox with the traceback; unknown style keys and duplicate list keys print "did you mean" warnings; and conditional hooks raise a `HookOrderError` at the source instead of silently cross-wiring state.
|
|
86
86
|
- **Typed `style` prop and theme:** Pass all visual and layout properties through a single `style` dict, fully described by the `pn.Style` `TypedDict` and the ergonomic `pn.style(...)` helper for IDE autocomplete and static checking. Compose reusable styles with `StyleSheet`, and read design tokens from a typed, immutable `pn.Theme` via `use_theme()` that follows light and dark mode by default.
|
|
87
87
|
- **Cross-platform flexbox engine:** A pure-Python, Yoga-style layout engine computes frames once and applies them to native views, so `flex`, `padding`, `aspect_ratio`, and `position: "absolute"` produce the same geometry on Android and iOS.
|
|
88
88
|
- **Virtual view tree + reconciler:** Element trees are diffed and patched with minimal native mutations, similar to React's reconciliation. Each commit lands as **one batched transaction** of mutation ops, and event callbacks are routed through a tag-based registry so re-renders that only change closures cost zero native calls. State updates re-render **locally**: only the component whose state changed (and its subtree) re-runs, and unchanged leaves reuse cached intrinsic measurements, so deep UIs stay responsive instead of re-rendering the whole app from the root on every tap.
|
|
89
89
|
- **Native-driven animations:** The `Animated` API (timing / spring / decay / loop / stagger, awaitable or fire-and-forget) hands animations to Core Animation and `ViewPropertyAnimator` whenever possible, so no Python code runs per frame; a pure-Python ticker covers the rest. `interpolate`, arithmetic operators on animated nodes, `Animated.event` scroll binding, and `diff_clamp` cover the scroll-driven patterns (collapsing headers, parallax) that define native feel.
|
|
90
|
-
- **Native gesture system:** Attach `Tap`, `LongPress`, `Pan`, `Swipe`, `Fling`, `Pinch`, and `Rotation` recognizers to any view via the `gestures=` prop, backed by `UIGestureRecognizer` on iOS and a unit-testable pure-Python arbiter on Android and
|
|
90
|
+
- **Native gesture system:** Attach `Tap`, `LongPress`, `Pan`, `Swipe`, `Fling`, `Pinch`, and `Rotation` recognizers to any view via the `gestures=` prop, backed by `UIGestureRecognizer` on iOS and a unit-testable pure-Python arbiter on Android and in the browser preview. Compose them with `Race`, `Exclusive`, and `Simultaneous` for cross-gesture arbitration (single vs. double tap, drag vs. long press).
|
|
91
91
|
- **Virtualized lists:** `FlatList` / `SectionList` window their rows in Python over the platform scroll view: uniform, exact, or measured variable heights, grids, headers/footers, infinite scroll, and an imperative scroll controller, identical on every platform.
|
|
92
92
|
- **Native rendering core:** each commit is one serialized transaction applied by Swift and Kotlin component managers, the same shape as React Native's Fabric. Device APIs are native modules registered by name (TurboModules-style), callable from thin Python facades.
|
|
93
93
|
- **Custom-component SDK:** Wrap any platform widget as a first-class element with type-checked props via `pythonnative.sdk` (`Props`, `@native_component`, `element_factory`). Plugins distributed on PyPI auto-register through the `pythonnative.handlers` entry-point group.
|
|
94
|
-
- **
|
|
94
|
+
- **Metro-style dev loop:** `pn start` runs one dev server that serves the browser preview and every connected debug build. Save a file and each client Fast Refreshes in place, keeping component state; their `print` output and tracebacks stream back into the same terminal. `pn run android` / `pn run ios` bakes the server URL into a debug build and rebuilds the native project only when a native input actually changed, so relaunching after a Python edit takes seconds, not minutes.
|
|
95
95
|
- **PyPI packages, binary wheels included:** List requirements in `pythonnative.toml` and the CLI resolves them for the *device* (iOS wheels via PEP 730 and BeeWare's index, Android wheels via PEP 738 and Chaquopy), bundling numpy, Pillow, cryptography, and friends alongside pure-Python packages. `pn deps` reports what each target resolves to before you build, and a weekly-checked compatibility matrix keeps the docs honest.
|
|
96
|
-
- **
|
|
96
|
+
- **Browser preview:** `pn preview` renders your app in a browser tab inside a phone frame (pick a device, rotate, toggle dark mode) with Fast Refresh on every save. The page is a bridge peer exactly like the Swift and Kotlin runtimes, so the reconciler, hooks, layout engine, navigation, and screen host are the same code that ships to the phone; only the leaf widgets are DOM elements.
|
|
97
97
|
- **Native-backed navigation:** Declarative `Stack`, `Tab`, and `Drawer` navigators inspired by React Navigation. The root stack drives the platform's native navigation controller (`UINavigationController` on iOS, AndroidX Navigation Component on Android), so transitions, back gestures, and the hardware back button match what users expect; `use_back_handler` intercepts the back action when a screen needs to.
|
|
98
|
-
- **
|
|
98
|
+
- **Dev client:** Build a shell app once with `pn run ios --dev-client` and point it at any project's dev server from a connect screen, the way Expo Go does; physical phones on the same Wi-Fi get the same Fast Refresh as simulators.
|
|
99
99
|
- **Bundled templates:** Android Gradle and iOS Xcode templates are included, so scaffolding requires no network access.
|
|
100
100
|
|
|
101
101
|
## Quick Start
|
|
@@ -127,6 +127,16 @@ def App():
|
|
|
127
127
|
)
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
+
### Develop
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
pn init my-app && cd my-app
|
|
134
|
+
pn preview # dev server + browser preview with Fast Refresh
|
|
135
|
+
pn run ios # in another terminal: debug build that connects to the same server
|
|
136
|
+
pn run android
|
|
137
|
+
pn build ios # standalone release artifacts
|
|
138
|
+
```
|
|
139
|
+
|
|
130
140
|
## Documentation
|
|
131
141
|
|
|
132
142
|
Visit [pythonnative.com](https://pythonnative.com/) for the full documentation, including getting started guides, platform-specific instructions for Android and iOS, API reference, and working examples.
|
|
@@ -35,20 +35,20 @@ PythonNative is a cross-platform toolkit for building native Android and iOS app
|
|
|
35
35
|
- **Device APIs:** Cross-platform modules for `Camera`, `Location`, `FileSystem`, `Notifications`, `Clipboard`, `Share`, `Linking`, `Permissions`, `AppState`, `NetInfo`, `SecureStore`, `Battery`, `Haptics` / `Vibration`, and `Biometrics`, plus reactive `use_app_state` and `use_net_info` hooks.
|
|
36
36
|
- **Hooks and function components:** Manage state with `use_state`, side effects with `use_effect` / `use_layout_effect`, refs and imperative handles with `use_ref` / `use_imperative_handle`, and navigation with `use_navigation`, all through one consistent pattern. Components can return a single element, a list of siblings, or `None`, and `Fragment`, `Portal`, and reactive `Provider` context work the way they do in React.
|
|
37
37
|
- **Async-first rendering:** One `asyncio` event loop runs the whole framework on the platform's main thread. Components can be `async def` and `await` data directly in the body; `Suspense` boundaries show declarative loading states while they wait. `use_resource` fetches during render, `use_effect` accepts coroutine callbacks (cancelled automatically on unmount), `lazy` code-splits components, and `use_transition` / `use_deferred_value` keep the UI responsive during expensive updates.
|
|
38
|
-
- **Developer feedback that finds your bugs:** In dev mode (`pn preview`,
|
|
38
|
+
- **Developer feedback that finds your bugs:** In dev mode (`pn start`, `pn preview`, debug builds from `pn run`, or `PN_DEV=1`), uncaught errors from renders, effects, and event handlers show a full-screen RedBox with the traceback; unknown style keys and duplicate list keys print "did you mean" warnings; and conditional hooks raise a `HookOrderError` at the source instead of silently cross-wiring state.
|
|
39
39
|
- **Typed `style` prop and theme:** Pass all visual and layout properties through a single `style` dict, fully described by the `pn.Style` `TypedDict` and the ergonomic `pn.style(...)` helper for IDE autocomplete and static checking. Compose reusable styles with `StyleSheet`, and read design tokens from a typed, immutable `pn.Theme` via `use_theme()` that follows light and dark mode by default.
|
|
40
40
|
- **Cross-platform flexbox engine:** A pure-Python, Yoga-style layout engine computes frames once and applies them to native views, so `flex`, `padding`, `aspect_ratio`, and `position: "absolute"` produce the same geometry on Android and iOS.
|
|
41
41
|
- **Virtual view tree + reconciler:** Element trees are diffed and patched with minimal native mutations, similar to React's reconciliation. Each commit lands as **one batched transaction** of mutation ops, and event callbacks are routed through a tag-based registry so re-renders that only change closures cost zero native calls. State updates re-render **locally**: only the component whose state changed (and its subtree) re-runs, and unchanged leaves reuse cached intrinsic measurements, so deep UIs stay responsive instead of re-rendering the whole app from the root on every tap.
|
|
42
42
|
- **Native-driven animations:** The `Animated` API (timing / spring / decay / loop / stagger, awaitable or fire-and-forget) hands animations to Core Animation and `ViewPropertyAnimator` whenever possible, so no Python code runs per frame; a pure-Python ticker covers the rest. `interpolate`, arithmetic operators on animated nodes, `Animated.event` scroll binding, and `diff_clamp` cover the scroll-driven patterns (collapsing headers, parallax) that define native feel.
|
|
43
|
-
- **Native gesture system:** Attach `Tap`, `LongPress`, `Pan`, `Swipe`, `Fling`, `Pinch`, and `Rotation` recognizers to any view via the `gestures=` prop, backed by `UIGestureRecognizer` on iOS and a unit-testable pure-Python arbiter on Android and
|
|
43
|
+
- **Native gesture system:** Attach `Tap`, `LongPress`, `Pan`, `Swipe`, `Fling`, `Pinch`, and `Rotation` recognizers to any view via the `gestures=` prop, backed by `UIGestureRecognizer` on iOS and a unit-testable pure-Python arbiter on Android and in the browser preview. Compose them with `Race`, `Exclusive`, and `Simultaneous` for cross-gesture arbitration (single vs. double tap, drag vs. long press).
|
|
44
44
|
- **Virtualized lists:** `FlatList` / `SectionList` window their rows in Python over the platform scroll view: uniform, exact, or measured variable heights, grids, headers/footers, infinite scroll, and an imperative scroll controller, identical on every platform.
|
|
45
45
|
- **Native rendering core:** each commit is one serialized transaction applied by Swift and Kotlin component managers, the same shape as React Native's Fabric. Device APIs are native modules registered by name (TurboModules-style), callable from thin Python facades.
|
|
46
46
|
- **Custom-component SDK:** Wrap any platform widget as a first-class element with type-checked props via `pythonnative.sdk` (`Props`, `@native_component`, `element_factory`). Plugins distributed on PyPI auto-register through the `pythonnative.handlers` entry-point group.
|
|
47
|
-
- **
|
|
47
|
+
- **Metro-style dev loop:** `pn start` runs one dev server that serves the browser preview and every connected debug build. Save a file and each client Fast Refreshes in place, keeping component state; their `print` output and tracebacks stream back into the same terminal. `pn run android` / `pn run ios` bakes the server URL into a debug build and rebuilds the native project only when a native input actually changed, so relaunching after a Python edit takes seconds, not minutes.
|
|
48
48
|
- **PyPI packages, binary wheels included:** List requirements in `pythonnative.toml` and the CLI resolves them for the *device* (iOS wheels via PEP 730 and BeeWare's index, Android wheels via PEP 738 and Chaquopy), bundling numpy, Pillow, cryptography, and friends alongside pure-Python packages. `pn deps` reports what each target resolves to before you build, and a weekly-checked compatibility matrix keeps the docs honest.
|
|
49
|
-
- **
|
|
49
|
+
- **Browser preview:** `pn preview` renders your app in a browser tab inside a phone frame (pick a device, rotate, toggle dark mode) with Fast Refresh on every save. The page is a bridge peer exactly like the Swift and Kotlin runtimes, so the reconciler, hooks, layout engine, navigation, and screen host are the same code that ships to the phone; only the leaf widgets are DOM elements.
|
|
50
50
|
- **Native-backed navigation:** Declarative `Stack`, `Tab`, and `Drawer` navigators inspired by React Navigation. The root stack drives the platform's native navigation controller (`UINavigationController` on iOS, AndroidX Navigation Component on Android), so transitions, back gestures, and the hardware back button match what users expect; `use_back_handler` intercepts the back action when a screen needs to.
|
|
51
|
-
- **
|
|
51
|
+
- **Dev client:** Build a shell app once with `pn run ios --dev-client` and point it at any project's dev server from a connect screen, the way Expo Go does; physical phones on the same Wi-Fi get the same Fast Refresh as simulators.
|
|
52
52
|
- **Bundled templates:** Android Gradle and iOS Xcode templates are included, so scaffolding requires no network access.
|
|
53
53
|
|
|
54
54
|
## Quick Start
|
|
@@ -80,6 +80,16 @@ def App():
|
|
|
80
80
|
)
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
+
### Develop
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
pn init my-app && cd my-app
|
|
87
|
+
pn preview # dev server + browser preview with Fast Refresh
|
|
88
|
+
pn run ios # in another terminal: debug build that connects to the same server
|
|
89
|
+
pn run android
|
|
90
|
+
pn build ios # standalone release artifacts
|
|
91
|
+
```
|
|
92
|
+
|
|
83
93
|
## Documentation
|
|
84
94
|
|
|
85
95
|
Visit [pythonnative.com](https://pythonnative.com/) for the full documentation, including getting started guides, platform-specific instructions for Android and iOS, API reference, and working examples.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pythonnative"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.39.0"
|
|
8
8
|
description = "Cross-platform native UI toolkit for Android and iOS"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Owen Carey" }
|
|
@@ -88,11 +88,13 @@ where = ["src"]
|
|
|
88
88
|
[tool.setuptools]
|
|
89
89
|
license-files = ["LICENSE*"]
|
|
90
90
|
|
|
91
|
-
# Include template directories
|
|
91
|
+
# Include template directories and the browser preview's page assets inside
|
|
92
|
+
# the package so importlib.resources can find them
|
|
92
93
|
[tool.setuptools.package-data]
|
|
93
94
|
pythonnative = [
|
|
94
95
|
"py.typed",
|
|
95
96
|
"templates/**",
|
|
97
|
+
"devserver/static/*",
|
|
96
98
|
]
|
|
97
99
|
|
|
98
100
|
[tool.ruff]
|
|
@@ -127,7 +129,6 @@ ignore = ["D107", "D105", "D203", "D213"]
|
|
|
127
129
|
# docstrings would only add boilerplate that repeats the ABC.
|
|
128
130
|
"src/pythonnative/native_views/android.py" = ["D101", "D102"]
|
|
129
131
|
"src/pythonnative/native_views/ios.py" = ["D101", "D102"]
|
|
130
|
-
"src/pythonnative/native_views/desktop.py" = ["D101", "D102"]
|
|
131
132
|
# ios.py embeds a LaunchScreen storyboard as an XML string literal whose
|
|
132
133
|
# lines exceed the limit; the XML must stay on single lines for Xcode.
|
|
133
134
|
"src/pythonnative/project/ios.py" = ["E501"]
|
|
@@ -52,7 +52,7 @@ async def _present(
|
|
|
52
52
|
"default"|"cancel"|"destructive"}`` dicts. The module resolves with
|
|
53
53
|
the index the user picked, or ``-1`` if the dialog was dismissed
|
|
54
54
|
without a selection. Off device the
|
|
55
|
-
[`
|
|
55
|
+
[`FallbackAlert`][pythonnative.native_modules.fallback.FallbackAlert]
|
|
56
56
|
implementation records the call and answers from the queue set by
|
|
57
57
|
[`Alert.set_test_response`][pythonnative.alerts.Alert.set_test_response].
|
|
58
58
|
"""
|
|
@@ -40,7 +40,7 @@ native view the value is attached to
|
|
|
40
40
|
callback when the animation settles, updates the
|
|
41
41
|
[`AnimatedValue`][pythonnative.animated.AnimatedValue], and resolves
|
|
42
42
|
any awaiting tasks.
|
|
43
|
-
- **Declined** (
|
|
43
|
+
- **Declined** (unattached values, callable easings,
|
|
44
44
|
values feeding Python-side listeners or derived nodes): a single
|
|
45
45
|
background thread ticks the animation at ~60 Hz from Python, pushing
|
|
46
46
|
each frame through ``set_animated_property``. Semantics are
|
|
@@ -8,9 +8,10 @@ import pythonnative.bootstrap; pythonnative.bootstrap.start()
|
|
|
8
8
|
|
|
9
9
|
[`start`][pythonnative.bootstrap.start] connects the two halves of the
|
|
10
10
|
bridge (installing the native -> Python callback on iOS), verifies the
|
|
11
|
-
protocol version, routes ``print()`` to the console on iOS,
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
protocol version, routes ``print()`` to the console on iOS, warms the
|
|
12
|
+
asyncio runtime, and, in debug builds, starts the dev client that syncs
|
|
13
|
+
sources from ``pn start``. From then on the native runtime drives
|
|
14
|
+
everything through ``callback("host", ...)``; see ``docs/concepts/bridge.md``.
|
|
14
15
|
"""
|
|
15
16
|
|
|
16
17
|
from __future__ import annotations
|
|
@@ -29,8 +30,8 @@ def start(dev: bool = False, strict: bool = False) -> Dict[str, Any]:
|
|
|
29
30
|
"""Connect the bridge and prepare the runtime.
|
|
30
31
|
|
|
31
32
|
Args:
|
|
32
|
-
dev: Enable dev mode (RedBox, validation warnings
|
|
33
|
-
templates pass ``True
|
|
33
|
+
dev: Enable dev mode (RedBox, validation warnings, the dev
|
|
34
|
+
client). Debug templates pass ``True``.
|
|
34
35
|
strict: Re-raise the failure after recording it. The templates
|
|
35
36
|
pass ``True`` so a broken bridge surfaces as a bootstrap
|
|
36
37
|
error screen with the full traceback.
|
|
@@ -59,7 +60,8 @@ def start(dev: bool = False, strict: bool = False) -> Dict[str, Any]:
|
|
|
59
60
|
from . import bridge
|
|
60
61
|
|
|
61
62
|
status_["protocol"] = bridge.handshake()
|
|
62
|
-
|
|
63
|
+
dev_mode = bool(dev or os.environ.get("PN_DEV") in ("1", "true"))
|
|
64
|
+
if dev_mode:
|
|
63
65
|
from . import diagnostics
|
|
64
66
|
|
|
65
67
|
diagnostics.set_dev_mode(True)
|
|
@@ -73,6 +75,13 @@ def start(dev: bool = False, strict: bool = False) -> Dict[str, Any]:
|
|
|
73
75
|
from .native_views import get_registry
|
|
74
76
|
|
|
75
77
|
get_registry()
|
|
78
|
+
if dev_mode:
|
|
79
|
+
# Debug builds are dev clients: connect to `pn start` when
|
|
80
|
+
# the build (or a remembered connection) names a server.
|
|
81
|
+
from . import devclient
|
|
82
|
+
|
|
83
|
+
client = devclient.start_if_configured()
|
|
84
|
+
status_["dev_server"] = client.url if client is not None else None
|
|
76
85
|
except Exception as exc:
|
|
77
86
|
status_["error"] = f"{type(exc).__name__}: {exc}"
|
|
78
87
|
print(f"[pn.bootstrap] start failed: {exc!r}", file=sys.stderr)
|
|
@@ -7,11 +7,13 @@ Everything that crosses into native code goes through a
|
|
|
7
7
|
[`native_callback`][pythonnative.bridge.native_callback]. The protocol
|
|
8
8
|
is documented in ``docs/concepts/bridge.md``.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
Under ``pn preview`` the native side is a browser page, reached through
|
|
11
|
+
[`WebTransport`][pythonnative.bridge.web.WebTransport]; the preview
|
|
12
|
+
installs it with [`set_transport`][pythonnative.bridge.set_transport]
|
|
13
|
+
before any screen mounts. In headless tests there is no transport at
|
|
14
|
+
all: native modules fall back to their Python implementations, and
|
|
15
|
+
tests that want to exercise the bridge itself install a
|
|
16
|
+
[`FakeTransport`][pythonnative.bridge.fake.FakeTransport].
|
|
15
17
|
"""
|
|
16
18
|
|
|
17
19
|
from __future__ import annotations
|
|
@@ -74,7 +76,7 @@ _explicit = False
|
|
|
74
76
|
|
|
75
77
|
|
|
76
78
|
def _create_platform_transport() -> Optional[Transport]:
|
|
77
|
-
from ..utils import IS_ANDROID, IS_IOS
|
|
79
|
+
from ..utils import IS_ANDROID, IS_IOS, IS_WEB
|
|
78
80
|
|
|
79
81
|
if IS_IOS:
|
|
80
82
|
from .ios import IOSTransport
|
|
@@ -86,6 +88,11 @@ def _create_platform_transport() -> Optional[Transport]:
|
|
|
86
88
|
from .android import AndroidTransport
|
|
87
89
|
|
|
88
90
|
return AndroidTransport()
|
|
91
|
+
if IS_WEB:
|
|
92
|
+
raise RuntimeError(
|
|
93
|
+
"PN_PLATFORM=web is set but no browser preview transport is installed. "
|
|
94
|
+
"Start the app with `pn preview` (or `pn start`), which installs the WebTransport."
|
|
95
|
+
)
|
|
89
96
|
return None
|
|
90
97
|
|
|
91
98
|
|
|
@@ -104,7 +111,7 @@ def get_transport() -> Transport:
|
|
|
104
111
|
if created is None:
|
|
105
112
|
raise RuntimeError(
|
|
106
113
|
"No native bridge is available on this platform (running off-device). "
|
|
107
|
-
"Use `pn preview` for the
|
|
114
|
+
"Use `pn preview` for the browser renderer or install a FakeTransport in tests."
|
|
108
115
|
)
|
|
109
116
|
_transport = created
|
|
110
117
|
return _transport
|
|
@@ -116,9 +123,9 @@ def has_transport() -> bool:
|
|
|
116
123
|
return True
|
|
117
124
|
if _explicit:
|
|
118
125
|
return False
|
|
119
|
-
from ..utils import IS_ANDROID, IS_IOS
|
|
126
|
+
from ..utils import IS_ANDROID, IS_IOS, IS_WEB
|
|
120
127
|
|
|
121
|
-
return bool(IS_IOS or IS_ANDROID)
|
|
128
|
+
return bool(IS_IOS or IS_ANDROID or IS_WEB)
|
|
122
129
|
|
|
123
130
|
|
|
124
131
|
def set_transport(transport: Optional[Transport]) -> None:
|
|
@@ -104,7 +104,7 @@ def encode_transaction(
|
|
|
104
104
|
|
|
105
105
|
Args:
|
|
106
106
|
ops: Ordered mutations from the reconciler.
|
|
107
|
-
prop_filter: Unused hook kept for symmetry with the
|
|
107
|
+
prop_filter: Unused hook kept for symmetry with the test
|
|
108
108
|
registry; reserved for per-type prop rewriting.
|
|
109
109
|
|
|
110
110
|
Returns:
|