How I built real-time Flutter notifications without Firebase
Hamid Wakili has developed FlushKit, a real-time notification SDK for Flutter that operates without Firebase. This solution utilizes Server-Sent Events (SSE) to deliver in-app notifications efficiently. FlushKit aims to simplify the notification process for developers by eliminating the need for the full Firebase SDK when the app is open.
- ▪FlushKit is a remote in-app notification SDK for Flutter, powered by Server-Sent Events.
- ▪The SDK allows notifications to be streamed to connected app instances in real time.
- ▪FlushKit is currently live with a free tier available at flushkit.dev.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3934355) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Hamid Wakili Posted on May 16 How I built real-time Flutter notifications without Firebase #webdev #dart #flutter #showdev I maintain another_flushbar on pub.dev — one of the more popular Flutter notification packages. After seeing how many developers were pulling in the full Firebase SDK just to show an in-app banner, I decided to build something simpler. The result is FlushKit: a remote in-app notification SDK for Flutter, powered by Server-Sent Events.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).