Giter Site home page Giter Site logo

Comments (8)

scb01 avatar scb01 commented on June 1, 2024

@472574155

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.

472574155 avatar 472574155 commented on June 1, 2024

@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.

Maven url:http://central.maven.org/maven2/com/amazonaws/aws-android-sdk-appsync/2.6.26/aws-android-sdk-appsync-2.6.26-sources.jar

from aws-mobile-appsync-sdk-android.

scb01 avatar scb01 commented on June 1, 2024

@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.

472574155 avatar 472574155 commented on June 1, 2024

@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.

472574155 avatar 472574155 commented on June 1, 2024

@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?)

  1. download file aws-android-sdk-appsync-2.6.26-sources.jar
  2. (.jar) -> (.zip)
  3. 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.

scb01 avatar scb01 commented on June 1, 2024

@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.

scb01 avatar scb01 commented on June 1, 2024

@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.

472574155 avatar 472574155 commented on June 1, 2024

@cbommas thanks.

from aws-mobile-appsync-sdk-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.