Closed dylman123 closed 4 years ago
Look at implementing Websockets via Firebase DB: https://medium.com/swlh/using-firebase-to-provide-real-time-notifications-2f86b2f7d499
Need to save JSON data to DB rather than to Storage
deleteAudio() is being called too quickly. Need to learn how to synchronise asynchronous functions: https://medium.com/swift2go/synchronysing-the-asynchronous-in-swift-3f91a32bfb1b
This is the tutorial I am after: https://www.youtube.com/watch?v=JHqxmBFrWl8
Need to write to Firestore:
Need to set up Firebase Cloud Messaging for iOS:
Registered for Apple Developer program $149USD per year. This will allow me to import an Apple certificate into Firebase so that I can configure FCM
Had some trouble getting FCM to work. Will stick to short polling for now. And can come back and enable FCM at some later stage.
Originally posted by @dylman123 in https://github.com/dylman123/open-captions-maker-swift/issues/19#issuecomment-619852956