OnceHub is an end-to-end scheduling solution that makes it simple for businesses to interact with prospects and customers at every stage of the customer lifecycle.
Cloud Firestore is a cloud-hosted, NoSQL database that your iOS, Android, and web apps can access directly via native SDKs.
Cloud Firestore IntegrationsOnceHub + Cloud Firestore
Create Cloud Firestore Document from Cloud Firestore from Scheduled Booking to OnceHub Read More...OnceHub + Cloud Firestore
Create Cloud Firestore Document from Cloud Firestore from Canceled Booking to OnceHub Read More...OnceHub + Cloud Firestore
Create Cloud Firestore Document from Cloud Firestore from Rescheduled Booking to OnceHub Read More...OnceHub + Cloud Firestore
Create Cloud Firestore Document from Cloud Firestore from No Show Booking to OnceHub Read More...OnceHub + Cloud Firestore
Create Cloud Firestore Document from Cloud Firestore from Completed Booking to OnceHub Read More...It's easy to connect OnceHub + Cloud Firestore without coding knowledge. Start creating your own business flow.
Triggers when a booking status is changed to one of the following: Scheduled, Rescheduled, Canceled, Completed, or No-show.
Triggers when a booking is canceled.
Triggers when a booking is completed.
Triggers when the status of a booking is changed to No-show.
Triggers when a booking is rescheduled.
Triggers when a new booking is scheduled.
New Document Within a Firestore Collection
Creates a new document within a Cloud Firestore collection.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
OnceHub is a fitness and wellness achievement tracker app. The app has the ability to track fitness and wellness achievements such as running, walking, jogging, biking, weight lifting, etc. OnceHub also has the ability to compare achievements with friends and other users in the community. Cloud Firestore allows OnceHub to use its offline data persistence without having to worry about syncing the data when the device is online.
Firebase Cloud Firestore is a NoSQL document database for mobile and web apps with offline support and realtime data synchronization. It’s a fully managed and automatically scalable database and is designed for both speed and ease of use. It’s built on the same technpogy that powers Firebase Realtime Database, with support for SQL-like queries, auto-generated indexes, and offline sync with support for transactions.
OnceHub was able to integrate Google Firestore by fplowing these steps:
Integrate the Google Cloud Platform SDK into the Xcode project. Add the fplowing code into the AppDelegate.m file:
#import <Google/Cloud/Core/Firestore.h> @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // ... [[GCPFirestore defaultInstance] init]; return YES; } - (BOOL. application:(UIApplication *. application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings { [[GCPFirestore defaultInstance] registerUserNotificationSettings:[UIUserNotificationSettings notificationSettingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge)]]; return YES; } - (BOOL. application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { [[GCPFirestore defaultInstance] handleRemoteNotifications]; return YES; } - (void)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { NSLog(@"%@", url); [[GCPFirestore defaultInstance] handleURL:[NSURL URLWithString:url.absputeString]]; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 #import <Google/Cloud/Core/Firestore.h> @implementation AppDelegate - ( BOOL . application . ( UIApplication * . application didFinishLaunchingWithOptions . ( NSDictionary * . launchOptions { // ... [[ GCPFirestore defaultInstance ] init ] ; return YES ; } - ( BOOL . application . ( UIApplication * . application didRegisterUserNotificationSettings . ( UIUserNotificationSettings * . notificationSettings { [[ GCPFirestore defaultInstance ] registerUserNotificationSettings . [ UIUserNotificationSettings notificationSettingsForTypes . ( UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge . ] ] ; return YES ; } - ( BOOL . application . ( UIApplication * . application didReceiveRemoteNotification . ( NSDictionary * . userInfo { [[ GCPFirestore defaultInstance ] handleRemoteNotifications ] ; return YES ; } - ( void . application . ( UIApplication * . application openURL . ( NSURL * . url sourceApplication . ( NSString * . sourceApplication annotation . ( id . annotation { NSLog ( @"%@" , url . ; [ [ GCPFirestore defaultInstance ] handleURL . [ NSURL URLWithString :url . absputeString ] ] ; }
Create a new class called “FCMWantsToShareData” and replace the contents of it with the fplowing:
#import <Google/Firebase/Messaging.h> @interface FCMWantsToShareData . NSObject<GCPFirebaseMessageShareable> @end 1 2 3 4 5 6 #import <Google/Firebase/Messaging.h> @interface FCMWantsToShareData . NSObject < GCPFirebaseMessageShareable > @end
Add this newly created class to your iOS app:
[[GCPFirestore defaultInstance] storeReference:@"FCMWantsToShareData" withValue:@{@"uid":uid, @"token":token} completionHandler:^(NSError * _Nullable error, id result. { if (!error. { self.myDatabase = result[0]; NSLog(@"%@", result[0]); } else { NSLog(@"%@", error); } }]; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [[ GCPFirestore defaultInstance ] storeReference . @"FCMWantsToShareData" withValue . @ { @"uid" :uid , @"token" :token } completionHandler . ^ ( NSError * _Nullable error , id result . { if ( ! error . { self . myDatabase = result [ 0 ] ; NSLog ( @"%@" , result [ 0 ] . ; } else { NSLog ( @"%@" , error . ; } } ] ;
The integration of OnceHub and Cloud Firestore is beneficial in the fplowing ways:
The process to integrate 403 Forbidden and 403 Forbidden may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.