Android Question Firebase Messaging example app woes...

james_sgp

Active Member
Licensed User
Longtime User
Hi,
I`m testing out using FCM, I have created everything as per the instructions (i think), but it just isn`t working.

1. Carefully follow Erel`s tutorial - Check
2. Confirm B4A package name matches JSON package_name - Check
3. Added 3 lines into Manifest (only using FCM) - Check
4. Added API key into B4J Sender app (which says send successful) - Check

I`ve been scanning the forum for many hours and still can`t seem to find what I`m fundamentally doing wrong.

B4A 9.80
SDKManager 3.62 - all Recommenced installed

In my filtered logs I`m seeing this:
B4X:
Logger connected to: ce04171445948ce10c
--------- beginning of crash
--------- beginning of main
** Service (service1) Destroy **
*** Service (service1) Create ***
** Service (service1) Start **
PackageAdded: package:dsa.pushtest
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
17
** Activity (main) Pause, UserClosed = false **
PackageAdded: package:dsa.pushtest
** Activity (main) Create, isFirst = false **
** Activity (main) Resume **
17
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
17
PackageAdded: package:dsa.pushtest
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (sleep)
running waiting messages (1)
** Activity (main) Resume **
17
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
17
** Service (service1) Destroy **
** Activity (main) Pause, UserClosed = false **
--------- beginning of system
 

Attachments

  • Test App.zip
    9.8 KB · Views: 150

james_sgp

Active Member
Licensed User
Longtime User
B4J logs all look good say sent successfully...
In a last ditched attempt, I`m doing a re-install of B4A+Libraries, Android SDK, etc...
 
Upvote 0

james_sgp

Active Member
Licensed User
Longtime User
Ok, good news...
Re-installing everything worked, so either something was missing or out-dated and not giving any errors.
 
Upvote 0
Top