SShortSingh.
Back to feed

Multi-device push rollout incomplete as old logout behavior still removes all device tokens

0
·1 views

A server can now store several push tokens per user, but an older app version's logout still deletes every device's registration. Testing paired old and new API routers with old and new logout methods against a local database using synthetic test strings. Results showed that only the new server plus device-specific deletion preserves the other device's token, while the old server or an all-device deletion call removes both. The server change does not restore previously deleted rows, so registration must run again on each device. The investigation did not measure how many real user devices have updated or re-registered, so completion of the rollout remains unconfirmed.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Running LLMs On-Premise: Hidden Costs Beyond the Power Bill

A logistics firm's engineering director moved AI inference onto a local GPU after a cloud bill reached $8,000 in one month. Power consumption proved modest, but the true expense lies in setup and maintenance time that is rarely accounted for. By the author's estimate, the setup and debugging consumed about 40 hours over three months, covering driver conflicts, networking breakdowns, and silent output errors. Over three months, the local setup cost roughly $58 to $73 per month including hardware amortization, versus $180 to $240 for a comparable cloud API, with breakeven around month four. The analysis concludes that on-premise hosting pays off mainly for high-volume, repetitive, or privacy-sensitive workloads, while low-volume use is usually cheaper through an API.

0
ProgrammingDEV Community ·

Website Migration: Plan the Cutover Before Changing DNS

A successful website move requires transferring data, traffic, and business functions together, not just copying files to a new server. Teams should inventory every component, including the application, database, uploads, email, DNS, certificates, background jobs, and external integrations, and define who authorizes the switch and what would trigger a rollback. For live sites, a final synchronization or maintenance window is needed so that orders or registrations made after the initial copy are not lost, and two servers should never accept writes without a deliberate sync design. After cutover, the old server should stay available during the overlap period, with login, forms, checkout, redirects, background jobs, and email verified separately. The old service should only be retired once migration and retention requirements are met.

0
ProgrammingDEV Community ·

Developer Builds Offline Ethiopian Calendar App in Flutter

A developer describes building the Zemen App, an offline Flutter calendar that converts between Ethiopian and Gregorian dates and tracks national holidays and Orthodox fasting days. The core is a self-contained Dart engine that uses a Julian Day Number as a neutral pivot between the two calendars. The Ethiopian calendar's 13 months, with fixed month lengths and a leap year rule every four years, keep the conversion arithmetic simple. The engine relies only on integer math, so it behaves consistently across devices and is fast enough for calendar grids. The article walks readers through the algorithms so they can adapt the approach to other non-Gregorian calendars.

0
ProgrammingDEV Community ·

Solo Developer Builds AI Tool to Validate Startup Ideas Using Live Data Sources

A developer spent three months creating Ainexa, a startup idea validator that scans live sources such as Reddit, Hacker News, and Product Hunt. Unlike general chatbots, the tool requires every claim to link to a verifiable source and avoids fabricating evidence. The creator analyzed the first 49 ideas submitted by early users and reported findings such as weak demand for thin AI wrapper products and that specific ideas tend to show stronger demand. He also noted that ideas with no competitors may signal a lack of market rather than an opportunity. He acknowledged that the product currently has no paying users, with distribution being his main challenge.

Multi-device push rollout incomplete as old logout behavior still removes all device tokens · ShortSingh