PHPfox-Official / phpfox-v4-feature-requests

phpFox Feature Request Tracker https://phpfox.com
6 stars 12 forks source link

Offline mode for native apps - Realm database #804

Open jwpwhite opened 5 years ago

jwpwhite commented 5 years ago

I have done some testing of the demo iOS app and noticed that app does not open if a user is offline. Rather than open, it defaults to the server address screen. I assume this or something similar would also occur for a production app?

We are keen to adopt the phpFox native app and add our customisations. Our platform is however aimed at users that will often be in remote places with little or no mobile coverage so we need the phpFox apps to open and allow users to record/post our custom content even when the users are offline. The idea would then be for this content to sync once the user is back online.

Right now, the most important requirement for us is for the phpFox native apps to at least open without erroring out or being directed to a login screen when they are offline.

Further down the line, I think that the apps and phpFox community would benefit from apps what work well with poor reception or when offline. The development industry describes this as the Offline-First app development.

We have done a lot of research into this and Realm Platform's “live object” approach and embedded database seems to be the best solution to the problem. your apps can deliver a great experience — with or without a signal. Realm's realtime sync functionality provides a great experience — with or without a signal and ensures that data is accessible and conflicts are resolved when signal connectivity is restored.

More info about the Realm database here: https://realm.io/products/realm-database

jwpwhite commented 5 years ago

Hi @harrison05
Any updates on this?

harrison05 commented 5 years ago

We will support offline mode in the future.

Regards.

Twiub commented 4 years ago

Make it soon, having bad slow rating from users. Atleast home feed to open immediately

jwpwhite commented 4 years ago

Hi @harrison05 I see that this feature request has been accepted. Do you have any update regarding implementation?

harrison05 commented 4 years ago

Offline mode is now available on the newest version of phpFox Mobile App.

Regards.

sryn101 commented 4 years ago

@harrison05 even after implementing this (after waiting for more than a year) we still see performance issues, so shouldn't this be considered as an issue and fixed on priority? Please confirm how committed PHPFox is in addressing all performance issues, otherwise even I would like to consider other solutions proposed by @jwpwhite

Note that no matter how many fancy features we add, without performance they are good for nothing... WhatsApp has no fancy features at all, it was simple chat app but never had any performance issues and very user friendly.. so performance is everything in the present world.. Hope we can hear positive response from you..