apptentive / apptentive-android

Apptentive Android SDK
http://www.apptentive.com
BSD 3-Clause "New" or "Revised" License
65 stars 64 forks source link

Libray not working with Android P (traget 28 and JDK compiler 1.8) #169

Closed vinayakkumar closed 5 years ago

vinayakkumar commented 5 years ago

Hi Team ,

Aptentive 5.3.0 is not working Android P ie target and compile version 28 and JD version 1.8

We are facing random error so please make sure your libray is compatable with Android P ie Target version 28

weeeBox commented 5 years ago

Hi @vinayakkumar,

What kind of errors are you facing? Can you also provide the contents of your build.gradle file?

stephan-mediamonks commented 5 years ago

@weeeBox We have a similar setup, AppTentive SDK 5.3.0, target 28, running on Android Pie emulator.

Here is an export of LogCat, filtered for "AppTentive". Hope that gives you more data. If helpful we can share more project setup details.

weeeBox commented 5 years ago

Thanks, @stephan-mediamonks. We'll take a look and get back to you ASAP

weeeBox commented 5 years ago

Hey @stephan-mediamonks,

Would you be able to provide the contents of your build.gradle file?

stephan-mediamonks commented 5 years ago

Hi Alex,

I’ve attached a zip with both the project level build gradle and the app level build gradle.

Two more comments:

the logcat is actually from an emulator running Android 8.1, not Android 9 the project includes DexGuard. We did not update any Proguard / Dexguard rules when updating to SDK 5.3

Regards,

-- Stephan Bezoen · Lead Mobile Monk at MediaMonks LA · NY · MX · BA · SP · LDN · AMS · STO · DXB · SG · SH Call our Amsterdam office on +31356212150. Reach me directly at stephan@mediamonks.com mailto:steven@mediamonks.com.

On 27 Sep 2018, at 18:28, Alex Lementuev notifications@github.com wrote:

Hey @stephan-mediamonks https://github.com/stephan-mediamonks,

Would you be able to provide the contents of your build.gradle file?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apptentive/apptentive-android/issues/169#issuecomment-425157514, or mute the thread https://github.com/notifications/unsubscribe-auth/ANGGWA_baGfz2m4-G75bxOUmZ5PdXpZbks5ufPyngaJpZM4WvzkM.

weeeBox commented 5 years ago

Hi @stephan-mediamonks,

I can't see any attachments.

weeeBox commented 5 years ago

Hi @stephan-mediamonks,

We're able to reproduce the issue after updating platform-tools to 28.0.1 and emulator to 28.0.3. Everything works find on a real device. Do you have API 27 devices to verify?

stephan-mediamonks commented 5 years ago

Hi Laex,

I guess the zip with the gradle files was stripped off, you can find it here: https://drive.google.com/file/d/1B8RpS1nlTXZNaNAyKlgc5UmwLRuOigjL/view?usp=sharing https://drive.google.com/file/d/1B8RpS1nlTXZNaNAyKlgc5UmwLRuOigjL/view?usp=sharing

So would this be an emulator specific issue?

We’ll check again with a real device, thanks!

Regards,

-- Stephan Bezoen · Lead Mobile Monk at MediaMonks LA · NY · MX · BA · SP · LDN · AMS · STO · DXB · SG · SH Call our Amsterdam office on +31356212150. Reach me directly at stephan@mediamonks.com mailto:steven@mediamonks.com.

On 28 Sep 2018, at 21:48, Alex Lementuev notifications@github.com wrote:

Hi @stephan-mediamonks https://github.com/stephan-mediamonks,

We're able to reproduce the issue after updating platform-tools to 28.0.1 and emulator to 28.0.3`. Everything works find on a real device. Do you have API 27 devices to verify?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apptentive/apptentive-android/issues/169#issuecomment-425546424, or mute the thread https://github.com/notifications/unsubscribe-auth/ANGGWFrwKA_Lssq3yUQe7r1gRgmjWy32ks5ufn0KgaJpZM4WvzkM.

weeeBox commented 5 years ago

Hey @ stephan-mediamonks,

Did you have a chance to check this out?

vinayakkumar commented 5 years ago

Hi Team ,

I have left organisation .

Please contact ashish.verma@philips.com

Regards Vinayak

On Wed, Sep 19, 2018 at 10:04 PM Alex Lementuev notifications@github.com wrote:

Hi @vinayakkumar https://github.com/vinayakkumar,

What kind of errors are you facing? Can you also provide the contents of your build.gradle file?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apptentive/apptentive-android/issues/169#issuecomment-422870826, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7wHq_1PT9p0_D2FARXom3d8c_0qn4Mks5ucnIGgaJpZM4WvzkM .

weeeBox commented 5 years ago

Fixed in 5.3.1