How to persist data via communication between mobile apps and AWS?
I’m currently developing a mobile app in Unity and using AWS as a backend. The app calls Lambda using AWS Mobile SDK for Unity, and reads and writes data from/to DynamoDB.
When the mobile app tries to communicate with the server, the communication may not be completed by:
- Just a communication disruption because of any reasons ( packet lost, trouble with WiFi/4G connections, … )
- The user makes the app background and the OS stops the process in the middle.
Therefore, I want to re-synchronize the data when communication returns.
I know AWS AppSync exists, but the library is available for iOS and Android only. It cannot be handled uniformly from Unity. What is the solution?
- Implement the code for re-synchronize on my own (are there any best practices?)
- There already exists a library (Let me know!).
- Migrate to Firebase