Components SDKs
The Spaces SDK for Android consists of the following component SDKs:
- The Spaces Core SDK (includes Analytics)
- The Spaces Login SDK
- The Spaces Sharing SDK
- The Spaces Messages SDK
- The Spaces App Links SDK
If you don't need the functionality of the full Spaces SDK for Android, you can save space by using only the component SDKs that you need to support the Spaces products that you want to use in your app.
When you use the Spaces SDK, some events in your app are automatically logged and collected unless you disable automatic event logging. For details about what information is collected and how to disable automatic event logging, see Automatic App Event Logging.
To link with Maven to one of the component SDKs in your project, add one of the following implementation statements to your build script:
- implementation 'com.spaces.android:spaces-applinks:latest.release'
- implementation 'com.spaces.android:spaces-common:latest.release'
- implementation 'com.spaces.android:spaces-core:latest.release'
- implementation 'com.spaces.android:spaces-login:latest.release'
- implementation 'com.spaces.android:spaces-messages:latest.release'
- implementation 'com.spaces.android:spaces-share:latest.release'
To add an implementation statement:
- In your project, open your_app | Gradle Scripts | build.gradle (Project) and add the following repository to the
buildscript { repositories {}}section to download the SDK from the Maven Central Repository:
mavenCentral()
- In your project, open your_app | Gradle Scripts | build.gradle (Module: app) and add one or more of the implementation statements to the
dependencies{}section. - Build your project.
Download
You can also download the entire Spaces SDK for Android.