시작하기
설치 단계 및 이 플러그인의 전체 마크다운 가이드가 포함된 설정 프롬프트를 복사하세요.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-firebase-authentication`
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/firebase-authentication/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.
설치
설치bun add @capgo/capacitor-firebase-authenticationbunx cap sync수입
수입import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';API 개요
API 개요applyActionCode
인증 코드를 적용code 인증 코드를 이메일로 받은 사용자에게 적용합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.applyActionCode({} as ApplyActionCodeOptions);confirmPasswordReset
인증 코드를 적용__CAPGO_KEEP_0__
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmPasswordReset({} as ConfirmPasswordResetOptions);confirmVerificationCode
__CAPGO_KEEP_2____CAPGO_KEEP_0__
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmVerificationCode({} as ConfirmVerificationCodeOptions);createUserWithEmailAndPassword
__CAPGO_KEEP_3____CAPGO_KEEP_4__
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.createUserWithEmailAndPassword({} as CreateUserWithEmailAndPasswordOptions);deleteUser
__CAPGO_KEEP_6____CAPGO_KEEP_7__
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.deleteUser();fetchSignInMethodsForEmail
__CAPGO_KEEP_8__이메일 주소에 대한 로그인 방법을 가져옵니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.fetchSignInMethodsForEmail({} as FetchSignInMethodsForEmailOptions);getCurrentUser
getCurrentUser현재 로그인한 사용자를 가져옵니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getCurrentUser();getPendingAuthResult
getPendingAuthResult만약 앱이 웹 로그인 흐름을 시작하고 OS가 앱을 백그라운드에서 삭제했다면. SignInResult Android에서만 사용 가능.
클립보드에 복사
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getPendingAuthResult();getIdToken
현재 로그인한 사용자의 Firebase Auth ID 토큰을 가져옵니다.클립보드에 복사
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getIdToken();getIdTokenResult
getIdTokenResult사용자를 Firebase 서비스에 식별하기 위해 사용되는 디자일러리제이션된 JSON 웹 토큰 (JWT)을 반환합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getIdTokenResult();getRedirectResult
getRedirectResult리다이렉트 기반 로그인 흐름에서 사용되는 SignInResult 리다이렉트 기반 로그인 흐름이 실패한 경우 오류로 실패합니다.
리다이렉트 연산이 호출되지 않은 경우 사용자 정보가 없는
클립보드 복사 SignInResult getTenantId
웹에서만 사용할 수 있습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getRedirectResult();getTenantId
클립보드 복사__CAPGO_KEEP_0__ ID를 가져오세요.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.getTenantId();isSignInWithEmailLink
__CAPGO_KEEP_2__ 섹션__CAPGO_KEEP_3__ 이메일 주소와 함께 로그인 링크인지 확인합니다. signInWithEmailLink.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.isSignInWithEmailLink({} as IsSignInWithEmailLinkOptions);linkWithApple
__CAPGO_KEEP_5__ 섹션__CAPGO_KEEP_6__ 사용자 계정을 Apple 인증 제공자와 연결합니다.
__CAPGO_KEEP_7__ 사용자는 네이티브层에서 로그인되어 있어야 합니다.
__CAPGO_KEEP_8__ 이 옵션은 이곳에서 효과가 없습니다. skipNativeAuth __CAPGO_KEEP_9__을 클립보드에 복사하세요.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithApple();linkWithEmailAndPassword
__CAPGO_KEEP_11__ 사용자 계정을 이메일 인증 제공자와 연결합니다.__CAPGO_KEEP_12__
네이티브层에서 로그인되어 있어야 합니다. skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithEmailAndPassword({} as LinkWithEmailAndPasswordOptions);linkWithEmailLink
이메일 인증 제공자와 사용자 계정을 연결하는 방법이메일 인증 제공자와 사용자 계정을 연결합니다.
네이티브层에서 로그인되어 있어야 합니다. skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithEmailLink({} as LinkWithEmailLinkOptions);linkWithFacebook
페이스북 인증 제공자와 사용자 계정을 연결하는 방법페이스북 인증 제공자와 사용자 계정을 연결합니다.
네이티브层에서 로그인되어 있어야 합니다. skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithFacebook();linkWithGameCenter
linkWithGameCenterGame Center 인증 제공자와 사용자 계정을 연결합니다.
native layer에서 로그인한 상태여야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithGameCenter();linkWithGithub
linkWithGithubGitHub 인증 제공자와 사용자 계정을 연결합니다.
native layer에서 로그인한 상태여야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithGithub();linkWithGoogle
Google 인증 제공자와 연결사용자 계정을 Google 인증 제공자와 연결합니다.
네이티브层에서 로그인되어야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithGoogle();linkWithMicrosoft
Microsoft 인증 제공자와 연결사용자 계정을 Microsoft 인증 제공자와 연결합니다.
네이티브层에서 로그인되어야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithMicrosoft();linkWithOpenIdConnect
OpenID Connect 인증 제공자와 연결사용자 계정을 OpenID Connect 인증 제공자와 연결합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithOpenIdConnect({} as LinkWithOpenIdConnectOptions);linkWithPhoneNumber
전화번호 인증 공급자와 사용자 계정을 연결하는 방법사용자 계정을 전화번호 인증 공급자와 연결합니다.
네이티브层에서 로그인한 상태여야 합니다.
이 설정 옵션은 여기에 영향을 미치지 않습니다. skipNativeAuth 인증이 완료되면 알림을 받으려면 이
인증이 실패하면 알림을 받으려면 이 phoneVerificationCompleted 인증 ID를 얻으려면 이 phoneVerificationFailed 클립보드 복사 phoneCodeSent Play Games 인증 공급자와 사용자 계정을 연결하는 방법
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithPhoneNumber({} as LinkWithPhoneNumberOptions);linkWithPlayGames
Copy to clipboardSection titled “linkWithApple”
네이티브层에서 로그인해야 합니다. skipNativeAuth __CAPGO_KEEP_0__
이 설정 옵션은 이곳에서 효과가 없습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithPlayGames();linkWithTwitter
클립보드에 복사링크WithTwitter 섹션
사용자 계정을 Twitter 인증 제공자와 연결합니다. skipNativeAuth 네이티브层에서 로그인해야 합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithTwitter();linkWithYahoo
클립보드에 복사링크WithYahoo 섹션
사용자 계정을 Yahoo 인증 제공자와 연결합니다. skipNativeAuth 설정 옵션은 이곳에서 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithYahoo();reload
“재로드”라는 제목의 섹션사용자 계정 데이터를 재로드합니다. 로그인한 경우.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.reload();revokeAccessToken
“액세스 토큰 취소”라는 제목의 섹션지정된 액세스 토큰을 취소합니다. 현재는 Apple OAuth 액세스 토큰만 지원합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.revokeAccessToken({} as RevokeAccessTokenOptions);sendEmailVerification
“이메일 인증”라는 제목의 섹션현재 로그인한 사용자에게 인증 이메일을 보내줍니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendEmailVerification();sendPasswordResetEmail
“비밀번호 초기화 이메일”라는 제목의 섹션비밀번호 재설정 이메일을 보냅니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendPasswordResetEmail({} as SendPasswordResetEmailOptions);sendSignInLinkToEmail
‘sendSignInLinkToEmail’ 섹션사용자에게 지정된 이메일 주소에 이메일 로그인 링크를 보냅니다.
이메일 링크로 로그인 완료를 위해 호출하세요. signInWithEmailLink 이메일 주소와 이메일로 보낸 사용자에게 제공된 이메일 링크를 사용하세요.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendSignInLinkToEmail({} as SendSignInLinkToEmailOptions);setLanguageCode
‘setLanguageCode’ 섹션인증 작업에 사용되는 사용자 화면 언어를 code로 설정합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setLanguageCode({} as SetLanguageCodeOptions);setPersistence
‘setPersistence’ 섹션현재 저장된 인증 세션에 대한 저장 유형을 설정합니다.
웹 전용입니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setPersistence({} as SetPersistenceOptions);setTenantId
세션 제목: setTenantId테넌트 ID를 설정합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setTenantId({} as SetTenantIdOptions);signInAnonymously
세션 제목: signInAnonymously무작위 사용자로 로그인합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInAnonymously();signInWithApple
세션 제목: signInWithApple애플 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithApple();signInWithCustomToken
세션 제목: signInWithCustomToken로그인 토큰 흐름을 시작합니다.
이 메서드는 Android 및 iOS에서 함께 사용할 수 없습니다.
이 경우 Firebase JS __CAPGO_KEEP_0__의 직접 인터페이스를 사용해야 합니다. skipNativeAuth 클립보드에 복사 signInWithCustomToken interface of the Firebase JS SDK directly.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithCustomToken({} as SignInWithCustomTokenOptions);signInWithEmailAndPassword
클립보드에 복사signInWithEmailLink 제목
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithEmailAndPassword({} as SignInWithEmailAndPasswordOptions);signInWithEmailLink
클립보드에 복사signInWithFacebook 제목
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithEmailLink({} as SignInWithEmailLinkOptions);signInWithFacebook
signInWithFacebook 제목Facebook 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithFacebook();signInWithGameCenter
Game Center 로그인 섹션Game Center 로그인 흐름을 시작합니다.
iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithGameCenter();signInWithGithub
GitHub 로그인 섹션GitHub 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithGithub();signInWithGoogle
Google 로그인 섹션Google 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithGoogle();signInWithMicrosoft
Microsoft 로그인 흐름을 시작합니다.Microsoft 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithMicrosoft();signInWithOpenIdConnect
OpenID Connect 로그인 흐름을 시작합니다.OpenID Connect 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithOpenIdConnect({} as SignInWithOpenIdConnectOptions);signInWithPhoneNumber
전화번호를 사용하여 로그인 흐름을 시작합니다.인증이 완료되면 알림을 받을 수 있습니다.
인증이 실패하면 알림을 받을 수 있습니다. phoneVerificationCompleted 인증 ID를 가져올 수 있습니다. phoneVerificationFailed __CAPGO_KEEP_0__ phoneCodeSent __CAPGO_KEEP_0__
Android 및 iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithPhoneNumber({} as SignInWithPhoneNumberOptions);signInWithPlayGames
signInWithPlayGames 섹션Play Games 로그인 흐름을 시작합니다.
Android에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithPlayGames();signInWithTwitter
signInWithTwitter 섹션Twitter 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithTwitter();signInWithYahoo
signInWithYahoo 섹션Yahoo 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithYahoo();signOut
로그아웃 시작로그아웃 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signOut();unlink
연결 해제사용자 계정에서 제공자를 해제합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.unlink({} as UnlinkOptions);updateEmail
이메일 업데이트현재 로그인한 사용자의 이메일 주소를 업데이트합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updateEmail({} as UpdateEmailOptions);updatePassword
비밀번호 업데이트현재 로그인한 사용자의 비밀번호를 업데이트합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updatePassword({} as UpdatePasswordOptions);updateProfile
__CAPGO_KEEP_0__ 프로필 업데이트사용자의 프로필 데이터를 업데이트합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updateProfile({} as UpdateProfileOptions);useAppLanguage
__CAPGO_KEEP_0__ 앱 언어 설정앱 언어를 사용자에게 보여주는 code을 기본 앱 언어로 설정합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.useAppLanguage();useEmulator
__CAPGO_KEEP_0__ 에뮬레이터앱을 통해 인증 에뮬레이터와 대화하도록 설정합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.useEmulator({} as UseEmulatorOptions);verifyBeforeUpdateEmail
__CAPGO_KEEP_0__ 이메일 인증현재 로그인한 사용자의 이메일 주소를 업데이트하기 전에 새로운 이메일 주소를 인증합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.verifyBeforeUpdateEmail({} as VerifyBeforeUpdateEmailOptions);checkAppTrackingTransparencyPermission
앱 추적성 투명성 확인앱 추적성 투명성의 현재 상태를 확인합니다.
iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.checkAppTrackingTransparencyPermission();requestAppTrackingTransparencyPermission
앱 추적성 투명성 요청앱 추적성 투명성의 사용 허가를 위한 시스템 대화창을 열어줍니다.
주의: 사용자는 장치 설정에서 추적 요청을 비활성화 할 수 있습니다. 자세한 내용은 애플 문서.
iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.requestAppTrackingTransparencyPermission();타입 참조
타입 참조 섹션ApplyActionCodeOptions
ApplyActionCodeOptions 섹션export interface ApplyActionCodeOptions { /** * A verification code sent to the user. * * @since 0.2.2 */ oobCode: string;}ConfirmPasswordResetOptions
비밀번호 재설정 확인 옵션 섹션export interface ConfirmPasswordResetOptions { /** * A verification code sent to the user. * * @since 0.2.2 */ oobCode: string; /** * The new password. * * @since 0.2.2 */ newPassword: string;}ConfirmVerificationCodeOptions
인증 코드 확인 옵션 섹션export interface ConfirmVerificationCodeOptions { /** * The verification ID received from the `phoneCodeSent` listener. * * The `verificationCode` option must also be provided. * * @since 5.0.0 */ verificationId: string; /** * The verification code either received from the `phoneCodeSent` listener or entered by the user. * * The `verificationId` option must also be provided. * * @since 5.0.0 */ verificationCode: string;}SignInResult
로그인 결과 섹션export interface SignInResult { /** * The currently signed-in user, or null if there isn't any. * * @since 0.1.0 */ user: User | null; /** * Credentials returned by an auth provider. * * @since 0.1.0 */ credential: AuthCredential | null; /** * Additional user information from a federated identity provider. * * @since 0.5.1 */ additionalUserInfo: AdditionalUserInfo | null;}CreateUserWithEmailAndPasswordOptions
사용자 생성 옵션 섹션export interface CreateUserWithEmailAndPasswordOptions { /** * @since 0.2.2 */ email: string; /** * @since 0.2.2 */ password: string;}FetchSignInMethodsForEmailOptions
이메일로 로그인 방법 가져오기 옵션 섹션export interface FetchSignInMethodsForEmailOptions { /** * The user's email address. * * @since 6.0.0 */ email: string;}FetchSignInMethodsForEmailResult
이름이 'FetchSignInMethodsForEmailResult'인 섹션export interface FetchSignInMethodsForEmailResult { /** * The sign-in methods for the specified email address. * * This list is empty when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) * is enabled, irrespective of the number of authentication methods available for the given email. * * @since 6.0.0 */ signInMethods: string[];}GetCurrentUserResult
이름이 'GetCurrentUserResult'인 섹션export interface GetCurrentUserResult { /** * The currently signed-in user, or null if there isn't any. * * @since 0.1.0 */ user: User | null;}GetIdTokenOptions
이름이 'GetIdTokenOptions'인 섹션export interface GetIdTokenOptions { /** * Force refresh regardless of token expiration. * * @since 0.1.0 */ forceRefresh: boolean;}GetIdTokenResult
이름이 'GetIdTokenResult'인 섹션export interface GetIdTokenResult { /** * The Firebase Auth ID token JWT string. * * @since 0.1.0 */ token: string;}GetIdTokenResultOptions
이름이 'GetIdTokenResultOptions'인 섹션export interface GetIdTokenResultOptions { /** * Force refresh regardless of token expiration. * * @since 7.4.0 */ forceRefresh: boolean;}GetIdTokenResultResult
이름이 'GetIdTokenResultResult'인 섹션export interface GetIdTokenResultResult { /** * The authentication time in milliseconds since the epoch. * * This is the time the user authenticated (signed in) and not the time the token was refreshed. * * @since 7.4.0 */ authTime: number; /** * The ID token expiration time in milliseconds since the epoch. * * @since 7.4.0 */ expirationTime: number; /** * The ID token issuance time in milliseconds since the epoch. * * @since 7.4.0 */ issuedAtTime: number; /** * The sign-in provider through which the ID token was obtained. * * @since 7.4.0 */ signInProvider: string | null; /** * The type of second factor associated with this session, provided the user was multi-factor * authenticated (eg. phone, etc). * * @since 7.4.0 */ signInSecondFactor: string | null; /** * The entire payload claims of the ID token including the standard reserved claims as well as * the custom claims. * * @since 7.4.0 */ claims: Record<string, unknown>;}진실의 근원
‘진실의 근원’이라는 제목의 섹션이 페이지는 플러그인의 src/definitions.ts업스트림에서 pubic API이 변경되었을 때 다시 동기화 하십시오.