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
You can also disable app banners temporarily, e.g. during a splash screen. Banners are enabled by default.
1207
-
If a banner would show during this time, it is added to an internal queue and shown when calling `enableAppBanners`.
1210
+
You can temporarily disable app banners, for example during a splash screen or while navigating between screens.
1211
+
1212
+
If a banner is triggered while banners are disabled, it will be added to an internal queue and automatically displayed once `enableAppBanners()` is called.
You can temporarily disable app banners, for example during a splash screen or while navigating between screens.
266
+
267
+
If a banner is triggered while banners are disabled, it will be added to an internal queue and automatically displayed once `enableAppBanners()` is called.
268
+
269
+
```dart
270
+
CleverPush.shared.disableAppBanners();
271
+
CleverPush.shared.enableAppBanners();
272
+
```
273
+
274
+
### Development mode
275
+
276
+
You can enable Development Mode to temporarily disable app banner caching.
277
+
278
+
This ensures that you always see the most up-to-date version of app banners during development and testing.
279
+
280
+
```dart
281
+
CleverPush.shared.enableDevelopmentMode();
282
+
```
283
+
261
284
## Tracking Consent
262
285
263
286
You can optionally require a tracking consent from the user (e.g. you get this consent from a CMP). If you tell our SDK to wait for the tracking consent, it will not call any tracking-related features until the consent is available. Calls will be queued and automatically executed until the consent is available.
0 commit comments