iOS 설정
이 플러그인의 설치 단계와 전체 마크다운 가이드를 포함하여 설정 지시를 복사합니다.
Contentsquare tracking starts automatically once the plugin is installed, but iOS in-app features such as SDK logs, screenshot capture, and replay configuration still need the upstream URL handling setup.
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 deeplinks 전달하기
Contentsquare deeplinks 전달하기호스트 앱이 들어오는 URL을 처리하는 곳에서 Capacitor를 native SDK:로 전달하세요.
AppDelegate
클립보드에 복사import ContentsquareModule
func application( _ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { Contentsquare.handle(url: url) return true}SceneDelegate
Section titled “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. 설치 확인
3. 설치 확인 섹션- __CAPGO_KEEP_0__
- Xcode 또는 Console 로그를 필터링하여
CSLIB. - Contentsquare 모바일 도구를 열고 인앱 기능을 트리거하여 deeplink가 처리되는지 확인합니다.
iOS 설정에서 계속
Keep going from iOS Setup 섹션__CAPGO_KEEP_1__ iOS 설정 __targetLanguage__에 native 플러그인 작업을 계획하기 위해 연결하세요. capgo/capacitor-contentsquare를 사용하여 capgo/capacitor-contentsquare의 native 기능을 사용하여 Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리의 제품 워크플로우 Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo의 구현 세부 사항 플러그인을 추가하거나 업데이트 플러그인을 추가하거나 업데이트에 대한 구현 세부 사항 Ionic Enterprise 플러그인 대체 Ionic Enterprise 플러그인 대체의 제품 워크플로우