Today's video I have talked about how simple it is to store cache of the Firebase Database, in case the user goes offline, they still can access to the cached database, then read and write data into the database as usual.
Just get started by typing this after the FIRApp.configure() line in the didFinishLaunchingWithOptions method in the AppDelegate Class:
// Import Statements
import FirebaseDatabase
// Code
FIRDatabase.database().persistenceEnabled = true
Link to Firebase documentation: https://firebase.google.com/docs/database/ios/offline-capabilities
Help fund my channel on Paypal: http://bit.ly/2c2uq0y
Great deals on Amazon: https://www.amazon.com/shop/influencer-4e0c513b
Shop on Amazon using our affiliate link: http://amzn.to/2bgofns
Shop on NewEgg using our affiliate link: http://bit.ly/2nvjVf3
Get a hosting on Bluehost: http://www.bluehost.com/track/techcoderx
Backup your computer with Backblaze: https://secure.backblaze.com/r/01p50l
Shop on Book Depository using our affiliate link: http://www.bookdepository.com/?a_aid=techcoderx-22
Follow me on Twitter: http://www.twitter.com/techcoderx
Check me out on eBay: http://www.ebay.com.my/usr/tianx0
Follow me on Google+: https://plus.google.com/u/0/110488612892506930385/posts
Contact me on LinkedIn: https://my.linkedin.com/in/eng-tian-xi-3b5b9943
My gear list: https://kit.com/TechCoderX/techcoderx-s-gear-list
Contribute to TechCoderX in cryptocurrency:
ETN: etnk4J6QBtcMew6Xn9PfqNErWdrsj1y4MhTK6knausRi5wgc9eiHhuT5kmHHLVfeWSLgJ4otYa6GFYvWy5eGvEcw6Jcphq4urR
ETH: 0xb446D2E6AA9BE5A844A5D447c36dDB2A5Eeb81b7
▶️ DTube
▶️ IPFS
Hey, my name is M3, and I'm giving you an upvote, and a subscribe. Me and my community of followers are trying to kill YouTube, and make DTube bigger and better than any other video site. YouTube doesn't reward creators like they deserve, so we're all helping each other out. Anyway, keep going! What we're doing really is the way of the future.``
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the upvote and subscribe without watching a second of the video! I was affected by the YPP policy change so I ditched YouTube and moved onto DTube. I'm still new to here and trying to host the IPFS node but it seems that it's not working right now. Note that this is the reupload of my YouTube video.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit