Skip to content

Android does not build with RN 0.71.4 #154

Description

@mmckinley8

Fails with the following error:

> Could not resolve com.zendesk:chat:3.1.0.
     Required by:
         project :app
         project :app > project :react-native-zendesk-chat
      > Could not resolve com.zendesk:chat:3.1.0.
         > Could not get resource 'https://zendesk.jfrog.io/zendesk/repo/com/zendesk/chat/3.1.0/chat-3.1.0.pom'.
            > Could not GET 'https://zendesk.jfrog.io/zendesk/repo/com/zendesk/chat/3.1.0/chat-3.1.0.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   > Could not resolve com.zendesk:messaging:5.1.0.
     Required by:
         project :app
         project :app > project :react-native-zendesk-chat
      > Could not resolve com.zendesk:messaging:5.1.0.
         > Could not get resource 'https://zendesk.jfrog.io/zendesk/repo/com/zendesk/messaging/5.1.0/messaging-5.1.0.pom'.
            > Could not GET 'https://zendesk.jfrog.io/zendesk/repo/com/zendesk/messaging/5.1.0/messaging-5.1.0.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I have added the dependencies to the build.gradle like the docs suggest:

api group: 'com.zendesk', name: 'chat', version: '2.2.0'
api group: 'com.zendesk', name: 'messaging', version: '4.3.1'

I also tried:

api group: 'com.zendesk', name: 'chat', version: safeExtGet('zendeskChatVersion', '3.1.0')
api group: 'com.zendesk', name: 'messaging', version: safeExtGet('zendeskMessagingVersion', '5.1.0')

And added maven url: maven { url 'https://zendesk.jfrog.io/zendesk/repo' }

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