가이드
AppsFlyer에 대한 튜토리얼
@capgo/capacitor-appsflyer 사용
Capacitor AppsFlyer attribution, analytics, 및 deep links를 위한 플러그인.
설치
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- 이 메서드를 사용하여 앱스 플라이어 SDK를 수동 시작 모드에서만 시작합니다.logEvent- 앱 내 이벤트를 로깅합니다.setCustomerUserId- 고객 ID를 설정하면 앱스 플라이어의 고유 ID와 다른 기기의 고유 ID와를 매핑할 수 있습니다. 이 ID는 원시 데이터 보고서 및 Postback API에서 사용할 수 있습니다.
예제 사용
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
Use this method to start AppsFlyer SDK, only on manual start mode.
import { AppsFlyer } from '@capgo/capacitor-appsflyer';
await AppsFlyer.startSDK();
logEvent
Log an in-app event.
import { AppsFlyer } from '@capgo/capacitor-appsflyer';
await AppsFlyer.logEvent({} as AFEvent);
setCustomerUserId
Setting your own customer ID enables you to cross-reference your own unique ID with AppsFlyer's unique ID and other devices' IDs. This ID is available in raw-data reports and in the Postback APIs for cross-referencing with your internal IDs.
import { AppsFlyer } from '@capgo/capacitor-appsflyer';
await AppsFlyer.setCustomerUserId({} as AFCuid);
Full Reference
- GitHub: https://github.com/Cap-go/capacitor-appsflyer/
- 문서: /docs/plugins/appsflyer/
capgo를 계속 사용하세요. @capgo/capacitor-appsflyer
__CAPGO_KEEP_2__이 __CAPGO_KEEP_0__를 사용하고 있다면 capgo를 사용하여 @capgo/capacitor-appsflyer __CAPGO_KEEP_0__를 사용하여 capgo를 사용하여 @capgo/capacitor-appsflyer for the implementation detail in @capgo/capacitor-appsflyer, __CAPGO_KEEP_0__를 사용하여 @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-appsflyer __CAPGO_KEEP_0__ 플러그인 디렉토리 Capgo Plugin Directory 제품 워크플로우를 위한 Capgo 플러그인 디렉토리에서 Capacitor 플러그인에 의해 Capgo 제품 구현 세부 사항을 위한 Capacitor 플러그인에 의해 Capgo 플러그인을 추가하거나 업데이트 플러그인을 추가하거나 업데이트 구현 세부 사항을 위한