xamarin / GooglePlayServicesComponents

Other
315 stars 146 forks source link

Firebase Performance Monitoring is not working with Firebase Analytics #290

Open Mushtaq123 opened 4 years ago

Mushtaq123 commented 4 years ago

Xamarin.Android Version (eg: 6.0):

7.1

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Google Play Services Version (eg: 8.4.0):

60.1142.1 and the latest version (71.1740.0)

Describe your Issue:

For Latest Version:

We have already referred the below link and will not be worked for resolving the issue https://github.com/xamarin/GooglePlayServicesComponents/issues/249

For 60.1142.1

We have already referred the below link and will not be worked for resolving the issue https://github.com/xamarin/GooglePlayServicesComponents/issues/172

Steps to Reproduce (with link to sample solution if possible):

  1. Create a new project
  2. Include Firebase Analytics and Performance Monitoring dependencies
  3. Build and deploy the app in your Android Device.
  4. Then Open

Include any relevant Exception Stack traces, build logs, ADB logs:

Please help us to resolve the same.

moljac commented 4 years ago

@Mushtaq123 Did you add Xamarin.Android.ManifestMerger package?

moljac commented 4 years ago

Nuget url (FYI)

https://www.nuget.org/packages/Xamarin.Android.ManifestMerger/1.0.0-preview03

moljac commented 4 years ago

@Mushtaq123

Did you try Android manifest Merger nuget?

Without feedback I will be forced to close this issue.

Mushtaq123 commented 4 years ago

Yes, we have tried Android manifest merger NuGet and still, the issue replicates.

Please share if you have any samples to use Firebase Analytics and Firebase performance monitoring together for Xamarin.Android

rgustavsson commented 4 years ago

@moljac how long is the Xamarin.Android.ManifestMerger package intended to be in preview?

moljac commented 4 years ago

@rgustavsson I don't know. Not a decision merger (maker).

moljac commented 4 years ago

@Mushtaq123 @rgustavsson

No nuget package needed. We have moved this feature into the core of the Android build system.

https://docs.microsoft.com/en-us/xamarin/android/release-notes/10/10.2#improved-android-manifest-merging

All you need is to add:

<PropertyGroup>
  <AndroidManifestMerger>manifestmerger.jar</AndroidManifestMerger>
</PropertyGroup>

to your project[s] that reference GPS-FB packages.

Please report if this helps @Mushtaq123

Mushtaq123 commented 4 years ago

We have tried the above-mentioned point and the issue highlighted issue is not occurring. but still, network monitoring is not working. Please help us to use both firebase plugins together.

Mushtaq123 commented 4 years ago

Dear Team,

Can we get an update on this issue? Also, suggest that the issue may work based on AndroidX or the latest version of the play services.

moljac commented 4 years ago

@Mushtaq123

Providing a minimal up to date repro sample would help a lot. Could you, please? Thanks

000bravvo commented 2 years ago

Hi, I'm getting the same issue as above. I tried all the solutions given but nothing worked. Can someone please update a solution or any workaround available? Thanks