Skip to content
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

Testing out FFI on Mobile #4

Open
2 tasks
itamadev opened this issue Oct 8, 2022 · 11 comments
Open
2 tasks

Testing out FFI on Mobile #4

itamadev opened this issue Oct 8, 2022 · 11 comments
Labels
bug Something isn't working

Comments

@itamadev
Copy link
Owner

itamadev commented Oct 8, 2022

Overview

Testing the FFI on mobile devices apart of the Flutter Supported Platforms

Platforms

@itamadev itamadev added the bug Something isn't working label Oct 8, 2022
@itamadev itamadev assigned itamadev and unassigned itamadev Oct 8, 2022
@prologic
Copy link

prologic commented Oct 8, 2022

cc @mearaj for our Mobile App for Salty.im -- If we can get this going, we can finally build a nice UI/UX in Flutter with a Go backend 👌 (as a library, without having to rewrite things in Dart 😅)

@itamadev
Copy link
Owner Author

itamadev commented Oct 8, 2022

cc @mearaj for our Mobile App for Salty.im -- If we can get this going, we can finally build a nice UI/UX in Flutter with a Go backend 👌 (as a library, without having to rewrite things in Dart 😅)

That sounds amazing!
I'm thinking about taking this small idea and elevating it into a more refined and robust package/module for Golang and Flutter (Dart) integration, if you'd (@prologic) be interested in something like that I'd really like to hear about it,
that's awesome either way!

@prologic
Copy link

prologic commented Oct 8, 2022

cc @mearaj for our Mobile App for Salty.im -- If we can get this going, we can finally build a nice UI/UX in Flutter with a Go backend 👌 (as a library, without having to rewrite things in Dart 😅)

That sounds amazing! I'm thinking about taking this small idea and elevating it into a more refined and robust package/module for Golang and Flutter (Dart) integration, if you'd (@prologic) be interested in something like that I'd really like to hear about it, that's awesome either way!

This would be totally amazing! 🙇‍♂️ This is the only thing stopping us from creating a first-class Mobile App for the Salty.im messaging protocol (e2e encrypte decentralized sed and inspired by Twtxt and the IndieWeb).

If you managed to do this part, I am 100% confident we can get a really good Mobile App out in no time 🥳

@itamadev
Copy link
Owner Author

itamadev commented Oct 8, 2022

cc @mearaj for our Mobile App for Salty.im -- If we can get this going, we can finally build a nice UI/UX in Flutter with a Go backend 👌 (as a library, without having to rewrite things in Dart 😅)

That sounds amazing! I'm thinking about taking this small idea and elevating it into a more refined and robust package/module for Golang and Flutter (Dart) integration, if you'd (@prologic) be interested in something like that I'd really like to hear about it, that's awesome either way!

This would be totally amazing! 🙇‍♂️ This is the only thing stopping us from creating a first-class Mobile App for the Salty.im messaging protocol (e2e encrypte decentralized sed and inspired by Twtxt and the IndieWeb).

If you managed to do this part, I am 100% confident we can get a really good Mobile App out in no time 🥳

Awesome 💯
I'll be sure to keep you updated here about this current bug 🐛

And when there is a more dedicated project for this idea I'll update it here.

@prologic
Copy link

How are we going this this effort? 🤔

@itamadev
Copy link
Owner Author

I've been testing this a bit and had some success running the app on Android, I still want to try some other approaches to fixing this, when this #8 PR is resolved I'd probably say you can test using it again and we'll go from there.

Might have to do some specific configurations just for running on IOS.

@prologic
Copy link

Let me know if you need me to test on iOS -- I'm setup with XCode and have an Apple Developer account and iPhone(s) 👌

@itamadev
Copy link
Owner Author

Sounds good, I'll update here when this needs testing

@prologic
Copy link

@itamadev Any progress on this? 🤞

@itamadev
Copy link
Owner Author

Hey! been some time since I've had time to dabble with this, to be honest, but I think over the weekend I might be able to put some hours into this, I think I have some solution to this, but I still need some testing to do 😸

@itamadev
Copy link
Owner Author

Hey, sorry for this issue taking so long, I've had some pretty busy days at work 😎,

I've been trying to devise a way to use FFI in a generic approach to fix this problem but it looks like iPhone and Android phones have to use different logic for this to work.
I'll try to see if I have to implement some switch for this that checks what machine the code runs on.

For a more realistic timeline I'll try WASM compilation which should be way better for this and should be better to implement, I'll shortly create some issues and start implementing this solution soon (hopefully).

I'll be sure to update my progress on this repo 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants