HiAnalyticsInstance.AAID returning null value
Kwiyos opened this issue · comments
I've tried to run HiAnalyticsDemo with my own project id and agconnect-services.json and it worked, the event is showing in HMS Console App debugging page.
However I can't get it to work on my own project somehow, I've followed the guides step by step and also referencing the codes from HiAnalyticsDemo but its not working.
One thing that I noticed thought, is that the AAID value from HiAnalyticsInstance object is actually null when I try to run it in my project (when I debug from HiAnalyticsDemo its not null)
Any idea what's causing this to happen?
Thank in advance
Helllo,
Can you please send the detailed output? And also did you use any other HMS or AGC NuGet in your project?
Helllo,
Can you please send the detailed output? And also did you use any other HMS or AGC NuGet in your project?
Hi,
Not sure which output you need and how do I get it
The other NuGet I used are
-Huawei.Hms.Safetydetect
-Huawei.Hms.Push
-Huawei.Agconnect.Crash
First, please do following in Visual Studio;
- Tools –> Options –>Xamarin
- Set the Xamarin Diagnostics output verbosity to Diagnostics
After run the project and getting null to AAID, copy output from the Output window to a txt file and send here please.
First, please do following in Visual Studio;
- Tools –> Options –>Xamarin
- Set the Xamarin Diagnostics output verbosity to Diagnostics
After run the project and getting null to AAID, copy output from the Output window to a txt file and send here please.
First, please do following in Visual Studio;
- Tools –> Options –>Xamarin
- Set the Xamarin Diagnostics output verbosity to Diagnostics
After run the project and getting null to AAID, copy output from the Output window to a txt file and send here please.
Can you copy and send debug output please?
First, please do following in Visual Studio;
- Tools –> Options –>Xamarin
- Set the Xamarin Diagnostics output verbosity to Diagnostics
After run the project and getting null to AAID, copy output from the Output window to a txt file and send here please.
Can you copy and send debug output please?
Opps, my bad
There's a lots of stuff in Debug output so I just try to copy what I thought is relevant
Hello, I tried with the same plugins in a new application and got the AAID successfully. Did you apply these steps correctly:
And also please make sure that you have enabled AndroidManifestMerger.