New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin.Firebase.iOS.Analytics not logging session_start until event triggered. #156

Closed
ilanolkies opened this Issue May 31, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@ilanolkies
Copy link

ilanolkies commented May 31, 2018

I created a simple app with Xamarin.Forms, and I'm trying to log session_start event.
This event should be sent automatically with App.Configure() but it's not happening until an event is raised.

For example:
This logs nothig: (not even session_start, first_open, etc.)

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App());

     Firebase.Core.App.Configure();

     return base.FinishedLaunching(app, options);
}

but this logs everything...

{
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App());

     Firebase.Core.App.Configure();
     Firebase.Analytics.Analytics.LogEvent("app_open", null);

     return base.FinishedLaunching(app, options);
}

No exception is thrown.
Using XCode simulators.
Xamarin.Forms version: 3.0.0.482510
Xamarin.Firebase.iOS.Analytics version: 4.0.5.1, all needed packages installed.

@ilanolkies ilanolkies changed the title Xamarin.Firebase.iOS.Analytic not logging session_start until event triggered. Xamarin.Firebase.iOS.Analytics not logging session_start until event triggered. May 31, 2018

@SotoiGhost

This comment has been minimized.

Copy link
Member

SotoiGhost commented Aug 31, 2018

Hi @ilanolkies! Sorry for the late response on this. I have just created a new Xamarin.Forms app, added Firebase Analytics right out of the box and everything seems to be working as expected, on simulator and on a device. Here's a screenshot of the events logged:

  • Simulator

  • Device

Can you, please, update to the latest version and try to see if everything is working as expected on your side? Thanks in advance!

Best,
Israel Soto.

@ilanolkies

This comment has been minimized.

Copy link
Author

ilanolkies commented Aug 31, 2018

@SotoiGhost I’ll try it and tell you ASAP! Thanks.

@newky2k

This comment has been minimized.

Copy link
Contributor

newky2k commented Sep 17, 2018

no response for over two weeks, closing

@newky2k newky2k closed this Sep 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment