j0j00 / flutter_liquidcore

Node.js virtual machine for Android and iOS in Flutter.
https://pub.dev/packages/flutter_liquidcore
BSD 2-Clause "Simplified" License
67 stars 16 forks source link

Micro services not working #1

Closed uznomis closed 5 years ago

uznomis commented 5 years ago

I cloned the repo and opened the example folder. I used Android Studio on MacBook to run it on the iOS simulator of Xcode. It compiled and ran and I was able to see that JSContext worked. But the micro service didn't work. When the app first compiled and installed, and I clicked on micro service button the app crashed and exited. I didn't see any error log. Just "Lost connection to device". Later I opened the app and click on micro service button, and it didn't crash but didn't show any results either. I really like this project and hope I can get an answer for this issue. Thanks!

j0j00 commented 5 years ago

Thanks for taking an interest in the project.

As a background, I don't have a Mac device to work with, so I've been working off a Mac Virtual machine using VMWare Workstation. It's quite slow and annoying to work with, so I'd rather not install Android Studio and all its dependencies in order to test this behaviour. I do all the Android testing on Windows.

I can however confirm that it works just fine in XCode: image I just went into flutter_liquidcore/example/ios and ran pod update so that I had the latest version.

Is this your first time using flutter? I find it difficult to see how a crash would've occurred without giving you a stacktrace somewhere on the system.

Can you try running it from Xcode instead or finding a way to get a stacktrace? It's difficult to diagnose the issue without any information.

j0j00 commented 5 years ago

Closing due to lack of activity. Feel free to reopen if you have any further information.

LiorRabin commented 4 years ago

Same thing happens for me, see #8. I'm using a MacBook and Visual Studio, running on iOS simulator.