iOS 설정
이 플러그인의 설치 단계와 전체 마크다운 가이드를 포함한 설정 지시를 복사하세요.
SDK 로그, 스크린샷 캡처, 및 재생 구성과 같은 iOS 내 앱 기능은 플러그인 설치 후 자동으로 Contentsquare 추적이 시작되지만, upstream URL 처리 설정이 필요합니다.
1. URL 스키마 추가
1. URL 스키마 추가추가 cs-$(PRODUCT_BUNDLE_IDENTIFIER) Xcode 또는 호스트 앱의 Info.plist.
<key>CFBundleURLTypes</key><array> <dict> <key>CFBundleURLSchemes</key> <array> <string>cs-$(PRODUCT_BUNDLE_IDENTIFIER)</string> </array> </dict></array>클립보드에 복사
2. Contentsquare deeplink 전달Wherever your Capacitor host app handles incoming URLs, forward them to the native SDK:
__CAPGO_KEEP_1__ 호스트 앱에서 incoming URL을 처리하는 곳에 forward Contentsquare deeplink을 전달하세요.
AppDelegateimport ContentsquareModule
func application( _ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { Contentsquare.handle(url: url) return true}SceneDelegate
SceneDelegate 섹션import ContentsquareModule
func scene(_ scene: UIScene, openURLContexts urlContexts: Set<UIOpenURLContext>) { if let url = urlContexts.first?.url { Contentsquare.handle(url: url) }}SwiftUI
SwiftUI 섹션import ContentsquareModule
.onOpenURL { url in Contentsquare.handle(url: url)}3. 설치 확인
장치나 시뮬레이터에서 앱을 실행합니다.- Xcode 또는 Console 로그를 필터링합니다.
- Contentsquare 모바일 도구를 열고 인앱 기능을 트리거하여 deeplink가 처리되는지 확인합니다.
CSLIB. - iOS 설정에서 계속 진행합니다.
__CAPGO_KEEP_0__
iOS 설정에서 계속하기iOS 설정을 사용 중이라면 iOS 설정 iOS 설정을 사용하여 Using @capgo/capacitor-contentsquare Using @capgo/capacitor-contentsquare Capgo Plugin Directory Capgo 플러그인 디렉토리 Capacitor Plugins by Capgo Capacitor 플러그인들에 의해 Capgo __CAPGO_KEEP_0__ 플러그인들에 의해 __CAPGO_KEEP_1__에서 플러그인 추가 또는 업데이트 Ionic Enterprise Plugin Alternatives Ionic Enterprise Plugin Alternatives 제품 워크플로우를 위한 대안입니다.