Skip to content

Issue: unable to access 'https://sdk.socketmobile.com/capture/react-native-capturesdk.git/' #28

@arthur-xiao-dorsia

Description

@arthur-xiao-dorsia

Your Socket Mobile Developer ID

1cf0d991-6e54-f111-bec7-000d3a5a2f1f

Environment

React-native running on iOS 26
Device: iOS
CaptureSDK version: N/A because i can't install it

Description

I added my application on the socket mobile site and obtained my AppKey, and saw this instruction:

For the React Native CaptureSDK, please add the below line to your dependencies in your package.json file.

"react-native-capturesdk": "https://oauth2:glpat-HQthS5rpDAcLHtngKxym@sdk.socketmobile.com/capture/react-native-capturesdk.git"

but after adding that line, i was unable to bun install my project, getting failures like:

bun install v1.3.9 (cf6cdbbb)
  error: ConnectionRefused downloading tarball react-native-capturesdk@https://oauth2:glpat-HQthS5rpDAcLHtngKxym
  @sdk.socketmobile.com/capture/react-native-capturesdk.git
  error: react-native-capturesdk@https://oauth2:glpat-HQthS5rpDAcLHtngKxym@sdk.socketmobile.com/capture/react-na
  tive-capturesdk.git failed to resolve

Is this the correct line i should be adding to my package.json?

Steps to Reproduce

  1. add "react-native-capturesdk": "https://oauth2:glpat-HQthS5rpDAcLHtngKxym@sdk.socketmobile.com/capture/react-native-capturesdk.git" to package.json
  2. run bun install from project root

Expected Behavior

successful bun install

Actual Behavior

failed bun install with errors:

bun install v1.3.9 (cf6cdbbb)
  error: ConnectionRefused downloading tarball react-native-capturesdk@https://oauth2:glpat-HQthS5rpDAcLHtngKxym
  @sdk.socketmobile.com/capture/react-native-capturesdk.git
  error: react-native-capturesdk@https://oauth2:glpat-HQthS5rpDAcLHtngKxym@sdk.socketmobile.com/capture/react-na
  tive-capturesdk.git failed to resolve

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions