Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Firebase Analytics and Push Notifications
Started by DevilSquid – René Dec 07 2017 06:53 AM

40 replies to this topic
[TOPIC CONTROLS]
Page 2 of 2 1 2
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

mitsik

[GLOBAL: userInfoPane.html]
mitsik
  • Enthusiast

  • 32 posts
  • Corona SDK

hey guys! any luck with the issue?



[TOPIC: post.html]
#27

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,801 posts
  • Enterprise

Our engineering team is still working on it.

 

Rob



[TOPIC: post.html]
#28

mitsik

[GLOBAL: userInfoPane.html]
mitsik
  • Enthusiast

  • 32 posts
  • Corona SDK

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



[TOPIC: post.html]
#29

CoronaChris

[GLOBAL: userInfoPane.html]
CoronaChris
  • Contributor

  • 162 posts
  • Corona SDK

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?



[TOPIC: post.html]
#30

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,801 posts
  • Enterprise

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



[TOPIC: post.html]
#31

CoronaChris

[GLOBAL: userInfoPane.html]
CoronaChris
  • Contributor

  • 162 posts
  • Corona SDK

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 :) )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!



[TOPIC: post.html]
#32

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,801 posts
  • Enterprise

You mean Scott's plugin?


  • CoronaChris likes this

[TOPIC: post.html]
#33

CoronaChris

[GLOBAL: userInfoPane.html]
CoronaChris
  • Contributor

  • 162 posts
  • Corona SDK

Argh, my bad :)

 

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 :)



[TOPIC: post.html]
#34

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,797 posts
  • Enterprise

I am investigating

[TOPIC: post.html]
#35

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

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


  • CoronaChris likes this

[TOPIC: post.html]
#36

muta

[GLOBAL: userInfoPane.html]
muta
  • Observer

  • 1 posts
  • Corona SDK

@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 ...


[TOPIC: post.html]
#37

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

@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?



[TOPIC: post.html]
#38

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,801 posts
  • Enterprise

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

 

Rob



[TOPIC: post.html]
#39

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

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?



[TOPIC: post.html]
#40

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,801 posts
  • Enterprise

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



[TOPIC: post.html]
#41

sahil19.sindh

[GLOBAL: userInfoPane.html]
sahil19.sindh
  • Contributor

  • 122 posts
  • Corona SDK

The firebase analytics for me was working properly from last 2 years and now with the latest corona sdk, i have taken the build and it just crashed. Here is the log Report: https://pastebin.com/UbVtY0ME

 

This is the code i have used in the main:

local firebaseAnalytics = require "plugin.firebaseAnalytics"
firebaseAnalytics.init()
firebaseAnalytics.logEvent("Game started", {content_type = "Main", item_id= "Running Fast"}) -- (This is the statement which cause crash)
 
 
This is my plugin call in Build
["plugin.firebaseAnalytics"] = { publisherId = "tech.scotth", },
 
this is inside Android table in build
["google_app_id"]= "1:XXXXXX:android:XXXXXXX" I have written XXXXX for my Id to keep it safe
},
useGoogleServicesJson = true,
 
I am not sure what happens suddenly, i was able to get logs from last 1 year or so but this stopped suddenly and my build on device just crashes.
 
Please help us and solve this issue asap.



[topic_controls]
Page 2 of 2 1 2
 
[/topic_controls]