All SDK libraries available as pre-built packages on the GitHub release page. It can be downloaded and installed manually in your preferred way.

We also support several standard ways of installing the SDK using dependency managers.

iOS

It is possible to get the iOS SDK library using Carthage dependency manager.

You can follow the Carthage quick start guide to get familiar how to use it or just use the following steps:

  1. Carthage should be installed in the system.
  2. Cartfile should be created in the same directory where .xcodeproj or .xcworkspac is located.
  3. Cartfile should contain the following line: github "mysteriumnetwork/node" ~> 0.5.0.

    • mysteriumnetwork/node - is a path to the GitHub repository.
    • 0.5.0 - is the desired version of iOS SDK.
  4. Execute the following command to fetch the required library: carthage update.

  5. A Cartfile.resolved file and a Carthage directory will appear in the same directory where your .xcodeproj or .xcworkspace is.
  6. Drag the built .framework binaries from Carthage/Build/<platform> into your application’s Xcode project.

If you are going to use dev version of the SDK library Cartfile should contain version without postfix. For example, if you want to install 0.5-rc version Cartfile should contain the following line: github "mysteriumnetwork/node" ~> 0.5.

Android

We are publishing an Android SDK library to the Sonatype and Maven Central repositories. And as a result, it is available via search.maven.org repository and can be easily imported into your project.

The Android SDK library available at https://search.maven.org/search?q=g:network.mysterium

All you need to do is just add the following line to your build.gradle file and resync it: implementation 'network.mysterium:mobile-node:0.5.1'


It's also possible to install Android SDK library manually following the official guide