내용으로 건너뛰기

Android Notes

GitHub

Android 플러그인은 플러그인 자체에 추가 호스트 앱 설정이 필요하지 않습니다. 설치 및 동기화 후 플러그인은 메인 Capacitor WebViewContentsquare 이벤트 브리지를 주입하고 문서화된 자바스크립트 API를 노출합니다.

Android 플러그인이 하는 일

Android 플러그인이 하는 일
  • Capacitor WebView Contentsquare SDK
  • 및 동적 변수 API를 노출합니다. optIn, optOut, sendScreenName, sendTransactionAndroid 플러그인이 하는 일
  • Injects replay-related commands such as URL exclusion, PII masking, and captured element selectors.

유효성 검사 팁

유효성 검사 팁 섹션

원본 로그 확인

원본 로그 확인 섹션

Android Studio에서 필터링 Logcat with:

CSLIB

SDK 앱 시작 시 Contentsquare의 원본 메시지와 WebView 브리지를 확인해야 합니다.

첫 번째 세션 추적

첫 번째 세션 추적 섹션
import { ContentsquarePlugin } from '@capgo/capacitor-contentsquare';
await ContentsquarePlugin.optIn();
await ContentsquarePlugin.sendScreenName('Home');

Without at least one screenview, the session is not kept by Contentsquare.

  • Contentsquare에서 키는 512자까지 제한됩니다.
  • 값은 문자열 또는 0 이상의 정수이어야 합니다.
  • 앱이 전면으로 돌아오면 다시 보내야 합니다.

Capgo를 사용하는 경우 Android Notes 를 사용하여 네이티브 플러그인 작업을 계획하고 있습니다. Using @capgo/capacitor-contentsquare 자연스러운 기능을 사용하는 데 @capgo/capacitor-contentsquare를 사용하세요. Capgo 플러그인 디렉토리 Capgo 플러그인은 __CAPGO_KEEP_1__에서 제공됩니다. Capacitor 플러그인의 구현 세부 사항은 Capgo에서 확인할 수 있습니다. for the implementation detail in Capacitor Plugins by Capgo, __CAPGO_KEEP_0__ 플러그인의 구현 세부 사항은 플러그인을 추가하거나 업데이트하는 방법에서 확인할 수 있습니다. Ionic Enterprise 플러그인 대체 옵션 Ionic Enterprise 플러그인 대체 옵션의 제품 워크플로 편집