[codenameone-discussions] Re: Integration with Tab payment method

2020-01-02 Thread Fuad Nassar
oky thanks i will try that

On Thursday, January 2, 2020 at 4:17:54 AM UTC+2, Shai Almog wrote:
>
> The best approach here is to download the sources without the changes and 
> try to integrate the lib into there. Then look at the changes you had to do 
> to the build and try to replicate them exactly in the build cloud. 
>

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9c35a2e9-c0e8-49d1-9af2-9f3279f5fe0f%40googlegroups.com.


[codenameone-discussions] Re: Integration with Tab payment method

2020-01-01 Thread Shai Almog
The best approach here is to download the sources without the changes and 
try to integrate the lib into there. Then look at the changes you had to do 
to the build and try to replicate them exactly in the build cloud. 

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b0d89002-433f-4f6d-b04e-2e74a7193ebe%40googlegroups.com.


[codenameone-discussions] Re: Integration with Tab payment method

2020-01-01 Thread Fuad Nassar
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

Installation
--

Include
 
goSellSDK library as a dependency module in your project
--

   1. Clone goSellSDK library from Tap repository
   
   g...@github.com: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
   
Installation
 
with JitPack
--

JitPack  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'
}

Proguard 
Rules
--

Proguard rules for SDK Library are:

-keepattributes Signature
-keepclassmembernames,allowobfuscation interface * {
@retrofit2.http.* ;
}
-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

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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/38949d09-b287-4b25-95dd-be22c0eca1fa%40googlegroups.com.


[codenameone-discussions] Re: Integration with Tab payment method

2019-12-31 Thread Shai Almog
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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/94a274bc-c398-4b0b-96c8-eb630c15b14a%40googlegroups.com.


[codenameone-discussions] Re: Integration with Tab payment method

2019-12-30 Thread Shai Almog
Hi,
We use gradle 4.6 so I think it should without a change but I'm not sure.
The Java 8 support in Android native isn't something that's currently 
toggleable. We have an experimental flag android.java8=true but I'm not 
sure if it will work correctly.

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ae1635a3-b6f3-4557-bec5-41999107f28b%40googlegroups.com.