Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

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

34 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
  • Observer

  • 23 posts
  • Corona SDK

hey guys! any luck with the issue?



[TOPIC: post.html]
#27

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,997 posts
  • Corona SDK

Our engineering team is still working on it.

 

Rob



[TOPIC: post.html]
#28

mitsik

[GLOBAL: userInfoPane.html]
mitsik
  • Observer

  • 23 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

  • 24,997 posts
  • Corona SDK

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

  • 24,997 posts
  • Corona SDK

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,765 posts
  • Enterprise

I am investigating

[TOPIC: post.html]
#35

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 530 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_controls]
Page 2 of 2 1 2
 
[/topic_controls]