billyrudi Active Member Licensed User Longtime User Nov 29, 2022 #1 hi with bx4x 12 and sdk 33 i have this error java.lang.RuntimeException: Unable to create service com.xxx.firebasemessaging: java.lang.RuntimeException: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.xx. Make sure to call FirebaseApp.initializeApp(Context) first.
hi with bx4x 12 and sdk 33 i have this error java.lang.RuntimeException: Unable to create service com.xxx.firebasemessaging: java.lang.RuntimeException: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.xx. Make sure to call FirebaseApp.initializeApp(Context) first.
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2022 #2 1. Check your manifest editor: https://www.b4x.com/android/forum/threads/67692/#content 2. Check the firebase libraries versions. They should be 3.00. Upvote 0
1. Check your manifest editor: https://www.b4x.com/android/forum/threads/67692/#content 2. Check the firebase libraries versions. They should be 3.00.
billyrudi Active Member Licensed User Longtime User Nov 30, 2022 #3 Erel this is my app configuration!. The targetSdkVersion is 33!! Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2022 #5 Are you calling FirebaseAnalytics.Initialize when the app starts? Upvote 0
billyrudi Active Member Licensed User Longtime User Nov 30, 2022 #6 ok, now the error is always present BUT i receive push messages only where app is active. if i close it i'm not able to receve firebase messages the same code whith previous sdk and b4x works perfectly!!! Last edited: Nov 30, 2022 Upvote 0
ok, now the error is always present BUT i receive push messages only where app is active. if i close it i'm not able to receve firebase messages the same code whith previous sdk and b4x works perfectly!!!
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2022 #9 billyrudi said: please help me!! Click to expand... 1. Please don't make such posts. 2. Post code and logs as text. 3. Make sure to send the messages with the updated B4J code. Upvote 0
billyrudi said: please help me!! Click to expand... 1. Please don't make such posts. 2. Post code and logs as text. 3. Make sure to send the messages with the updated B4J code.
billyrudi Active Member Licensed User Longtime User Dec 1, 2022 #10 I'm using the last version of b4j with Put("priority", 10) but nothing. When i put the app in backgroung after two or three messagges i rececive fatal exception main as in the picture above! Upvote 0
I'm using the last version of b4j with Put("priority", 10) but nothing. When i put the app in backgroung after two or three messagges i rececive fatal exception main as in the picture above!
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2022 #11 Start a new thread. Post the error as text. Upvote 0