diff --git a/tns-core-modules/ui/core/view/view-common.ts b/tns-core-modules/ui/core/view/view-common.ts index 422fc76e6..6374792ab 100644 --- a/tns-core-modules/ui/core/view/view-common.ts +++ b/tns-core-modules/ui/core/view/view-common.ts @@ -881,7 +881,7 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition { } public getSafeAreaInsets(): { left, top, right, bottom } { - return undefined; + return {left: 0, top: 0, right: 0, bottom: 0}; } public getLocationInWindow(): Point {