iOS presents the in-app browser outside the app's navigation, so a link opened
from a page in it, such as "Open in Folo", opened its form under the browser,
seen only once the user closed it. The browser now closes first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SFSafariViewController aborts the app for any URL that is not http(s), such as
mailto: links in content or onboarding entry links. Such links now go to the
app that handles them, in JS and natively, and an unparsable one settles the call.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Refactored WebViewManager to improve lifecycle management and state handling.
- Introduced a debug panel for monitoring WebView state and actions in development mode.
- Updated JavaScript injection methods to use a centralized dispatch system for better maintainability.
- Improved handling of local HTML loading and state replay after process termination.
- Added new functions for debugging, including state retrieval and flushing pending scripts.
This update aims to enhance the overall performance and usability of the WebView component, providing developers with better tools for debugging and state management.
Signed-off-by: Innei <tukon479@gmail.com>
- Update openLink function to support promises and handle dismiss events
- Refactor WebViewManager to accept an onDismiss callback for modal presentation
- Introduce SafariViewController to manage dismissal actions
- Modify native module interface to reflect changes in openLink
- Add new Setting2FA screen and update navigation routes accordingly
Signed-off-by: Innei <tukon479@gmail.com>