Search code examples
androidasp.net-web-apimongodb-.net-driver

Web Api mongodb and android


I want to create a project in ASP.net with webAPI and Mongodb. client are IOS, Android, and Web. the question is about at client side when he/she is offline (no internet), they store data in Mobile (locally in android or pc or ios device) after come online (connect with server) the new data will be Sync. please guide me with MongoDB


Solution

  • Create a Service for when the user was online, then download the messages/or syncs with MongoDB on ServerSide.

    Of course, you can save these things with Sqlite on Android.

    That is exactly will works like WhatsApp