Hi everyone,
I’m facing a strange issue in Kodular and I need some help.
In my project, when I use the OneSignal component, it works fine. However, Firebase Authentication stops working completely.
I tested a few scenarios:
Using OneSignal + Firebase Authentication → OneSignal works, but Firebase Auth does not work
Removing OneSignal → Firebase Auth works again
Using Firebase Cloud Messaging (instead of OneSignal) → same issue happens (Firebase Auth still doesn’t work)
So it seems like whenever I use any notification system (OneSignal or Firebase Cloud Messaging), Firebase Authentication stops working.
Also, due to recent Kodular updates, Firebase Realtime Database is not working properly without Firebase Authentication, which makes things more difficult.
What I need:
A way to use both Firebase Authentication and OneSignal in the same app without conflicts
Or a proper setup/solution if I’m doing something wrong
If this is not possible, then please suggest an alternative way to send push notifications without using OneSignal or Firebase Cloud Messaging
Any help or guidance would be really appreciated. Thanks in advance!
Yeah, its probably a bug. Firebase (FB) isn;t working with onesignal(OS) component. Also, if you remove FB authentication then probably FB RTDB also will not work. The only way to get OS to work is to use Web component for authentication. Below are the blocks:
The main issue here is not that. The actual problem is that, according to Kodular’s new update, in order to use the Firebase Realtime Database component, it is now mandatory to use Kodular’s Firebase Authentication as well.
But if we follow the method you showed, then the Firebase Realtime Database will no longer work properly. Basically, I do not need authentication — I only need Firebase Realtime Database and OneSignal. However, due to Kodular’s new update, Authentication has become required in order to use the Realtime Database component.
None of the options seem to work properly with Firebase Authentication. No matter whether I use FCM or a OneSignal extension, Firebase Authentication stops working after integration. Because of the recent Kodular update, if Firebase Authentication fails, Firebase Realtime Database also stops functioning.
So I’m looking for an FCM or OneSignal solution that works properly alongside both Firebase Authentication and Realtime Database without breaking them.
What I want to know is if there is already any push notification extension that works with the new RTDB component and Firebase Authentication together in the same project?"
Yes. All the conflicting classes have been renamed except some interfaces. These are provided by firebase authentication sdk so you’ll get two versions of extension. One has kodular suffix and is meant to be used only when auth component is there in the project.