android – Community Error: With AWS Lambda and Amplify in Ionic App

[ad_1]

For this query I can’t present plenty of pattern as a result of its a state of affairs we face.

I’m construct app with Ionic 5 and AWS amplify for AWS Lambda features.

I’m going through a really wired challenge.

In some telephone my app works nice all api response/request comes and goes as per expectation.

However in some telephone it simply exhibits community error. I checked logs the request by no means attain to our lambda features. I attempted to examine api gateway logs and no log from that consumer.

We tried to alter the the lambda perform to direct container apis nonetheless similar.
Its like for some telephone the telephone just isn’t permitting to ship packet to our api.

This challenge can occur anytime to any consumer. For couple of days app work nice and out of the blue some day the app doesn’t reply. We tried replicate this challenge on staff telephone but it surely dint occur all telephones are working nice.

Steps we took to repair it.

  1. change the api from lambda to container
  2. tried so as to add a crash report nonetheless no log as if there is no such thing as a web connection on telephone for less than our app.

This challenge occur in each app IOS and Android.

we suspect the difficulty is likely to be due to Amplify however not in a position to pin level.

If anyone confronted this type of challenge and got here throughout this query please present any resolution you might need tried.

[ad_2]

Leave a Reply