File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
resources/views/docs/mobile/1/apis Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -84,33 +84,3 @@ class OAuthHandler extends Component
8484}
8585```
8686
87- ## Platform Behavior
88-
89- ### iOS
90- - Uses ` SFSafariViewController ` for the in-app browser
91- - Provides native Safari experience within your app
92- - Includes address bar, navigation controls, and share functionality
93- - Users can easily return to your app
94-
95- ### Android
96- - Uses ` Chrome Custom Tabs ` when available
97- - Falls back to ` WebView ` if Custom Tabs unavailable
98- - Provides native browser experience
99- - Maintains your app's context
100-
101- ## Best Practices
102-
103- 1 . ** Use for OAuth flows** - Perfect for authentication redirects
104- 2 . ** Keep users in your app** - Better than opening external browser
105- 3 . ** Combine with deep links** - Essential for complete OAuth implementation
106- 4 . ** Handle errors gracefully** - Network issues or invalid URLs should be handled
107- 5 . ** Provide user feedback** - Show loading states when opening URLs
108-
109- ## Security Considerations
110-
111- - ** Validate URLs** - Ensure URLs are from trusted sources
112- - ** Handle redirects** - Be prepared for OAuth redirects back to your app
113- - ** Secure communication** - Always use HTTPS for sensitive operations
114- - ** User consent** - Make it clear when opening external content
115-
116- The in-app browser provides a seamless way to handle external content and OAuth flows while maintaining your app's user experience.
You can’t perform that action at this time.
0 commit comments