Skip to content

Next release after 2.0.2? Built-in Alipay/WeChat connectors break R8 full-mode #255

Description

@HarlonWang

Using io.logto.sdk:android:2.0.2 in TrendingAI, an Android app that only uses GitHub sign-in (we don't integrate the Alipay/WeChat SDKs).

Building a release APK with R8 full mode fails:

Missing class com.alipay.sdk.app.OpenAuthTask (referenced from: ...AlipaySocialSession ...)
Missing class com.tencent.mm.opensdk.openapi.IWXAPI (referenced from: ...WechatSocialSession ...)

AlipaySocialSession/WechatSocialSession in 2.0.2 reference those SDKs (compileOnly), so R8 full-mode treats them as hard errors for apps that don't bundle them. We currently work around it with -dontwarn.

I see master has already removed the auth/social connectors (only auth/logto remains). When is the next release after 2.0.2 expected? We'd like to drop the workaround once it ships. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions