I followed this link to create backend app for may xamarin forms app, I can save some data to easy table but i can't retrieve existing data from azure table to mobile, i get Push operation has failed when pull data when trying to pull data.
1 Answers
I can save some data to easy table but i can't retrieve existing data from azure table to mobile, i get Push operation has failed when pull data when trying to pull data.
As How offline synchronization works states about Implicit Pushes:
If a pull is executed against a table that has pending local updates, the pull first executes a
push()on the sync context. This push helps minimize conflicts between changes that are already queued and new data from the server.
For retrieving the detailed error when executing the pull operation, you could try to use fiddler to capture the network traces to narrow down this issue. Moreover, you may need to handle the conflict (catch the MobileServicePushFailedException) for the push operation. Details you could follow adrian hall's book about Handling Conflict Resolution.
For a simple way, I would recommend you download the Xamarin.Forms sample project under "Development > Quickstart" blade of your mobile app on Azure Portal, details you could follow here. Moreover, you could also follow The Mobile Client tutorial to get started with Azure Mobile Apps by using Xamarin.Forms.