---
name: "getSystemInfoSync"
mode: "kit"
versionRequirements:
  - { name: "BaseKit", version: "2.0.1" }
platform:
  - "iOS"
  - "Android"
---

## getSystemInfoSync

> [VERSION] BaseKit >= 2.0.1

> [PLATFORM] iOS, Android

### Description

Get system info

### Parameters

None


### Referenced Types

##### `interface` SafeArea

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `left` | `number` | `3.2.6` | Left inset Left boundary of the safe area, in logical pixels; e.g., returns 0 |
| `right` | `number` | `3.2.6` | Right inset Right boundary of the safe area, in logical pixels; e.g., returns 411 |
| `top` | `number` | `3.2.6` | Top inset Top boundary of the safe area, in logical pixels; e.g., returns 34 |
| `bottom` | `number` | `3.2.6` | Bottom inset Bottom boundary of the safe area, in logical pixels; e.g., returns 898 |
| `width` | `number` | `3.2.6` | Safe area width, in logical pixels; e.g., returns 411 |
| `height` | `number` | `3.2.6` | Safe area height, in logical pixels; e.g., returns 864 |


### Examples

```tsx
ty.getSystemInfo({
  success: data => {
    console.log(data);
  },
  fail: error => {
    console.error(error);
  },
});
```
