Replies: 3 comments 6 replies
-
We have support for notifications, there is a proof of concept for camera support, BT has an open PR being developed, and location is likely next. Any features we add will work across all platforms which is indeed extra work but we are solving those problems to save pain for app developers.
Any other features can be added with device specific code if developers want - these apps are not "boxed in".
That is correct - it promotes open source apps to advance people's learning. Closed source apps are out there as well - though we don't have permission to promote them all. You could see the mobile app for shells.com or the app builder being created at https://fynelabs.com/creating-an-app-builder/. There are many commercial apps and some of the US Fortune 500 companies are using Fyne.
The core aim of Fyne is to be an easy to use toolkit for platform-agnostic apps. Working everywhere is the most important concept, adding platform features comes second to that. As I said above you can access all native APIs as well as the Fyne APIs if you desire so nothing is impossible. |
Beta Was this translation helpful? Give feedback.
-
I do not know the details, but in a nutshell: The app uses the local OS services to register with the remote service. The registration results in a unique id. The back end needs to know that id and uses the id to send messages to the remote service which passes them to the device. The local OS receives notifications and informs the app. In most cases, like React Native, there are libraries available for registering with a remote service. See for example: https://www.npmjs.com/package/react-native-push-notification or a for more general cross platform, cross channel solution: https://documentation.onesignal.com/. Onesignal had a Golang SDK for the back end (server) but not for the client. It is probably relatively easier to write only one Golang Mobile Client SDK against their internal SDK. Or maybe just ask them to add one ;) The app first needs explicit permission from Apple (nowadays Google/Android as well I think) and from the user (an OS popup) before notifications can be received. |
Beta Was this translation helpful? Give feedback.
-
Removing support for something just because it is missing functionality seems very counter intuitive and won't get us anywhere. More help to improve the mobile support and implement missing functionality is a lot more helpful. |
Beta Was this translation helpful? Give feedback.
-
Some personal thoughts while I am investigating compiling Fyne cross platform for a commercial application (incl mobile) that I have in mind.
I came to realize the mobile versions do not support any mobile specific features at all? So the only reason to choose Fyne for mobile is re-use of code. While at the same time blocking off (easy) access to any mobile features, like camera, photos, notifications, geo location, BT, NFC, payments, contacts, etc, etc. Actually, I think that access is the main reason why a developer would make the choice to build a native app? A 'boxed in' mobile app is even worse than having a website, because a web browser does give access to many mobile features and offers the option of making a Progressive Web App.
It is unfortunate the 'app showcase page' by design does not show any commercial applications. Cross platform or not. It makes me think Fyne is in a commercially way mainly used for in-house applications? You should show how developers can make money by showing how others are now making money. Developers making money will support you.
Supporting the desktop versions seems already demanding and the mobile world is moving faster than Fyne. Strategic thinking is the ability to focus and say 'no' to most ideas.
Beta Was this translation helpful? Give feedback.
All reactions