Gemechis
ยทSoftware Engineer

Push Notification with Custom Auth? Is that possible?

Database & APIs

Our project uses custom authentication with our backend. At the final stage of development, we wanted to enable push notifications. We subscribed to OneSignal, paid for their services, and added the credentials to FlutterFlow. However, due to FlutterFlow's limitations, we were forced to connect the project to Firebase. Consequently, we subscribed to the Firebase Blaze plan.

Now, FlutterFlow is requiring us to enable Firebase Auth, which seems completely nonsensical. If we are forced to use Firebase, why does FlutterFlow even include OneSignal as an option? I have successfully used push notifications with OneSignal in regular Flutter projects without connecting to Firebase.

Push notifications are working on Android without enabling the Firebase Auth option in FlutterFlow. However, they are not working on iPhones. This is a significant issue since push notifications are a key feature of our app. How can we bypass this limitation?

What have you tried so far?

1. I tried to export project to XCode, but we have error while building the app. (error: Package google_api_headers:ios references google_api_headers:ios as the default plugin, but it does not provide an inline implementation.)

2. I was tried to enable firebase Auth then implement Anonymous login, to use it with our backend, but that is very costly we ahve 200+ error in app while shifting from Custom Auth to Firebase

Did you check FlutterFlow's Documentation for this topic?
Yes
2