tao@0.35.0
此内容尚不支持你的语言。
-
4e7c2f4a(#1154 by @lucasfernog) Breaking change: The Android activity should now reference and call the following external functions:private external fun onActivityCreate(activity) private external fun start() private external fun resume() private external fun pause() private external fun stop() private external fun onActivitySaveInstanceState() private external fun onActivityDestroy(activity) private external fun onActivityLowMemory()
-
18040018(#1146 by @JeffTsang)Event::Resumedis now only emitted when the app is actually resumed (going back to foreground) so it won’t be called on app startup. -
56e9840b(#1141 by @haecker-felix) Use the Linux XDG Desktop Portal to add support for the system color scheme. Needsdbusfeature flag. -
4e7c2f4a(#1154 by @lucasfernog) Added multi-window support for iOS and Android.Leverages scenes on iOS and Activity embedding on Android.
iOS:
- Added Event::SceneRequested (on iPad the user can request a new window to be open - e.g. by long pressing the app icon and selecting “New window”)
- Request new scene to be created on Window::new (if needed, main scene is detected automatically) and assign the window instance later when it gets connected
Android:
- Create new activity on Window::new (if needed, main activity is detected automatically)
- Added builder methods to determine the activity to be created
- System determines what to do with the activity (new stack, next to another one.. based on the embedding rules)
-
9cea0358(#1155 by @lucasfernog) FireEvent::Openedon Android, which now requires the activity to call the onNewIntent(intent) external function. -
18040018(#1146 by @JeffTsang) Use WillEnterForeground instead of DidBecomeActive for Event::Resumed in iOS.
© 2026 Tauri Contributors. CC-BY / MIT