Getting Started
이 플러그인의 설치 단계와 전체 마크다운 가이드가 포함된 설정 지시를 복사할 수 있습니다.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-home-indicator`, `@capgo/home-indicator`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/home-indicator/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
설치
설치 섹션 제목Capgo의 AI 보조 설치를 사용하여 플러그인을 설치할 수 있습니다. AI 도구에 Capgo 기능을 추가하려면 다음 명령어를 사용하세요.
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins다음과 같은 프롬프트를 사용하세요.
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-home-indicator` plugin in my project.만약 Manual Setup을 선호한다면, 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래에 플랫폼에 따라 설명된 지침을 따르세요.
bun add @capgo/capacitor-home-indicatorbunx cap syncImport
Import 섹션 제목import { HomeIndicator } from '@capgo/capacitor-home-indicator';API 소개
API 소개 제목스크린 하단의 홈 인디케이터를 숨깁니다.
iOS에서만 사용할 수 있습니다. 안드로이드나 웹에서는 효과가 없습니다.
복사
import { HomeIndicator } from '@capgo/capacitor-home-indicator';
await HomeIndicator.hide();iOS에서만 사용할 수 있습니다. 안드로이드나 웹에서는 효과가 없습니다.
스크린 하단의 홈 인디케이터를 표시합니다. 이게 기본 설정입니다.
iOS에서만 사용할 수 있습니다. 안드로이드나 웹에서는 효과가 없습니다.
import { HomeIndicator } from '@capgo/capacitor-home-indicator';
await HomeIndicator.show();isHidden
isHidden라는 제목의 섹션iOS 홈 인디케이터가 현재 숨겨져 있는지 확인합니다.
iOS 홈 인디케이터의 현재 가시성 상태를 반환합니다.
import { HomeIndicator } from '@capgo/capacitor-home-indicator';
const { hidden } = await HomeIndicator.isHidden();if (hidden) { console.log('Home indicator is hidden');} else { console.log('Home indicator is visible');}진실의 근원
Source Of Truth라는 제목의 섹션이 페이지는 플러그인의 src/definitions.ts. upstream에서 변경된 경우 pubic API를 다시 동기화하세요.
Getting Started에서 계속하기
Keep going from Getting Started라는 제목의 섹션이미 Getting Started를 사용 중이라면 Getting Started API을 위한 대시보드와 API 운영을 계획하고 연결하는 방법 Using @capgo/capacitor-home-indicator capgo에서 사용하는 @capgo/capacitor-home-indicator에 대한 설명 API Overview API에 대한 개요 Introduction __CAPGO_KEEP_0__에 대한 구현 세부 사항 API Keys API에 대한 구현 세부 사항 Devices __CAPGO_KEEP_0__에 대한 구현 세부 사항