In-App Web Browser for iOS¶
Add a customized browser experience directly into your Unity game. This package wraps Apple's SFSafariViewController and ASWebAuthenticationSession for Unity developers, making it simple to integrate web content—authentication, patch notes, promotions, social links, legal pages—without leaving your game.
What This Package Does¶
- Opens any URL inside your game using
SFSafariViewController, with full Safari features—cookies, autofill, Reader mode, content blockers—shared with the user's Safari session. - Runs OAuth and redirect-URI sign-in flows using
ASWebAuthenticationSession, the system-provided authentication browser.
Common Use Cases¶
- Authentication: OAuth flows, social sign-in
- Promotions: In-game offers, seasonal events
- Documentation: Patch notes, changelogs, in-game wikis
- Legal: Privacy policy, Terms of Service
- Social: YouTube channels, Discord community, game social media accounts
- Web Content: Any URL you want to open without leaving the game
Key Features¶
- Seamless Theming: Match your game's UI with light/dark color scheme preference.
- Sheet Presentation: Page-sheet, form-sheet, or custom-height bottom sheet.
- Smooth Animations: Configurable modal transition style.
- Prefetch: Faster loads with URL pre-warming.
- Privacy: Ephemeral authentication sessions.
- Reader Mode: Optional content-focused presentation when supported by the page.
Requirements¶
- iOS 15 or higher
Navigate the Docs¶
| I want to... | Go to |
|---|---|
| Set up the package | Getting Started |
| Learn the full API | API Overview |