Giuseppe Villani

Results 14 comments of Giuseppe Villani

We went in production recently (3 days ago) and we just registered two episodes: both for the same user. Still no idea about what can cause it?

Did anybody figure out a possible solution to this problem?

Hi @minbi , thank you for the answer. Yes, I am using Cognito Userpools for sign-in. I see what you mean, but if I block the user till he sign-in...

Indeed when offline is detected there is no attempt to grab credentials, but as soon as online is detected, the SDK is going to try to sync data, calling the...

But right now I am using `AWSAppSyncClient`. Is it dependent to `AWSMobileClient` ?

That sounds great @minbi But how to tell `AWSAppSyncClient` to use `AWSMobileClient`?

Uhm interesting. Even though if the token is not yet available I will still have the same problem, cause that call doesn't seem blocking to me, indeed it just returns...

Hi @minbi I think you gave me the right tip. I am now overriding `getLatestAuthToken`, but instead of getting the idToken with `AWSMobileClient `, I use the following for signUp...

I checked the implementation of `AWSAppSyncClient` and I saw that `OkHttpClient` is using an interceptor for handling failure and retry: `RetryInterceptor` Apparently this interceptor only reschedule the request, in case...

Thanks for replying @minbi That's actually what I do, but in case of failure the callback just returns a `PersistentMutationsError` object which has just the following three methods: - `getRecordIdentifier()`...