Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/anbarli/anbarli-android-app-redirect/archive/refs/heads/main.zipA lightweight WordPress plugin that displays an Open in App banner to Android visitors. If the Android app is not installed, the visitor is redirected to the configured Google Play page.
Android ziyaretçilere Uygulamada Aç bildirimi gösteren hafif bir WordPress eklentisidir. Uygulama yüklü değilse ziyaretçi, ayarlanan Google Play sayfasına yönlendirilir.
English
Features
- Works only on Android devices.
- Can be displayed to all Android visitors or only logged-in users.
- Opens the installed Android app using an Android Intent URL.
- Falls back to the configured Google Play URL when the app is not installed.
- Preserves the current page path and query string.
- Does not display while the website is running in PWA/standalone mode.
- Configurable title, message, button text, and dismissal period.
- Theme-independent; no theme file changes are required.
Installation
- Download the latest ZIP from the repository's Releases page.
- In WordPress, go to Plugins > Add New Plugin > Upload Plugin.
- Upload the ZIP, install it, and activate it.
- Go to Settings > Android App Redirect.
- Enter the Android package name and the full Google Play URL.
- Configure visibility and banner content, then save.
Android requirement
The Android application must be configured to handle the website's HTTPS URLs. For verified Android App Links, publish a valid assetlinks.json file at:
https://example.com/.well-known/assetlinks.json
Notes
- The banner is triggered by a user click because mobile browsers can block automatic app launches.
- This plugin does not share WordPress login sessions with the Android app.
- Google Play fallback behavior is intended for Android browsers that support Intent URLs, including Chrome.
Türkçe
Özellikler
- Yalnızca Android cihazlarda çalışır.
- Tüm Android ziyaretçilere veya yalnızca giriş yapmış kullanıcılara gösterilebilir.
- Android Intent bağlantısıyla yüklü uygulamayı açar.
- Uygulama yüklü değilse ayarlanan Google Play adresine yönlendirir.
- Bulunulan sayfanın yolunu ve sorgu parametrelerini korur.
- Site PWA/standalone modunda çalışırken görünmez.
- Başlık, açıklama, buton metni ve kapatıldıktan sonra bekleme süresi ayarlanabilir.
- Temadan bağımsızdır; tema dosyalarında değişiklik gerektirmez.
Kurulum
- Deponun Releases bölümünden güncel ZIP dosyasını indirin.
- WordPress panelinde Eklentiler > Yeni Eklenti Ekle > Eklenti Yükle bölümüne gidin.
- ZIP dosyasını yükleyin, kurun ve etkinleştirin.
- Ayarlar > Android App Redirect sayfasını açın.
- Android paket adını ve tam Google Play adresini girin.
- Görünürlük ve bildirim metinlerini ayarlayıp kaydedin.
Android gereksinimi
Android uygulamasının sitenizin HTTPS bağlantılarını açacak şekilde yapılandırılmış olması gerekir. Doğrulanmış Android App Links için aşağıdaki konumda geçerli bir assetlinks.json dosyası yayınlayın:
https://ornek.com/.well-known/assetlinks.json
Notlar
- Mobil tarayıcılar otomatik uygulama açmayı engelleyebildiği için işlem kullanıcı tıklamasıyla başlatılır.
- Bu eklenti WordPress oturumunu Android uygulamasıyla paylaşmaz.
- Google Play geri dönüşü, Chrome dahil Intent URL destekleyen Android tarayıcıları içindir.
Development / Geliştirme
Issues and pull requests are welcome. / Hata bildirimleri ve katkı talepleri kabul edilir.
- Repository / Depo: https://github.com/anbarli/anbarli-android-app-redirect
- Author / Geliştirici: https://github.com/anbarli
License / Lisans
Licensed under the GNU General Public License v2.0 or later. See LICENSE.
GNU Genel Kamu Lisansı v2.0 veya üzeriyle lisanslanmıştır. Ayrıntılar için LICENSE dosyasına bakın.
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.