Before you install the SDKs, understand the external components and extensions used with the SDKs and ensure your devices meet all requirements:
Android SDK
The UI SDK and Core SDK require Android 6.0 (API Level 23), also known as Marshmallow, or higher.
New Relic
If you use the New Relic Android agent with the SDKs, use New Relic Android agent version 7.2.0 or higher. Also, add this code to the build.gradle file. This requirement is essential to avoid server-sent event connection failures due to a dependency conflict between New Relic and OkHttp. See the New Relic and OkHttp documentation.
newrelic {
excludePackageInstrumentation("("okhttp3.sse.internal.RealEventSource")")
}
Zetetic SQLCipher
SQLCipher Community Edition is an open source extension to SQLite that supports database-level encryption. The UI SDK uses the SQLCipher extension.
Copyright (c) 2005, ZETETIC LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the ZETETIC LLC nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ZETETIC LLC ''AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL ZETETIC LLC BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Per SQLCipher's guidelines, if you use the Salesforce custom library, please include the SQLCipher Community Edition license and copyright statement in your application and documents. You can find more information about the guidelines at https://www.zetetic.net/sqlcipher/community/.