Firebase Analytics and Push Notifications

@Scott, because the newest Corona notifications uses Firebase, the failure of your Firebase plugin on Android 8+ was the reason for my last post. Please do not be offended by my question related to the notifications. To be more clear, unless we can properly populate Firebase via your plugin on Android 8+, the Corona notifications will not work. We verified this morning that all works fine on iOS and Android <8.0. This is why two plugins are related.

^ I don’t have android 8.0 device so can not check this :(. It may be the firebase version which I can not change in my plugin. I don’t think I have the means to fix this. I want to do more but based on your specific problem there is very little I can do. I only have 6.0 and 5.0 android device I test on. Honestly this is the only complaint I have gotten so far so I don’t know if setup issue. If you can give me any error messages from logs that would be helpful

@troylyndon since I did not manage to run FB Analytics and PNs like we wanted we decided to not use Firebase PNs.

@ScottH, I sent you 3 PMs to make provision to get you a device. Please respond when you can.

I just responed

hey guys! any luck with the issue?

Our engineering team is still working on it.

Rob

maybe it will help somehow…

I don’t receive push notifications when I use Firebase Analytics + One Signal plugin…

and other issue is that I don’t receive launchArgs ( global … ) in main.lua when I open my app with registered app URL ( via CFBundleURLSchemes ex. myapp://  ).

without Firebase Analytics everything works great

Same problem here. firebaseAuth.init() and notifications.registerForPushNotifications(…) dont work together, no matter which one gets called first (even in different scenes).

Wow, this is a major issue and I hope engineers can get this fixed soon.

Rob, any new information here?

Our engineers are still working on an issue with Firebase based notifications (FCM). I don’t know how much of this particular issue is related to that. I’d hope Scott can chime in here a bit more.

Rob

Thanks Rob. I can send push notifications to both iOS and Android devices using FCM no problem. But as soon as I use Robs plugin (edit: Scott’s plugin :slight_smile: )and call firebaseAuth.init(), calling registerForPushNotifications doesnt work anymore.

It seems like whatever is called first (firebaseAuth.init() or notifications.registerForPushNotifications({useFCM = true}) wins the battle.

Crossing my fingers this gets ressolved soon!

You mean Scott’s plugin?

Argh, my bad :slight_smile:

Scott: Is there any chance you implement s.th. like firebaseAuth.remove as a counterpart to firebaseAuth.init() ?

I only need your plugin for registering new users. Having an option to undo whatever init() did might allow to call notifications.* stuff in other scenes. Just an idea :slight_smile:

I am investigating

Please do, @Scott, as this problem still hasn’t been resolved since we reported it over a month ago.

@Scott

Hello.

I would like to ask about Corona’s Firebase settings.

I configured Firebase Analytics based on this link (https://scotth.tech/plugin-firebaseAnalytics), but nothing is displayed on the Firebase Analytics dashboard.

Is it necessary to set it to a different place?

I think that English is strange. Please tell me …

@Scott and @Rob, does the Firebase Analytics plugin (from Scott) finally play nice with Corona’s notifications v2 yet?

Devil Squid’s Rene posted this topic, I reported the same issues CoronaChris and perhaps others have reported the conflict of running both of these at the same time.

As a result, our apps don’t use Firebase Analytics plugin anymore. Are you guys working together to solve this?

I’m unaware of any updates to either of these plugins.

Rob

It’s now almost April 2019, so does anyone know if Scott H and Corona have made the changes necessary for his Firebase plugin and Corona’s Notifications v2 plugin to play nice and no longer conflict?

I don’t believe we have worked on the V2 plugin since getting to Android 64 bit is our priority and the plugins all have to get re-worked after that.

Rob