-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS app? #15
Comments
As long as the app is created using Flutter i guess it will work on iOS devices. You can follow this guide to install Flutter and then build and install the app. Otherwise you can wait for official news or releases. |
I followed the steps in the link, and when running Is this a known issue? |
Hi @philip-wernersbach, thanks for opening this issue. For me the most important bit of information here is that Offset solves a real world issue for you. About the ios app: I have no experience at all with making ios apps, and have no Apple devices myself at home, so I don't have any way to check compilation for iphone, but I will be happy to make this app run on ios. Theoretically, we are using Flutter, which should be cross platform, so maybe this should work. There are some issues though. First thing to check is this issue: The most important obstacle to making the Offset app work on ios is how to run the Thanks to @kamyuentse About the errors you shown above: you are getting those errors because you are skipping the I am very interested to know about your progress with this. Please tell me if you hit any issues that I might be able to help with. |
Thanks everyone. Offset only provides benefits if you can create a network effect in your circle of peers. IOUs are only useful if you have people to trade them with. Because of this, I think creating a functioning iOS app is essential for Offset adoption. I ran I was able to get Offset running on the iOS simulator by removing all of the code that handles stcompact I/O: https://gist.github.com/philip-wernersbach/9bc5eee1d68d4d0ef16e9202789bd7c5. I verified that the app's logic works in iOS! The next step here is to create a functional stcompact-Flutter FFI integration, per #13. Fortunately, since the code exchanges messages with stcompact via stdin/stdout, a simple integration is possible. The simplest integration would be to wrap stcompact's stdin/stdout code, redirect the stdin reads and stdout writes to in-memory buffers, and then create a C ABI function in Rust that allows Flutter to read and write the buffers. Unfortunately, I don't know Rust. @realcr, are you interested in implementing the Rust portions of this? |
stcompact-Flutter FFI would work on both Android and iOS, so we would not need to maintain the existing stdin/stdout message passing code. |
I am interested in implementing this, but it might take me a while. I don't have any experience with implementing this kind of FFI, and have no ios devices to test if it works at this point. I am busy at the moment at the core protocol parts of the project, hope to be able to get to this issue soon. |
Great! Let me know if you need help with the FFI layer. I’ve worked on a lot of Nim language projects that use FFI with C, so I can lend some non-Rust lang assistance. |
Hi— I'm interested in this as well, and can contribute code to help. I have a lot of experience with shipping Typescript / React-native codebases for iOS, but happy to help in other languages where possible. Is the offset algorithm itself written out in pseudocode / some reference source, so it can be evaluated independently? |
@dsernst : Hey, thanks for the willingness to help!
The old protocol is roughly documented here: https://docs.offsetcredit.org/en/latest/theory/mutual_credit_protocol.html When there is a more stable API I will get to work on externing a reasonable FFI layer, so that anyone can write a mobile application around it. |
I discovered offsetcredit via Hacker News. This solves a real need for me and my group of friends, who have an informal system of trading IOUs, which quickly gets complicated fast.
The only problem is I have an iPhone, and offsetcredit has no advertised iOS app or web app.
Is there an iOS app in development? If not, how can I get involved in making one? I have made small iOS apps in the past.
The text was updated successfully, but these errors were encountered: