According https://github.com/Tap-Payments/goSellSDK-android#proguard-rules Requirements ------------------------------
To use the SDK the following requirements must be met: 1. Android Studio 3.3 or newer 2. Android SDK Tools 26.1.1 or newer 3. Android Platform Version: API 28: Android 9.0 (Pie) revision 6 or later 4. **Build gradle:3.5.0 <https://github.com/Tap-Payments/goSellSDK-android#installation>Installation ------------------------------ <https://github.com/Tap-Payments/goSellSDK-android#include-gosellsdk-library-as-a-dependency-module-in-your-project>Include goSellSDK library as a dependency module in your project ------------------------------ 1. Clone goSellSDK library from Tap repository [email protected]:Tap-Payments/goSellSDK-Android.git 2. Add goSellSDK library to your project settings.gradle file as following include ':library', ':YourAppName' 3. Setup your project to include goSellSDK as a dependency Module. 1. File -> Project Structure -> Modules -> << your project name >> 2. Dependencies -> click on + icon in the screen bottom -> add Module Dependency 3. select goSellSDK library <https://github.com/Tap-Payments/goSellSDK-android#installation-with-jitpack>Installation with JitPack ------------------------------ JitPack <https://jitpack.io/> is a novel package repository for JVM and Android projects. It builds Git projects on demand and provides you with ready-to-use artifacts (jar, aar). To integrate goSellSDK into your project add it in your root build.gradle at the end of repositories: allprojects { repositories { ... maven { url 'https://jitpack.io' } } } Step 2. Add the dependency dependencies { implementation 'com.github.Tap-Payments:goSellSDK-Android:2.4.8' } <https://github.com/Tap-Payments/goSellSDK-android#proguard-rules>Proguard Rules ------------------------------ Proguard rules for SDK Library are: -keepattributes Signature -keepclassmembernames,allowobfuscation interface * { @retrofit2.http.* <methods>; } -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement ######################################################################### # OkHttp ######################################################################### -dontwarn okhttp3.** -dontwarn okhttp2.** -dontwarn okio.** -dontwarn javax.annotation.** -dontwarn org.conscrypt.** -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase <https://github.com/Tap-Payments/goSellSDK-android#note>Note ------------------------------ Regarding to this Issue " Google throws this exception on Activity's onCreate method after v27, their meaning is if an Activity is translucent or floating, its orientation should be relied on parent(background) so, Activity can't make decision on itself. Even if you remove android:screenOrientation="portrait" from the floating or translucent Activity In android Oreo (API 26) you can not change orientation for Activity that offer translucent. Your Activity that launches the SDK has to set orientation to Portrait, becuase our SDK is just a child to your actvity in case of translucent mode. On Wednesday, January 1, 2020 at 4:23:44 AM UTC+2, Shai Almog wrote: > > This seems to be a problem with their SDK. Is it meant to work with API > level 28? Maybe it needs a newer version of the build tools? > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/38949d09-b287-4b25-95dd-be22c0eca1fa%40googlegroups.com.
