Disable in-app notifications
The following method allows you to disable the in app notifications.Notification container offset
You can adjust the position of the in-app notification container by setting an offset in pixels:- x – Horizontal offset in pixels (positive values move the container to the right).
- y – Vertical offset in pixels (positive values move the container down).
Inline banners
Inline banners (the banner style you pick in the Gleap dashboard) are shown at the top of the screen and cover the status bar. Floating banners float above the app as a card. By default both overlay your app. To push your app down below inline banners instead, like inline banners on the web, wrap it inGleapBannerArea (SDK 19.3.0 or later):
SafeAreaView) would leave a gap below it. With react-native-safe-area-context, pass on the inset that is left:
useGleapBannerHeight() returns the height (points on iOS, dp on Android, from the top edge; 0 while no inline banner is shown). Gleap.getBannerHeight() and the bannerHeightChanged listener (Gleap.registerListener('bannerHeightChanged', callback)) give the same value.