Comments (5)
Some additional findings:
I went back up to version 3.2.0 (testing each version between 3.4.2 and 3.2.0) still getting the same crash no matter which sdk version is used. Looking at the network tab shows that no request is send prior the crash. Maybe a problem with the Swift version?
from aws-mobile-appsync-sdk-ios.
To reproduce the crash download the example app:
Appsync-Carthage-Subscriber-Test-App.zip
- Run
carthage update --use-xcframeworks
and add the frameworks to the target EventsApp in the general tab. - Go to http://console.aws.amazon.com/appsync/home and create a new api "Start from a sample project" -> "Event App" -> Start. When created download the "awsconfiguration.json" for iOS and replace the file in the example app
- Build and run the app
- Press the add button
- Fill out the text fields and press "Add Event"
- Click on the event in the table view -> the app crashes when creating a subscription
If we remove the frameworks and add the AppSync SDK using Swift Package Manager the app no longer crashes when redoing the same steps.
from aws-mobile-appsync-sdk-ios.
Can you see if the crash occurs if you add AppSyncRealTimeClient
framework as a dependency ?
from aws-mobile-appsync-sdk-ios.
Those are the frameworks that i tested with as we use them in our main app. They were all created using Carthage and are added as dependencies to the app => Crash occurs
from aws-mobile-appsync-sdk-ios.
Version 3.4.3 fixed the problem.
from aws-mobile-appsync-sdk-ios.
Related Issues (20)
- Add support for Custom Domain Names for AWS AppSync APIs HOT 8
- AWS AppSync SDK with AppSync APIs v2 protocol (pure WebSockets) HOT 1
- AWSAppSyncClient: AWSPerformMutationQueue Crash HOT 2
- Removing pods from source control HOT 2
- AWSMobileClient Crash when app starts HOT 3
- Completion Handler on AWSAppSyncClient.perform called more than once. HOT 1
- Enabling retry for custom scenarios HOT 1
- Update SQLite dependency to match Amplify.DataStore's SQLite version
- Make public constructor for GraphQLError HOT 2
- SPM dependency conflict with Amplify library HOT 6
- Using AWSAppSync with Amplify DataStore HOT 5
- App crashes: AWSAppSync $s10AWSAppSync36AWSCognitoUserPoolsAuthProviderAsyncPAAE09getLatestF5TokenSSyF HOT 1
- SPM dependency resolution failure using aws-mobile-appsync-sdk-ios 3.6.2 and amplify-swift 2.6.0 HOT 2
- AWS subscriptions - subscribe function is not thread safe and causes crashes HOT 1
- Version incompability with other amplify packages HOT 2
- Unknow TCP connection process keep running even when all subscriptions are unsubscribed HOT 1
- How to avoid duplicate mutations when the app is backgrounded/quit before the mutation is finished? HOT 1
- AppSync retry mechanism HOT 3
- Built app with Xcode 15.2 crashes after AppSyncClient subscribe on iOS 16.3.1 version or lower HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-mobile-appsync-sdk-ios.