Open toby78 opened 7 years ago
Until recently, this was not possible. Now that Firebase has implemented Cloud Functions, you could tap into Firebase Realtime Database Triggers and perform logic.
This laravel-firebase-sync
project could also include the JavaScript file for the Firebase Cloud Function. Since there isn't a package.json
file yet, one could be created for the "JavaScript" portion of the package.
Any Ideas if the package will support this ?
+1
If:
The local db and firebase will be out-of-sync.
For true syncronization there needs to be an additional event handler for firebase events.
As mentioned inthe previous ticket 100% synchronization probably required Firebase to be Master.
Firebase Events will always be called if changes occur.