Firebase notifications "tied" to one App

The place to discuss anything and everything about running your LiveCode on Android

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

simon.schvartzman
Posts: 305
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Firebase notifications "tied" to one App

Post by simon.schvartzman » Fri Jul 12, 2019 7:05 pm

HI sphere, thank you for sharing your standalone settings. Here are mine:
ss2.jpg
The main differences I see are:
  • You are using LC 9.0.5 (I've tried and made no difference)
  • Your minimum Android Version is 7.1 while mine is 6.0 (that's the device I have available)
  • I'm not using a key to sign
  • I'm loading to a physical device instead of using the emulator
Are you able to identify any other thing that could be causing the trouble?

Anyway many thanks for your efforts to help me, moving forward I'll be chasing Panos & Company regarding the bug report...
Simon
________________________________________
To ";" or not to ";" that is the question

sphere
Posts: 864
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Firebase notifications "tied" to one App

Post by sphere » Fri Jul 12, 2019 9:52 pm

Hi Simon,

the screen of me was lc950dp1, but it should not matter.
Also it should not matter the version of Android as i test on 4.4.2 & 8.1 and previous on a Android 6.
A sign key should also not matter for testing.
I tested both on real devices and emulator, on both a key should appear.
Also the minimum Android i previous used was 4.3.0 and also worked.

So mus be something different we are unable to lay our finger on. But i'm almost sure it's not lc904/lc903 as i used these versions too, and it worked.

Hopefully they will check your addition to the report and figure out what it could be. Maybe you have to send your test stack.

Regards,
Sphere
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

simon.schvartzman
Posts: 305
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Firebase notifications "tied" to one App

Post by simon.schvartzman » Mon Jul 22, 2019 7:48 pm

Just to close the thread as it may be helpful for future readers, the whole problem was related with the use of the answer command as explained by Panos in the following post

https://quality.livecode.com/show_bug.cgi?id=21259
Simon
________________________________________
To ";" or not to ";" that is the question

sphere
Posts: 864
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Firebase notifications "tied" to one App

Post by sphere » Mon Jul 22, 2019 9:24 pm

yeah i've read it.
But it's a bit strange, because you had the problem already without the answer command, which was just to see if the token was there or not.
Although the solution Panos gave is a non blocking one, it's still strange why it did not work in the first place, even without the answer command.

I'm going to use the solution from Panos too as it is non blocking)may i get such issue for a next project), but i never had problems using the answer command just to check for the token. (the token is already created and after creation shown).

But if it's working for you now, then it's ok :)
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

simon.schvartzman
Posts: 305
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Firebase notifications "tied" to one App

Post by simon.schvartzman » Mon Jul 22, 2019 9:30 pm

Hi sphere, yes I agree with you, but after more than a week hitting my head into the wall, now that it works I will let it be without any further discussions...

Best!
Simon
________________________________________
To ";" or not to ";" that is the question

sphere
Posts: 864
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Firebase notifications "tied" to one App

Post by sphere » Mon Jul 22, 2019 9:41 pm

Never change/argue a working system :mrgreen:

Tchau!
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

Post Reply

Return to “Android Deployment”