1 min readDec 27, 2023

--

Merhaba, sorularınızı bilgim dahilinde yanıtlıyor olacağım.

İlk olarak herhangi bir ücret istemez. Opensource bir projedir. Github üzerinden repolarını takip edebilirsiniz.

İkinci sorunuza gelecek olursak; Kullanıcı uygulamayı kapatıp açtığında uygulamaya güncelleme gönderdiyseniz direkt olarak güncel halini görecektir. Buradan zaten kullanıcı güncelleme olduğunu anlayacaktır. Ancak siz güncelleme olduğu bilgisini gönderecekseniz Shorebird sayfasında bunu FCM ile yapabileceğinizi yazıyor.

İlgili yazı;

Triggering updates via notification

It is possible to trigger updates via push notifications.

Shorebird does not provide its own notification service, but it's possible to use others, such as Firebase Cloud Messaging (FCM) to send a notification to your app, and then use that notification to trigger an update. Because these services typically allow you to target specific devices, you could use this to trigger updates for specific users.

Any notification service which uses Dart (e.g. FCM) will also trigger the launch of the Flutter engine when the notification is delivered. When the Flutter engine is launched, the default auto-update behavior will run. Thus, when a notification is received, the app will update if it is not already running.

More reliable however is to use the package:shorebird_code_push to trigger the update from within a notification handler.

İlgili link;

https://docs.shorebird.dev/update-strategies

Umarım sizin için bilgilendirici ve faydalı olur!

--

--

AbdullahTaş
AbdullahTaş

Written by AbdullahTaş

FLUTTER DEVELOPER || GRAPHQL - FIREBASE

No responses yet