
Unified API for push notifications, user/profile management, tags, events, in‑app triggers, inbox, preferences, feature flags, delivery tuning, chat and geofencing; delegates to native SDKs.
Pushizo Kotlin Multiplatform SDK — Shared Kotlin API for push notifications, users, tags and aliases, events, in-app triggers, notification inbox, preferences, feature flags and geofencing. Wraps the native Pushizo Android SDK and the Objective-C surface of the iOS SDK (Pushizo.xcframework).
Status: Android and iOS targets are ready; the Maven Central release (com.pushizo:pushizo-kmp) is pending.
Durum: Android ve iOS hedefleri hazır; Maven Central yayını (com.pushizo:pushizo-kmp) bekleniyor.
Install from GitHub until then · O zamana kadar GitHub'dan kurulum:
git clone --branch 0.3.0 https://github.com/pushizo/pushizo-ios
pushizo-ios/scripts/build-xcframework.sh
git clone --branch v0.3.0 https://github.com/pushizo/pushizo-kmp
gradle -p pushizo-kmp publishToMavenLocal -Ppushizo.xcframework=$PWD/pushizo-ios/build/xcframework/Pushizo.xcframeworkAfter publication · Yayından sonra:
kotlin {
sourceSets {
commonMain.dependencies {
api("com.pushizo:pushizo-kmp:0.3.0")
}
}
}The detailed guide below is in Turkish; code samples are language-neutral. Full documentation: docs.pushizo.com/docs/sdk/kmp · API reference: docs.pushizo.com/docs/api.
Ortak Kotlin kodundan Pushizo'yu çağırmak için com.pushizo:pushizo-kmp. Mantığı yeniden yazmaz: her platformda yerel SDK'ya devreder; teslimat, kuyruk, oturum ve in-app çizimi yerel SDK'da kalır (ADR-0055).
Durum: Android (androidTarget) ve iOS (iosArm64, iosSimulatorArm64, iosX64) hedefleri hazır ve test edildi. iOS hedefi iOS SDK'nın Objective-C cephesini (Pushizo.xcframework, PZ önekli sınıflar) cinterop ile sarar ve yalnızca macOS'ta derlenir. Maven Central (com.pushizo:pushizo-kmp) yayın yapılandırması hazır; yayın kullanıcıda (npm run sdk:publish -- maven-kmp --yayinla, macOS). O zamana kadar kaynaktan kullanılır.
Sunucudan bildirim göndermek için bu paket değil, ayrı olan JVM istemcisi sdk/kmp kullanılır.
settings.gradle.kts:
includeBuild("../pushizo/sdk/kmp-mobile")Ortak modülün build.gradle.kts dosyası:
kotlin {
sourceSets {
commonMain.dependencies {
api("com.pushizo:pushizo-kmp:0.3.0")
}
}
}Android tarafında FCM kurulumu yerel SDK ile aynıdır: google-services.json ve com.google.gms.google-services eklentisi (Android rehberi).
Başlatma Application.onCreate içinde yapılır; PushizoContext Android'de Context türüdür:
Pushizo.initialize(context, "app_…", PushizoOptions())Bundan sonraki çağrılar ortak koddan yapılabilir:
Pushizo.login("user_42")
Pushizo.User.addTags(mapOf("plan" to "pro"))
Pushizo.User.addEmail("ali@ornek.com")
Pushizo.Session.sendEvent("purchase", mapOf("sku" to "a1"), value = 49.9)
Pushizo.InAppMessages.addTrigger("level", "gold")
val clicks = Pushizo.Notifications.addClickListener { event ->
println(event.notification.title)
}
clicks.remove()İzin istemi platform nesnesi ister; PushizoPermissionHost Android'de Activity türüdür. Android'de sonuç ayrıca bildirilir, yoksa abonelik ve izin gözlemcileri güncellenmez:
Pushizo.Notifications.requestPermission(activity)
override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults)
Pushizo.Notifications.onPermissionResult()
}Ortak API: başlatma, gizlilik onayı, login / logout, JWT yenileme, etiket, takma ad, dil, e-posta ve SMS, push aboneliği, bildirim izni, tıklama ve ön plan dinleyicileri, olaylar, in-app tetikleri ve konum paylaşımı.
Bildirim kutusu (Pushizo.Inbox), tercihler ve rızalar (Pushizo.Preferences), özellik bayrakları (Pushizo.FeatureFlags)
ve arka plan bölge izleme (Pushizo.Location.setGeofencingEnabled) ortak API'dedir; ağ çağrıları suspend fonksiyondur:
val page = Pushizo.Inbox.list(limit = 20)
Pushizo.Inbox.markRead(page.items.first().id)
Pushizo.Preferences.set(listOf(PushizoPreferenceInput("promo", optedIn = false)))
if (Pushizo.FeatureFlags.refresh() && Pushizo.FeatureFlags.isEnabled("yeni_sepet")) { /* … */ }
Pushizo.Location.setGeofencingEnabled(true) // yalnızca konum paylaşımı ve arka plan izni varsa izlerAndroid teslimat güçlendirme (Pushizo.Delivery) da ortak API'dedir: cihazdaki pil ve arka plan kısıtlarını okur, kullanıcıyı
ilgili ayar ekranına götürür (rehber). Yalnızca Android'de etkilidir;
iOS'ta status() PushizoDeliveryStatus.UNSUPPORTED (risk NONE) döner, openSettings false döner ve showGuidance
hiçbir şey göstermeden onResult(false) çağırır:
val status = Pushizo.Delivery.status() // supported, vendor, rom, risk, restricted, recommendedSettings
if (Pushizo.Delivery.shouldShowGuidance()) { // risk var ve diyalog son 14 günde gösterilmedi
Pushizo.Delivery.showGuidance(activity) { opened -> /* ayar ekranı açıldı mı */ }
}
Pushizo.Delivery.openSettings(context, PushizoDeliverySetting.AUTO_START) // kendi arayüzünüzdenGömülü yerleşimler (Pushizo.Placements), canlı sohbet (Pushizo.Chat), in-app tıklama ve yaşam döngüsü dinleyicileri, reklam
kişiselleştirme rızası (Pushizo.User.setAdsPersonalizationConsent, getConsents), reklam kimliği (Pushizo.Ads), rozet,
bildirim kaldırma, arka plan konum izni, ADM kaydı, kullanıcı özellikleri (Pushizo.User.setProperty), bayrak ve kutu
gözlemcileri, hazır sohbet ekranı (Pushizo.Chat.show) ve Live Activities'in genel türü (Pushizo.LiveActivities) de ortak
API'dedir:
// Gömülü yerleşim: model döner, çizim sizindir
val message = Pushizo.Placements.list("home_banner").firstOrNull()
message?.let { Pushizo.Placements.reportImpression(it) }
// In-app tıklama ve yaşam döngüsü
val clicks = Pushizo.InAppMessages.addClickListener { event -> println(event.actionId) }
// Rıza, reklam kimliği, rozet, bildirim kaldırma, arka plan konum izni
Pushizo.User.setAdsPersonalizationConsent(true)
val consents = Pushizo.User.getConsents()
Pushizo.Ads.setAdvertisingId(advertisingId)
Pushizo.Notifications.setBadgeCount(3)
Pushizo.Notifications.removeGroupedNotifications("siparis")
Pushizo.Location.requestBackgroundPermission(activity)
// Canlı sohbet (kendi arayüzünüz için veri API'si)
val chat = Pushizo.Chat.addListener(object : PushizoChatListener {
override fun onMessage(message: PushizoChatMessage) { /* … */ }
})
Pushizo.Chat.start(name = "Ali")
Pushizo.Chat.sendMessage("Merhaba")Tek platformlu çağrılar diğer platformda zararsızdır: registerAdm ve sayısal kimlikle removeNotification yalnızca Android'de
etkilidir. Tek bildirim iki platformda da removeNotification(notification.identifier) ile kaldırılır (iOS istek kimliği, Android
tepsi kimliğinin metin hâli). requestBackgroundPermission ile requestAlwaysPermission aynı izni ister; konum izni durumu
(permissionGranted, backgroundPermissionGranted) yerel SDK'dan okunur.
Canlı sohbet, Ads.setAdvertisingId (Android GAID, iOS IDFA) ve in-app yaşam döngüsü dinleyicisi iki platformda da yerel SDK'ya
bağlıdır; Pushizo.Chat.isSupported ikisinde de true döner. Sohbette SDK başlatılmadıysa değer döndüren çağrılar
IllegalStateException, geçersiz girdi IllegalArgumentException fırlatır.
Kullanıcı özellikleri, profille giriş, olay kimliği, gözlemciler ve rozet sonucu:
Pushizo.User.setProperty("first_name", "Ali") // metin, sayı, mantıksal, liste, harita; null siler
Pushizo.login("user_42", PushizoUserProfile(email = "ali@ornek.com", tags = mapOf("plan" to "pro")))
Pushizo.Session.sendEvent("purchase", mapOf("sku" to "a1"), value = 49.9, eventId = "order_10042")
val flags = Pushizo.FeatureFlags.addObserver { /* değerler yenilendi */ }
val inbox = Pushizo.Inbox.addObserver { event -> println("${event.type} ${event.itemId} ${event.unreadCount}") }
flags.remove()
inbox.remove()
val shown = Pushizo.Notifications.setBadgeCountWithResult(3) // Android: rozet gösterilebiliyor mu; iOS: true
val count = Pushizo.Notifications.badgeCountsetProperty boş anahtarda IllegalArgumentException fırlatır; iOS yerel SDK'sı 64 karakterden uzun anahtarı ve içinde null
bulunan liste/haritayı günlüğe yazıp yok sayar. Profilli login iki platformda da yerel çağrıya gider: geçersiz profilde giriş
yapılmaz ve IllegalArgumentException, SDK başlatılmadıysa IllegalStateException fırlatılır. eventId 8-64 karakterdir (harf,
rakam ve . _ : -); geçersizse yerel SDK kendi kimliğini üretir. Gözlemciler ana iş parçacığında çağrılır;
PushizoInboxChangeEvent.type: listed, read, read_all, archived, count. Rozet Android'de de yerel SDK'ya gider: sayı
saklanır ve SDK'nın bundan sonra gösterdiği bildirimlere yazılır (Android 8+); badgeCount Android'de saklanan sayıyı, iOS'ta
uygulama simgesindeki rozeti verir.
Hazır sohbet ekranı ve Live Activities:
Pushizo.Chat.show(context) // Android: Context · iOS: PushizoApplicationContext
Pushizo.Chat.show(host) // Android: Activity · iOS: UIViewController
if (Pushizo.Chat.isPresented) Pushizo.Chat.hide()
if (Pushizo.LiveActivities.isSupported) { // yalnızca iOS
Pushizo.LiveActivities.setupDefaultLiveActivity()
Pushizo.LiveActivities.startDefaultLiveActivity("order_42", mapOf("title" to "Sipariş"), mapOf("step" to 2))
}Chat.show Android'de HsChatActivity ekranını, iOS'ta modal sohbet ekranını açar; hide() açık bir ekran varsa true döner.
isPresented iOS'ta yerel değerdir; Android'de yerel karşılığı olmadığından köprü sohbet ekranının yaşam döngüsünü izler (izleme
köprünün initialize ya da show çağrısıyla başlar). Pushizo.LiveActivities yalnızca iOS'ta etkilidir (genel tür, iOS 16.1+):
geçersiz girdi IllegalArgumentException, başlatılmamış SDK IllegalStateException, desteklemeyen sürüm
UnsupportedOperationException fırlatır; Android'de isSupported false, defaultActivityType null döner ve çağrılar hiçbir
şey yapmadan false döner.
Yerel görünüm ve türe bağlı olanlar ortak API'de yok: özel in-app çizici (setRenderer), gömülebilir sohbet ve içerik kartı
görünümleri, kendi ActivityAttributes türlerinizle Live Activities ve Uri ile sohbet eki. Android'de api bağımlılığı sayesinde
androidMain içinden com.pushizo.sdk.Pushizo, iOS'ta iosMain içinden com.pushizo.kmp.ios (Objective-C cephesi) ile
doğrudan çağrılır.
cd sdk/kmp-mobile
gradle :testDebugUnitTest :assembleRelease
# iOS (macOS): önce framework, sonra simülatör testleri (ortak testler + iOS dönüşüm testleri)
../ios/scripts/build-xcframework.sh
gradle :iosSimulatorArm64Test :linkDebugTestIosArm64Android SDK includeBuild("../android") ile kaynaktan derlenir; iOS hedefleri sdk/ios/build/xcframework/Pushizo.xcframework'e
bağlanır (-Ppushizo.xcframework=<yol>). iOS uygulaması başlatmada Pushizo.initialize(PushizoApplicationContext, "app_…")
çağırır. Kotlin 2.2.21 (Xcode 26 SDK'sı için gerekli). Örnek uygulama: examples/kmp-app.
This repository is mirrored automatically from the Pushizo main repository on every release. Please open an issue instead of a pull request; fixes land in the main repository and ship with the next release. Bu depo her sürümde Pushizo ana deposundan otomatik yansıtılır. Pull request yerine issue açın; düzeltmeler ana depoda yapılır ve bir sonraki sürümle buraya gelir.
Released under the MIT License · MIT lisanslıdır — LICENSE.
Pushizo Kotlin Multiplatform SDK — Shared Kotlin API for push notifications, users, tags and aliases, events, in-app triggers, notification inbox, preferences, feature flags and geofencing. Wraps the native Pushizo Android SDK and the Objective-C surface of the iOS SDK (Pushizo.xcframework).
Status: Android and iOS targets are ready; the Maven Central release (com.pushizo:pushizo-kmp) is pending.
Durum: Android ve iOS hedefleri hazır; Maven Central yayını (com.pushizo:pushizo-kmp) bekleniyor.
Install from GitHub until then · O zamana kadar GitHub'dan kurulum:
git clone --branch 0.3.0 https://github.com/pushizo/pushizo-ios
pushizo-ios/scripts/build-xcframework.sh
git clone --branch v0.3.0 https://github.com/pushizo/pushizo-kmp
gradle -p pushizo-kmp publishToMavenLocal -Ppushizo.xcframework=$PWD/pushizo-ios/build/xcframework/Pushizo.xcframeworkAfter publication · Yayından sonra:
kotlin {
sourceSets {
commonMain.dependencies {
api("com.pushizo:pushizo-kmp:0.3.0")
}
}
}The detailed guide below is in Turkish; code samples are language-neutral. Full documentation: docs.pushizo.com/docs/sdk/kmp · API reference: docs.pushizo.com/docs/api.
Ortak Kotlin kodundan Pushizo'yu çağırmak için com.pushizo:pushizo-kmp. Mantığı yeniden yazmaz: her platformda yerel SDK'ya devreder; teslimat, kuyruk, oturum ve in-app çizimi yerel SDK'da kalır (ADR-0055).
Durum: Android (androidTarget) ve iOS (iosArm64, iosSimulatorArm64, iosX64) hedefleri hazır ve test edildi. iOS hedefi iOS SDK'nın Objective-C cephesini (Pushizo.xcframework, PZ önekli sınıflar) cinterop ile sarar ve yalnızca macOS'ta derlenir. Maven Central (com.pushizo:pushizo-kmp) yayın yapılandırması hazır; yayın kullanıcıda (npm run sdk:publish -- maven-kmp --yayinla, macOS). O zamana kadar kaynaktan kullanılır.
Sunucudan bildirim göndermek için bu paket değil, ayrı olan JVM istemcisi sdk/kmp kullanılır.
settings.gradle.kts:
includeBuild("../pushizo/sdk/kmp-mobile")Ortak modülün build.gradle.kts dosyası:
kotlin {
sourceSets {
commonMain.dependencies {
api("com.pushizo:pushizo-kmp:0.3.0")
}
}
}Android tarafında FCM kurulumu yerel SDK ile aynıdır: google-services.json ve com.google.gms.google-services eklentisi (Android rehberi).
Başlatma Application.onCreate içinde yapılır; PushizoContext Android'de Context türüdür:
Pushizo.initialize(context, "app_…", PushizoOptions())Bundan sonraki çağrılar ortak koddan yapılabilir:
Pushizo.login("user_42")
Pushizo.User.addTags(mapOf("plan" to "pro"))
Pushizo.User.addEmail("ali@ornek.com")
Pushizo.Session.sendEvent("purchase", mapOf("sku" to "a1"), value = 49.9)
Pushizo.InAppMessages.addTrigger("level", "gold")
val clicks = Pushizo.Notifications.addClickListener { event ->
println(event.notification.title)
}
clicks.remove()İzin istemi platform nesnesi ister; PushizoPermissionHost Android'de Activity türüdür. Android'de sonuç ayrıca bildirilir, yoksa abonelik ve izin gözlemcileri güncellenmez:
Pushizo.Notifications.requestPermission(activity)
override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults)
Pushizo.Notifications.onPermissionResult()
}Ortak API: başlatma, gizlilik onayı, login / logout, JWT yenileme, etiket, takma ad, dil, e-posta ve SMS, push aboneliği, bildirim izni, tıklama ve ön plan dinleyicileri, olaylar, in-app tetikleri ve konum paylaşımı.
Bildirim kutusu (Pushizo.Inbox), tercihler ve rızalar (Pushizo.Preferences), özellik bayrakları (Pushizo.FeatureFlags)
ve arka plan bölge izleme (Pushizo.Location.setGeofencingEnabled) ortak API'dedir; ağ çağrıları suspend fonksiyondur:
val page = Pushizo.Inbox.list(limit = 20)
Pushizo.Inbox.markRead(page.items.first().id)
Pushizo.Preferences.set(listOf(PushizoPreferenceInput("promo", optedIn = false)))
if (Pushizo.FeatureFlags.refresh() && Pushizo.FeatureFlags.isEnabled("yeni_sepet")) { /* … */ }
Pushizo.Location.setGeofencingEnabled(true) // yalnızca konum paylaşımı ve arka plan izni varsa izlerAndroid teslimat güçlendirme (Pushizo.Delivery) da ortak API'dedir: cihazdaki pil ve arka plan kısıtlarını okur, kullanıcıyı
ilgili ayar ekranına götürür (rehber). Yalnızca Android'de etkilidir;
iOS'ta status() PushizoDeliveryStatus.UNSUPPORTED (risk NONE) döner, openSettings false döner ve showGuidance
hiçbir şey göstermeden onResult(false) çağırır:
val status = Pushizo.Delivery.status() // supported, vendor, rom, risk, restricted, recommendedSettings
if (Pushizo.Delivery.shouldShowGuidance()) { // risk var ve diyalog son 14 günde gösterilmedi
Pushizo.Delivery.showGuidance(activity) { opened -> /* ayar ekranı açıldı mı */ }
}
Pushizo.Delivery.openSettings(context, PushizoDeliverySetting.AUTO_START) // kendi arayüzünüzdenGömülü yerleşimler (Pushizo.Placements), canlı sohbet (Pushizo.Chat), in-app tıklama ve yaşam döngüsü dinleyicileri, reklam
kişiselleştirme rızası (Pushizo.User.setAdsPersonalizationConsent, getConsents), reklam kimliği (Pushizo.Ads), rozet,
bildirim kaldırma, arka plan konum izni, ADM kaydı, kullanıcı özellikleri (Pushizo.User.setProperty), bayrak ve kutu
gözlemcileri, hazır sohbet ekranı (Pushizo.Chat.show) ve Live Activities'in genel türü (Pushizo.LiveActivities) de ortak
API'dedir:
// Gömülü yerleşim: model döner, çizim sizindir
val message = Pushizo.Placements.list("home_banner").firstOrNull()
message?.let { Pushizo.Placements.reportImpression(it) }
// In-app tıklama ve yaşam döngüsü
val clicks = Pushizo.InAppMessages.addClickListener { event -> println(event.actionId) }
// Rıza, reklam kimliği, rozet, bildirim kaldırma, arka plan konum izni
Pushizo.User.setAdsPersonalizationConsent(true)
val consents = Pushizo.User.getConsents()
Pushizo.Ads.setAdvertisingId(advertisingId)
Pushizo.Notifications.setBadgeCount(3)
Pushizo.Notifications.removeGroupedNotifications("siparis")
Pushizo.Location.requestBackgroundPermission(activity)
// Canlı sohbet (kendi arayüzünüz için veri API'si)
val chat = Pushizo.Chat.addListener(object : PushizoChatListener {
override fun onMessage(message: PushizoChatMessage) { /* … */ }
})
Pushizo.Chat.start(name = "Ali")
Pushizo.Chat.sendMessage("Merhaba")Tek platformlu çağrılar diğer platformda zararsızdır: registerAdm ve sayısal kimlikle removeNotification yalnızca Android'de
etkilidir. Tek bildirim iki platformda da removeNotification(notification.identifier) ile kaldırılır (iOS istek kimliği, Android
tepsi kimliğinin metin hâli). requestBackgroundPermission ile requestAlwaysPermission aynı izni ister; konum izni durumu
(permissionGranted, backgroundPermissionGranted) yerel SDK'dan okunur.
Canlı sohbet, Ads.setAdvertisingId (Android GAID, iOS IDFA) ve in-app yaşam döngüsü dinleyicisi iki platformda da yerel SDK'ya
bağlıdır; Pushizo.Chat.isSupported ikisinde de true döner. Sohbette SDK başlatılmadıysa değer döndüren çağrılar
IllegalStateException, geçersiz girdi IllegalArgumentException fırlatır.
Kullanıcı özellikleri, profille giriş, olay kimliği, gözlemciler ve rozet sonucu:
Pushizo.User.setProperty("first_name", "Ali") // metin, sayı, mantıksal, liste, harita; null siler
Pushizo.login("user_42", PushizoUserProfile(email = "ali@ornek.com", tags = mapOf("plan" to "pro")))
Pushizo.Session.sendEvent("purchase", mapOf("sku" to "a1"), value = 49.9, eventId = "order_10042")
val flags = Pushizo.FeatureFlags.addObserver { /* değerler yenilendi */ }
val inbox = Pushizo.Inbox.addObserver { event -> println("${event.type} ${event.itemId} ${event.unreadCount}") }
flags.remove()
inbox.remove()
val shown = Pushizo.Notifications.setBadgeCountWithResult(3) // Android: rozet gösterilebiliyor mu; iOS: true
val count = Pushizo.Notifications.badgeCountsetProperty boş anahtarda IllegalArgumentException fırlatır; iOS yerel SDK'sı 64 karakterden uzun anahtarı ve içinde null
bulunan liste/haritayı günlüğe yazıp yok sayar. Profilli login iki platformda da yerel çağrıya gider: geçersiz profilde giriş
yapılmaz ve IllegalArgumentException, SDK başlatılmadıysa IllegalStateException fırlatılır. eventId 8-64 karakterdir (harf,
rakam ve . _ : -); geçersizse yerel SDK kendi kimliğini üretir. Gözlemciler ana iş parçacığında çağrılır;
PushizoInboxChangeEvent.type: listed, read, read_all, archived, count. Rozet Android'de de yerel SDK'ya gider: sayı
saklanır ve SDK'nın bundan sonra gösterdiği bildirimlere yazılır (Android 8+); badgeCount Android'de saklanan sayıyı, iOS'ta
uygulama simgesindeki rozeti verir.
Hazır sohbet ekranı ve Live Activities:
Pushizo.Chat.show(context) // Android: Context · iOS: PushizoApplicationContext
Pushizo.Chat.show(host) // Android: Activity · iOS: UIViewController
if (Pushizo.Chat.isPresented) Pushizo.Chat.hide()
if (Pushizo.LiveActivities.isSupported) { // yalnızca iOS
Pushizo.LiveActivities.setupDefaultLiveActivity()
Pushizo.LiveActivities.startDefaultLiveActivity("order_42", mapOf("title" to "Sipariş"), mapOf("step" to 2))
}Chat.show Android'de HsChatActivity ekranını, iOS'ta modal sohbet ekranını açar; hide() açık bir ekran varsa true döner.
isPresented iOS'ta yerel değerdir; Android'de yerel karşılığı olmadığından köprü sohbet ekranının yaşam döngüsünü izler (izleme
köprünün initialize ya da show çağrısıyla başlar). Pushizo.LiveActivities yalnızca iOS'ta etkilidir (genel tür, iOS 16.1+):
geçersiz girdi IllegalArgumentException, başlatılmamış SDK IllegalStateException, desteklemeyen sürüm
UnsupportedOperationException fırlatır; Android'de isSupported false, defaultActivityType null döner ve çağrılar hiçbir
şey yapmadan false döner.
Yerel görünüm ve türe bağlı olanlar ortak API'de yok: özel in-app çizici (setRenderer), gömülebilir sohbet ve içerik kartı
görünümleri, kendi ActivityAttributes türlerinizle Live Activities ve Uri ile sohbet eki. Android'de api bağımlılığı sayesinde
androidMain içinden com.pushizo.sdk.Pushizo, iOS'ta iosMain içinden com.pushizo.kmp.ios (Objective-C cephesi) ile
doğrudan çağrılır.
cd sdk/kmp-mobile
gradle :testDebugUnitTest :assembleRelease
# iOS (macOS): önce framework, sonra simülatör testleri (ortak testler + iOS dönüşüm testleri)
../ios/scripts/build-xcframework.sh
gradle :iosSimulatorArm64Test :linkDebugTestIosArm64Android SDK includeBuild("../android") ile kaynaktan derlenir; iOS hedefleri sdk/ios/build/xcframework/Pushizo.xcframework'e
bağlanır (-Ppushizo.xcframework=<yol>). iOS uygulaması başlatmada Pushizo.initialize(PushizoApplicationContext, "app_…")
çağırır. Kotlin 2.2.21 (Xcode 26 SDK'sı için gerekli). Örnek uygulama: examples/kmp-app.
This repository is mirrored automatically from the Pushizo main repository on every release. Please open an issue instead of a pull request; fixes land in the main repository and ship with the next release. Bu depo her sürümde Pushizo ana deposundan otomatik yansıtılır. Pull request yerine issue açın; düzeltmeler ana depoda yapılır ve bir sonraki sürümle buraya gelir.
Released under the MIT License · MIT lisanslıdır — LICENSE.