Proje: Okul B2B App · Hub: Okul B2B App — Domain

Deep Link Yönetimi

services/DeepLinkService.tsexpo-linking üstünde pattern tabanlı routing.

URL Scheme

okulcomtr://app.config.ts’de scheme: 'okulcomtr' olarak tanımlı.

PatternYönlendirme
okulcomtr://leads/{leadId}/(tabs)/leads?leadId=X
okulcomtr://gallery/{photoId?}/(tabs)/gallery?photoId=X
okulcomtr://profile/{section?}/(tabs)/profile?section=X
okulcomtr://home/(tabs)/
okulcomtr://notification/{action}/{entityType}/{entityId}Bildirim işlemi
entityTypeactionİşlem
leadviewLead detay modal aç
galleryviewGaleri fotoğrafını göster
userviewKullanıcı profili
system*Sistem mesajı

Başlangıç URL

App açıldığında Linking.getInitialURL() ile başlangıç URL’i işlenir. Çalışır durumdaki app için addEventListener('url', ...) ile dinlenir.

Entegrasyon

NotificationContext.initializeNotifications() içinde DeepLinkService.initialize() çağrılır.