This commit is contained in:
Trey t
2026-02-18 10:54:25 -06:00
parent 2fc4a48fc9
commit ffe5716167
4 changed files with 33 additions and 4 deletions

8
.claude/settings.json Normal file
View File

@@ -0,0 +1,8 @@
{
"permissions": {
"ask": [
"Bash(git commit:*)",
"Bash(git push:*)"
]
}
}

View File

@@ -247,7 +247,10 @@ class MainActivity : ComponentActivity(), SingletonImageLoader.Factory {
private fun handleDeepLink(intent: Intent?) { private fun handleDeepLink(intent: Intent?) {
val data: Uri? = intent?.data val data: Uri? = intent?.data
if (data != null && data.scheme == "mycrib" && data.host == "reset-password") { val isResetLink = data != null &&
data.scheme == "casera" &&
data.host == "reset-password"
if (isResetLink) {
// Extract token from query parameter // Extract token from query parameter
val token = data.getQueryParameter("token") val token = data.getQueryParameter("token")
if (token != null) { if (token != null) {
@@ -320,4 +323,4 @@ class MainActivity : ComponentActivity(), SingletonImageLoader.Factory {
@Composable @Composable
fun AppAndroidPreview() { fun AppAndroidPreview() {
App(deepLinkResetToken = null) App(deepLinkResetToken = null)
} }

View File

@@ -1,6 +1,20 @@
{ {
"permissions": {
"allow": [
"Bash(npx claude-plugins install:*)",
"WebSearch",
"Bash(ls:*)",
"Bash(go build:*)",
"Bash(npm run build:*)",
"Bash(cat:*)"
],
"ask": [
"Bash(git commit:*)",
"Bash(git push:*)"
]
},
"enableAllProjectMcpServers": true,
"enabledMcpjsonServers": [ "enabledMcpjsonServers": [
"ios-simulator" "ios-simulator"
], ]
"enableAllProjectMcpServers": true
} }

View File

@@ -41,6 +41,10 @@ final class AnalyticsManager {
let config = PostHogConfig(apiKey: Self.apiKey, host: Self.host) let config = PostHogConfig(apiKey: Self.apiKey, host: Self.host)
// Person profiles required so events create person records
// and appear in the PostHog Events Explorer / Activity view.
config.personProfiles = .always
// Auto-capture // Auto-capture
config.captureElementInteractions = true config.captureElementInteractions = true
config.captureApplicationLifecycleEvents = true config.captureApplicationLifecycleEvents = true