Comments (8)
Sorry to hear that you are running into issues. Can you confirm that you are on the latest version of the SDK (2.6.26)? The latest version contains bug fixes for multiple subscriptions - my inspection of the stacktrace is leading me to believe that you may be on an older rev of the SDK. Line 196 of the latest RealSubscriptionManager code is now
If you are on an older version, can you upgrade and let us know it goes.
from aws-mobile-appsync-sdk-android.
@cbommas
Thanks for answer. The reason is that maven is not the lastest version.
classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.6.+'
apply plugin: 'com.amazonaws.appsync'
implementation 'com.amazonaws:aws-android-sdk-appsync:2.6.26'
When using gradle to import, code is not the lastest!
Maven is not the lastest version.
from aws-mobile-appsync-sdk-android.
@472574155
I double checked Maven and tried to reproduce the error, however I wasn't able to.
Can you share your build.gradle file?
My build.gradle contains
implementation "com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.6.+"
implementation "com.amazonaws:aws-android-sdk-appsync:2.6.+"
and this pulls down the latest version when I do a gradle sync.
Also, please do let me know if you are still experiencing the issue with the latest version.
from aws-mobile-appsync-sdk-android.
@cbommas
This issue still happened.
My build.gradle contains
implementation 'com.amazonaws:aws-android-sdk-appsync:2.6.26'
implementation 'com.amazonaws:aws-android-sdk-s3:2.7.2'
implementation 'com.amazonaws:aws-android-sdk-cognito:2.6.30'
implementation 'com.amazonaws:aws-android-sdk-mobile-client:2.6.31'
implementation 'com.amazonaws:aws-android-sdk-cognitoidentityprovider:2.7.2'
implementation 'com.amazonaws:aws-android-sdk-sns:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-core:2.7.2'
implementation 'com.amazonaws:aws-android-sdk-ddb:2.6.31'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.0'
implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
from aws-mobile-appsync-sdk-android.
@cbommas
Have you checked the jar file?
http://central.maven.org/maven2/com/amazonaws/aws-android-sdk-appsync/2.6.26/aws-android-sdk-appsync-2.6.26-sources.jar (Is maven url right?)
- download file aws-android-sdk-appsync-2.6.26-sources.jar
- (.jar) -> (.zip)
- unzip file
4.find file (aws-android-sdk-appsync-2.6.26-sources ▸ com ▸ amazonaws ▸ mobileconnectors ▸ appsync ▸ subscription ▸ RealSubscriptionManager.java)
5.line No.196
from aws-mobile-appsync-sdk-android.
@472574155
Thank you for pointing this out. I was able to track it down -the code in the github repo was updated after the v2.6.26 release as part of this PR #41 which contains the fix for the issue you are seeing.
Sorry about the confusion. I will get this released in the next few days and will post back on this thread once the release is completed.
from aws-mobile-appsync-sdk-android.
@472574155
v2.6.27 is released and contains the fix. Can you please let us know how it goes with the latest rev of the SDK.
from aws-mobile-appsync-sdk-android.
@cbommas thanks.
from aws-mobile-appsync-sdk-android.
Related Issues (20)
- Execution failed for task ':app:nodeSetup'. HOT 1
- android.net.ConnectivityManager$TooManyRequestsException HOT 9
- Execution failed for task ':app:nodeSetup'. HOT 5
- Android Studio Bumblebee will further break compatibility with Jetpack libraries HOT 3
- NullPointerException: Attempt to invoke virtual method 'org.json.JSONObject com.amazonaws.mobile.config.AWSConfiguration.optJsonObject(java.lang.String)' on a null object reference HOT 3
- No ability to serlialize null input fields
- App Sync SDK crashing with SQLiteBlobTooBigException HOT 4
- How can we encrypt cache data
- AppSync codegen models throws @Nullable @Nullable HOT 4
- AppSync codegen model "S3ObjectInput" methods override error
- Cognito API InitiateAuth + REFRESH_TOKEN_AUTH does not return updated RefreshToken HOT 2
- Fatal Exception: java.lang.NullPointerException: Parameter specified as non-null is null
- AppSync gradle plugin has conflict with Apollo3 plugin HOT 1
- GraphQL subscription error 403 HOT 1
- Wrong serialisation for Enum type in WebSocketConnectionManager
- AWSAppSyncClient is not generating code from the graphql file in Android HOT 20
- AWS appsync doesn't build with agp version 8.0 HOT 5
- app crashes when retrying all subscriptions HOT 1
- Gradle configuration cache support HOT 2
- Fix critical vulnerability CVE-2022-4725 flagged by Sonarqube on dependency: aws-android-sdk-mobile-client 2.22.1 HOT 2
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-android.