Guide
AppsFlyer에 대한 튜토리얼
capgo을 사용하여 AppsFlyer @capgo/capacitor-appsflyer
AppsFlyer attribution, analytics, 및 deep links를 위한 Capacitor 플러그인.
설치
bun add @capgo/capacitor-appsflyer
bunx cap sync
이 플러그인이 노출하는 것
initSDK- Use this method to initialize and start AppsFlyer SDK. This API should be called as soon as the app launched.startSDK- 수동 시작 모드에서만 AppsFlyer SDK를 시작하는 방법입니다.logEvent- 앱 내 이벤트를 로그합니다.setCustomerUserId- 고객 ID를 설정하면 앱스 플라이어의 고유 ID와 다른 기기의 고유 ID와 교차 참조할 수 있습니다. 이 ID는 raw-data 보고서와 Postback API에서 사용할 수 있습니다.
__CAPGO_KEEP_0__
initSDK
Use this method to initialize and start AppsFlyer SDK. This API should be called as soon as the app launched.
import { AppsFlyer } from '@capgo/capacitor-appsflyer';
await AppsFlyer.initSDK({} as AFInit);
startSDK
이 메서드를 사용하여 앱스 플라이어 SDK를 시작하세요. 그러나 수동 시작 모드에서만 사용하세요.
import { AppsFlyer } from '@capgo/capacitor-appsflyer';
await AppsFlyer.startSDK();
logEvent
인앱 이벤트를 로그하세요.
import { AppsFlyer } from '@capgo/capacitor-appsflyer';
await AppsFlyer.logEvent({} as AFEvent);
setCustomerUserId
고유 ID를 설정하면 앱스 플라이어의 고유 ID와 다른 기기의 고유 ID와 함께 내부 ID와 매핑할 수 있습니다. 이 ID는 raw-data 보고서와 Postback API에서 사용할 수 있습니다.
import { AppsFlyer } from '@capgo/capacitor-appsflyer';
await AppsFlyer.setCustomerUserId({} as AFCuid);
Full Reference
- GitHub https://github.com/Cap-go/capacitor-appsflyer/
- Docs: /docs/plugins/appsflyer/
@capgo/capacitor-appsflyer을 사용하는 경우
@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-appsflyer을 사용하는 경우 Using @capgo/capacitor-appsflyer native 플러그인 작업을 계획하기 위해, 그것을 연결하세요. @capgo/capacitor-appsflyer @capgo/capacitor-appsflyer의 구현 세부 정보 Getting Started Getting Started의 구현 세부 정보 Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리의 제품 워크플로우 Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo의 구현 세부 정보 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트의 구현 세부 정보