Skip to content

Instantly share code, notes, and snippets.

View sunayanag's full-sized avatar
🏠
Working from home

Sunayana Gali sunayanag

🏠
Working from home
View GitHub Profile
@sunayanag
sunayanag / ClipTest-ContentView.swift
Last active February 27, 2026 21:07
App Clip Validation: JS Bridge + Keychain + App Group Sharing (Standalone Xcode Project) Results: - JS bridge (WebView -> native): PASS -- webkit.messageHandlers.auth.postMessage works in App Clip - Keychain write from App Clip: PASS -- SecItemAdd returns 0 - App Group shared storage (cross-app): PASS -- host app reads test-token-123/clip-user w…
import SwiftUI
struct ContentView: View {
@State private var sharedToken: String = "—"
@State private var sharedUsername: String = "—"
@State private var keychainToken: String = "—"
@State private var keychainUsername: String = "—"
var body: some View {
VStack(spacing: 20) {