ScreenSharing SDK
Share the content of your own app securely with a remote expert. Ideal for enabling remote guidance and support directly within your application.
Open ScreenSharing SDK Docs →Start here to integrate Screen Sharing or Assist AR remote support into your Android app.
There are two SDKs you can integrate depending on your use case:
Share the content of your own app securely with a remote expert. Ideal for enabling remote guidance and support directly within your application.
Open ScreenSharing SDK Docs →Integrate TeamViewer Assist AR into your app to provide AR remote support experiences. Note: This module depends on the TeamViewer ScreenSharing SDK.
Open Assist AR Docs →26
or newer2.2.0
or newer21
or newer2.2.0
or newersettings.gradle.kts
:
dependencyResolutionManagement {
repositories {
maven {
url = uri("https://pkgs.dev.azure.com/TeamViewerMobileSDK/android/_packaging/android%40Release/maven/v1")
name = "teamviewerSdkCredentials"
credentials(PasswordCredentials::class)
authentication.create<BasicAuthentication>("basic")
}
}
}
gradle.properties
file in
${user.home}/.gradle
or the project directory.
Generate a
Personal Access Token
with Packaging read scopes and paste it into the
PERSONAL_ACCESS_TOKEN
placeholder.
teamviewerSdkCredentialsUsername=TeamViewerMobileSDK
teamviewerSdkCredentialsPassword=PERSONAL_ACCESS_TOKEN
You can find a sample of how to integrate the SDKs on GitHub: https://github.com/teamviewer/TravelApp
Add the following to your build.gradle.kts
:
dependencies {
implementation("com.teamviewer.sdk:screensharing:<VERSION>")
}
Latest version:
See ScreenSharingWrapper in the sample app for next steps on how to configure the SDK and establish a TeamViewer session through the SDK.
The Assist AR SDK depends on the TeamViewer ScreenSharing SDK.
Add the following to your build.gradle.kts
:
dependencies {
implementation("com.teamviewer.sdk:assistar:<VERSION>")
}
Latest version:
See ScreenSharingWrapper in the sample app for next steps on how to configure the SDK and establish a TeamViewer session through the SDK.
The following permissions will be automatically added:
android.permission.RECORD_AUDIO
android.permission.CAMERA
android.permission.WRITE_EXTERNAL_STORAGE
for Android
Sdk 28 and below when file is received from expert/supporter side
<uses-permission
android:name="android.permission.POST_NOTIFICATIONS" />
needs to be added to your AndroidManifest.xmlPOST_NOTIFICATIONS
permission if
you don't want to show the notification at all on Android devices
greater than Android 13.
import androidx.core.app.NotificationChannelCompat
import androidx.core.app.NotificationManagerCompat
val notificationChannel = NotificationChannelCompat.Builder("<Channel_ID>", NotificationManagerCompat.IMPORTANCE_LOW)
.setName("<Channel_Title>")
.setDescription("<Description>")
.build()
NotificationManagerCompat.from(this).createNotificationChannel(notificationChannel)