You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-3.0/android-present-onboardings.md
+36-1Lines changed: 36 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,8 @@ To do this, create `adapty_onboarding_placeholder_view.xml` in `res/layout` and
102
102
103
103
If you define a placeholder, the onboarding will be loaded in the background and automatically displayed once ready.
104
104
105
+
106
+
105
107
## Disable safe area paddings
106
108
107
109
By default, the onboarding view automatically applies safe area paddings to avoid system UI elements like status bar and navigation bar. However, if you want to disable this behavior and have full control over the layout, you can do so by setting the `safeAreaPaddings` parameter to `false`.
@@ -158,4 +160,37 @@ Alternatively, you can control this behavior globally by adding a boolean resour
158
160
</resources>
159
161
```
160
162
161
-
When `safeAreaPaddings` is set to `false`, the onboarding will extend to the full screen without any automatic padding adjustments, giving you complete control over the layout and allowing the onboarding content to use the entire screen space.
163
+
When `safeAreaPaddings` is set to `false`, the onboarding will extend to the full screen without any automatic padding adjustments, giving you complete control over the layout and allowing the onboarding content to use the entire screen space.
164
+
165
+
## Open links in onboardings in an in-app browser
166
+
167
+
:::important
168
+
Opening links in onboardings in an in-app browser is supported starting from Adapty SDK v. 3.15.1.
169
+
:::
170
+
171
+
By default, links in onboardings open in the external browser.
172
+
173
+
To provide a seamless user experience, you can open links in an in-app browser. This displays web pages within your application, allowing users to see them without switching apps.
174
+
175
+
To enable this, set the `externalUrlsPresentation` parameter to `AdaptyWebPresentation.InAppBrowser`:
176
+
177
+
<TabsgroupId="views-code-examples"queryString>
178
+
<TabItemvalue="kotlin"label="Kotlin"default>
179
+
180
+
```kotlin
181
+
val onboardingConfig =AdaptyUI.getOnboardingConfiguration(
0 commit comments