You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'This is an Android/Kotlin project. Look for build.gradle or build.gradle.kts files, AndroidManifest.xml, and Kotlin source files (.kt) to confirm.',
99
-
packageInstallation:
100
-
'Add the PostHog Android SDK dependency to the app-level build.gradle(.kts) file. Use implementation("com.posthog:posthog-android:<VERSION>"). Check the existing dependency format (Groovy vs Kotlin DSL) and match it.',
101
99
getAdditionalContextLines: (context)=>{
102
100
constlines=[
103
101
`Framework docs ID: android (use posthog://docs/frameworks/android for documentation)`,
`Sorry: the wizard can't help you with FastAPI ${fastapiVersion}. Upgrade to FastAPI ${MINIMUM_FASTAPI_VERSION} or later, or check out the manual setup guide.`,
'This is a server-side Node.js project. Look for package.json and lockfiles to confirm.',
45
-
packageInstallation:
46
-
'Use npm, yarn, pnpm, or bun based on the existing lockfile (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb). Install posthog-node as a regular dependency.',
47
63
getAdditionalContextLines: ()=>[
48
64
`Framework docs ID: javascript_node (use posthog://docs/frameworks/javascript_node for documentation)`,
'This is a PHP/Laravel project. Look for composer.json, artisan CLI, and app/ directory structure to confirm. Check for Laravel-specific packages like laravel/framework.',
117
-
packageInstallation:
118
-
'Use Composer to install packages. Run `composer require posthog/posthog-php` without pinning a specific version.',
0 commit comments