Great to see this app now released officially.
Thinking about a possible Android port: is the part for the backend comms (REST api and token handling) packaged in a library, which could ease a possible porting? In a way, I'm thinking of having a common backend handling while the frontend/UI would need system dependent parts.
Not having looked at the project (since I don't do iOS development), is this something you considered in the app design?
Alles anzeigen
Hi Dot,
There's no library officially provided by Smart. They discuss it, but as any big corporation it might take a while.
You will find a Python library made by DasBasti: https://github.com/DasBasti/pySmartHashtag he created it mostly for his project for Home Assistant: https://github.com/DasBasti/SmartHashtag .
Personally, for Hello # we took example on the work from Marco at https://github.com/marco79cgn/ios-scriptable-widgets . I found it easy to experiment with his script in JavaScript directly in Scriptable on iOS and on Postman (also uses JS)
If what you mean is having a common Backend between android and iOS, I don't think we would be able to create it in Hello # as everything is written directly in Swift and swift UI. While Android requires Library in Java, C++ or Kotlin. A C++ library is too much work for me, sorry and Java and Kotlin don't work on iOS.
If Hello Smart is so slow, we think it's because they use a tool to make apps that works equally on Android and iOS, and their Adobe SDK. Hence slow on both. We are convinced that only a Native app like Hello # can offer the right responsiveness we all want.
We would encourage an Android project to start in native, to make the best of it. Java or Kotlin. And focus on making the Android app the best app.
We can still share good UI ideas, but the core components are too different.
A lot of our coming efforts will be on Widget, Siri Shortcuts, Live Activity.... all those will take a lot of our free time and are really specific for iPhone.
If someone starts a projects on Android, I would gladly help with answering any question and providing advice on what we went through. We can share critical parts of the code in Swift for them to rewrite for Android.
I would suggest to start by showing all the data from the car just to master the access to the API and its signature encryption.
I can share the Car Images and the model names. I made Proxy servers for caching them, so when a car stops being available from smart, we still have the images and names in our DB.