awslabs / aws-mobile-appsync-sdk-js

JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Apache License 2.0
921 stars 266 forks source link

App crashes with Exception "Undefined is not an object evaluating (_a.observer)" #596

Open agliber opened 4 years ago

agliber commented 4 years ago

Bug report

App crashes with Exception "Undefined is not an object evaluating (_a.observer)"

Tested on iPhone/iOS 13 and 14

"react-apollo": "^3.1.5",
"react-native": "^0.63.2",
"@apollo/client": "^3.1.3",
"amplify": "0.0.11",
"aws-amplify": "^3.0.24",
"aws-amplify-react-native": "^4.2.5",
"aws-appsync": "^3.0.4",
"aws-appsync-auth-link": "^2.0.2",
"aws-appsync-react": "^3.0.4",
"aws-appsync-subscription-link": "^3.0.3",

This problem existed with previous versions of aws-appsync and did not arise after updating to a new version.

IMG_3843

agliber commented 4 years ago

Possible related issues: #501, #515, #595

KvNGCzA commented 3 years ago

These PR1 & PR2 have been opened with related fixes.