Skip to content

Latest commit

 

History

History
105 lines (80 loc) · 2.4 KB

getting-started.md

File metadata and controls

105 lines (80 loc) · 2.4 KB

Getting Started

Index

Requirements

  • >= TypeScript 3.8

Android

https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/android/getting_started

  • Step 1. Add required permissions to your AndroidManifest.xml
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
            package="com.domain.app">
    
      <!-- Need android.permission.INTERNET, android.permission.ACCESS_NETWORK_STATE -->
      <uses-permission android:name="android.permission.INTERNET" />
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    
    </manifest>
  • Step 2. Add repository into your root build.gradle
    allprojects {
      repositories {
        ...
    
        // Add this repository
        maven {
          url "https://zendesk.jfrog.io/artifactory/repo"
        }
      }
    }

iOS

https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/ios/getting_started

  • Step 1. Install pods
    cd ios && pod install

Overriding SDK versions

Android

// android/build.gradle
buildscript {
  ext {
    ...
    zendeskSdkVersion = "2.11.0" // default version is "2.13.0"
  }
}
  • SDK Versions
    • >= 2.3.0
      • Kotlin version: 1.5.31
      • SDK target and compiles: API 31
    • >= 2.7.0
      • Kotlin version: 1.6.x
  • For more details, checkout release notes

iOS

...
# ios/Podfile

$ZendeskSDKVersion = '2.11.0' # default version is '2.13.0'

Push Notifications

Known Issues

  • Android
    • SDK Docs
    • ProGuard issue on Android
      • Crash log
      java.lang.NoSuchFieldException: CONVERSATION_START
      AssertionError: Missing field in in.a
      
      • Add rule to your proguard-rules.pro
      -keepnames class zendesk.** { *; }
      
  • iOS