myflashlab / common-dependencies-ANE

In this repository find all the required shared libraries for our Air Native Extensions to make sure your final app will have the minimum required libraries so your app won't be unnecessarily huge in size.
24 stars 10 forks source link

Flurry can't find library #20

Closed noamgat closed 5 years ago

noamgat commented 6 years ago

Hi, We upgraded to this version of GPS, and our Flurry ANE is now having problems. Seeing the following in the logcat:

02-19 16:31:52.727 15788 16404 E FlurryAgent: There is a problem with the Google Play Services library, which is required for Android Advertising ID support. The Google Play Services library should be integrated in any app shipping in the Play Store that uses analytics or advertising.

02-19 16:31:42.722 15788 16404 E GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

We included the ads ANE and all the base ANEs. What are these resources? Which of these sub-anes should they be in?

myflashlab commented 6 years ago

First, let's clear some points:

  1. gps-ads ANE? you mean our GPS ANE?
  2. Flurry ANE? we have discontinued our Flurry ANE for years!

Anyway, please let us know which dependencies are you using?

noamgat commented 6 years ago

By GPS i meant google play services (acronyms are dangerous :) )

The flurry ANE in question is this one: https://github.com/freshplanet/ANE-Flurry

And also, The IronSource SDK now returns an empty string when calling IronSource.instance.getAdvertiserId() . Probably the same issue.

myflashlab commented 6 years ago

Yeah :D much better now!

Ok, are you using com.myflashlab.air.extensions.dependency.googlePlayServices.basement? This is the one responsible for the advertising ID. We are using that in our UDID ANE.

Will you be able to show more error logs? something like: Class ... not found ....?

Also, you are using the full version of AndroidSupport? right? androidSupport-V26.0.2-full.ane https://github.com/myflashlab/common-dependencies-ANE/tree/master/androidSupport The lite version is not recommended.

noamgat commented 6 years ago

Using the full version of android support, basement reference also included. I get this from the appsflyer logs:

02-20 09:38:09.165 7425 8718 I AppsFlyer_4.7.1: sendTrackingWithEvent from activity: android.app.Application 02-20 09:38:09.165 7425 8718 I AppsFlyer_4.7.1: Trying to fetch GAID.. 02-20 09:38:09.167 7425 8718 E GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. 02-20 09:38:09.178 7425 8718 I AppsFlyer_4.7.1: *** sendTrackingWithEvent: LoginFlow 02-20 09:38:09.208 7425 8718 E GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. 02-20 09:38:09.212 7425 8718 I AppsFlyer_4.7.1: IMEI was not collected. 02-20 09:38:09.212 7425 8718 E GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. 02-20 09:38:09.213 7425 8718 I AppsFlyer_4.7.1: Android ID was not collected. 02-20 09:38:09.217 7425 8718 I AppsFlyer_4.7.1: AppsFlyer: first launch date: 2017-12-12_162206+0200

Also spotted in logs: Finsky : [1] com.google.android.finsky.billing.a.h.a(46): Got an exception trying to get proto method: java.lang.NoSuchMethodException: getFingerprintValid []

art : Rejecting re-init on previously-failed class java.lang.Class

However in app billing works

myflashlab commented 6 years ago

We have recently updated the Androidsupport ANE and googlePlay services and firebase dependencies. Make sure you are also using AIR SDK 29+

myflashlab commented 5 years ago

closing this because of inactivity