brendandonovan
BBuildShip
•Created by brendandonovan on 5/2/2024 in #❓・buildship-help
Push notifications with FCM
Thanks @Stu! To clarify, this looks a bit different than just modifying the Inputs section in the FF push notification node. To go about modifying it as you've recommended, what part of the node would I update (Node Logic, Inputs, Output, Info, all of them)? Sorry for the elementary question, still new to Buildship.
10 replies
BBuildShip
•Created by brendandonovan on 5/2/2024 in #❓・buildship-help
Push notifications with FCM
I’m able to fetch the FCM token, which is what FCM uses to send messages to a specific device through APNs (for iOS devices). Would this work or do I need the specific device token? For security purposes Apple may not give me access to this… each user who enables push notifications on their device gets an FCM token which I can fetch like this: import 'package:firebase_messaging/firebase_messaging.dart';
Future<void> getFcmToken() async {
FirebaseMessaging messaging = FirebaseMessaging.instance;
String? fcmToken = await messaging.getToken();
print("FCM Token: $fcmToken");
}
10 replies
BBuildShip
•Created by brendandonovan on 5/2/2024 in #❓・buildship-help
Push notifications with FCM
Unfortunately, the new FlutterFlow update hasn't addressed this issue. It currently only allows badge updates when the app is open, not in the background. My goal is to update the recipients badge one push notification trigger. On Android, the badge count updates automatically for recipients, but on iOS, it does not. @Stu
10 replies