mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-utils.git
synced 2026-07-23 16:35:43 +00:00
84b87458da
The "Your Voice Matters" card used pezkuwiwallet://pezkuwi/open/governance. That path prefix-matches the referendum deep link handler (/open/gov), which requires an id; without one it reports "Referendum not found". Worse, a matched-but-failed deep link is persisted and never cleared, so it replays on every app launch. Replace it with a builders/developer call-to-action (image: Gre Miraza scene) that links to an external Telegram invite. External https links bypass the in-app deep link engine entirely, so this card cannot get stuck. prod + dev kept in sync; en/ku/tr localised.
Pezkuwi Wallet Banners - Admin Guide
Banner Yonetimi / Banner Management
Bu klasor Pezkuwi Wallet uygulamasindaki ana ekran banner/duyurularini kontrol eder.
Dosya Yapisi / File Structure
banners/
├── v2/
│ ├── content/
│ │ ├── assets/ # Ana ekran banner'lari
│ │ │ ├── banners.json # Production banner listesi
│ │ │ ├── banners_dev.json # Development/test banner listesi
│ │ │ ├── localized/ # Production dil dosyalari
│ │ │ │ ├── en.json # Ingilizce
│ │ │ │ ├── ku.json # Kurtce (Kurmanci)
│ │ │ │ └── tr.json # Turkce
│ │ │ └── localized_dev/ # Development dil dosyalari
│ │ │
│ │ └── dapps/ # DApps ekrani banner'lari
│ │ └── (ayni yapi)
│ │
│ └── resources/
│ ├── backgrounds/ # Arka plan gorselleri
│ └── images/ # Banner gorselleri
Banner Ekleme / Adding a Banner
- banners.json dosyasina yeni banner ekleyin:
{
"id": "unique-banner-id",
"background": "https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/resources/backgrounds/YOUR_BG.png",
"image": "https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/resources/images/YOUR_IMAGE.png",
"clipsToBounds": false,
"action": null
}
- localized/*.json dosyalarina icerik ekleyin:
{
"unique-banner-id": {
"title": "Banner Basligi",
"details": "Banner aciklamasi.\nIkinci satir."
}
}
- Gorselleri resources/ klasorune yukleyin.
Action Turleri / Action Types
null- Tiklanamaz banner"https://..."- Dis link acar"novawallet://nova/open/staking"- Staking sayfasini acar"novawallet://nova/open/governance"- Governance sayfasini acar"novawallet://nova/open/dapp?url=https://..."- DApp acar
Gorsel Boyutlari / Image Sizes
- Background: 750x200 px (PNG, gradient onerilir)
- Image: 250x180 px (PNG, seffaf arka plan)
Test Etme / Testing
- Degisiklikleri
banners_dev.jsonvelocalized_dev/klasorune yapin - Debug APK ile test edin
- Onaylandiktan sonra production dosyalarina kopyalayin
Onemli Notlar / Important Notes
- Banner ID'leri benzersiz olmali
- Tum dillerde ayni ID'ler olmali
- Gorseller GitHub'a yuklendikten sonra URL'ler guncellenmelidir
- Degisiklikler 15-30 dakika icinde uygulamada gorunur (cache)