iOS App
-
I’m an Android developer, I have thought about doing an app but just haven’t had the time.
To be honest I can usually just glance at my printer to see the status, have my computer on or just load dwc on my iPad. So haven’t really felt the need to make an app.
-
@patakopecek that’s not entirely true. The watch thing you are right about. Modern web applications can be highly optimised for use in mobile browsers and now DWC has been rebuilt in Vue.js the performance should be vastly improved. The zooming/scrolling behaviour of websites on mobile browsers can all be controlled if the page is setup in the required way.
A huge amount of the apps out there are not true native apps. A lot of them use other technologies such as web JavaScript frameworks and they are either then compiled to run native machine code or wrapped to appear as a native app.
-
@richardmckenna what language do you use? If you would use react native or something like it it would be super easy to port over to iOS, and if the data would be acessible in variables it would be easy to make a watch extension
-
@richardmckenna yeah, you can optimize it and it was optimized a lot compared to DWC1 but it will never be as good as a native app optimalization wise, because the browsers do not allow it
-
@chrishamm woudl you add this to the website code? <meta name="apple-mobile-web-app-capable" content="yes" /> I am not familiar with vuejs but I will learn it eventually
-
@patakopecek For Android I did use Java but switched to Kotlin last year. For web applications I generally use Vue.js and Firebase nowadays.
-
@richardmckenna oh really? I heard that kotlin is very easy to port over to swift
-
@patakopecek yeah they are very similar languages. I love the fact that Kotlin is so interchangeable with Java.
-
@patakopecek - this is something I have been playing with as a background project to learn iOS programming. My goal was to replicate the look and feel of the paneldue display as an app.
Motivation is threefold, one I don’t want to pay £50+ for the display when I can use the DWC (with inconveniences as my PC is never near my printer) , two - I have lots of old iPhones lying round and. Three I was interested to see how hard it is to write an app
It’s slow going as I can’t allocate any time to it (also building a new Delats printer and that is more fun). I’ll post photos once I can move it forward to a prototype.
-
@jim would you mind sharing the progress? I maybe could help a little bit
-
@patakopecek Yes, I can add it to DWC2-RC4.
There is already an app for Android which does an mDNS broadcast in order to discover Duet WiFi boards on the local network but once you select a machine, it only displays the web interface in a web view. mDNS support on the DuetM and Duet Ethernet still needs to be implemented.