Hello 3Speak & Hive Community members,
With this post, I'll talk about the development progress I am making on this new feature "OFFLINE USAGE".
My Previous Posts about data saving
- This post talk about how to save data by disabling autoplay
- And this post talks about saving mobile data by changing different settings
Offline Usage
- Now, offline usage is equally important.
- You use the internet to maximum when you've wifi, download the videos you wish to play later.
- Just so you know, I'm aware of this need & acknowledge the feedback given by the community members.
Development details
- Just for your information, we're using Flutter SDK with Dart Programming language to build mobile application.
- Everything I do is completely open source & available for community to use.
- You can find source code available here - https://github.com/spknetwork/Android-app
Package info
- We're using
flutter_downloader
package for offline usage. - That's a plugin for creating and managing download tasks.
- Fortunately, it supports both iOS and Android.
- So far it is working as expected on Android.
- Even after following necessary steps for adding iOS Support, we've not yet achieved it.
What steps did I follow to enabled offline support on iOS?
Background modes
We've enabled background modes & in that we've enabled Background Fetch & Remote Notifications as illustrated below.
SQLite3
We've also added SQLite3 to keep track of downloaded files as instructed by flutter_downloader
package.
App Transport Security
Some of the podcast may be on HTTP. So, we need to disable ATS. We've also added following to disable ATS in Info.plist
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Stuck?
- Yep. It seems like we're stuck here.
- Even after implementing all necessary steps for implementing downloader, we're not able to save data offline.
- I'm working on fixing it & I believe that with your well wishes, I'll be able to make it working soon.
What do you think?
- What do you think about these offline feature?
- Do you think we need one?
- Did you encounter any other bugs when trying app? Please share.
How to download the latest 3Speak Mobile App App?
- Download latest version of the app to get the latest features of the app
- iOS Users - https://apps.apple.com/in/app/3speak/id1614771373
- Android users - https://play.google.com/store/apps/details?id=tv.threespeak.app
Any other suggestions for 3Speak App?
- Do you have any suggestion / Feedback / comment, please do share.
- I will take a note of it & work on it whenever I get chance.
Who am I?
- I'm a Hive Witness
- 3Speak App Developer
- I also contributed to mobile-app for HiveAuth
- Founder of HiveCurators Community - @hive-185924/@hivecurators
Support me
- Please upvote my content to motivate me.
- Do you like the work I do?
- Do you want me to keep going?
- Please Reblog
- Please help me connect with more communities
- Please vote me as Hive Witness
Vote me as Hive Witness
About the SPK Network:
The SPK Network is a decentralised Web 3.0 protocol that rewards value creators and infrastructure providers appropriately and autonomously by distributing reward tokens so that every user, creator, and platform can earn rewards on a level playing field.
- Check out the SPK Network Light Paper: https://peakd.com/hive/@spknetwork/spk-network-light-paper
- Our Website: https://spk.network/
- Telegram Group: https://t.me/spknetwork
- Discord Server: https://discord.gg/JbhQ7dREsP
- SPK Network Link-tree: https://linktr.ee/spknetwork
Yay! 🤗
Your content has been boosted with Ecency Points, by @sagarkothari88.
Use Ecency daily to boost your growth on platform!