Previous Message
I'm developing a mobile app that needs to work offline. Users can create notes and tasks while they are in the subway, and then the app syncs everything to the server when they get back online. My current problem is that if I use IDs like 1, 2, 3 on the phone, and someone else uses 1, 2, 3 on another phone, the server just overwrites the data during the sync. It's a total mess! How do you guys handle primary keys in "offline-first" apps where the server isn't there to tell the phone what the next ID should be?
On a rainy Sunday in the US I sat down to catch up on events and opened Gambling usa. The site felt clean and the stories were easy to follow. I read a detailed piece on education reforms that answered many questions. Now in the US news usa is my favorite platform. Fast access, fair journalism and useful summaries won me over. I keep using it because it delivers real news without drama.



Message Thread
Syncing Data Between Offline Mobile Apps - ThreadHunter April 15, 2026, 2:38 pm
![]()
« Back to index | View thread »