-
Notifications
You must be signed in to change notification settings - Fork 3
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
Electrode Native package inconsistency #1
Comments
FYI: Tried to downgrade electrode native & ios version but didn't effect the results |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Expected Behavior
Project is being created successfully. After creating the project, run
ern run-ios
should boot mobile emulator and start the app.Current Behavior
Instead of booting up the project it throws the following errors to terminal. When I inspect the iOS runner, electrode-native's native code (objective-c) is throwing following errors.
Possible Solution
Maybe we can consider working with other third-party tools or native solutions for combining native code and react-native code.
iOS E.g: https://reactnative.dev/docs/communication-ios
Android E.g: https://reactnative.dev/docs/communication-android
Steps to Reproduce
(Before start, made sure cocapods and XCode CLI Tools installed correctly)
electrode-native
cli withnpm install -g electrode-native
.ern create-miniapp teknasyon-assesment-miniapp
.ern run-ios
in root directory.Detailed Description
Currently, the issues in electrode-native itself a huge blocker for this case since
it's not even booting up the project I created with
ern create-miniapp
command and didn't touch a single line of template. I did try to modify objective-c code but it didn't solve the error.I assume Electrode Native is not being used so often (referring to npm downloads: https://www.npmjs.com/package/electrode-native). We definitely should consider alternative ways to implement this functionality since electrode-native itself is not working properly.
Also a key point: They're not maintaining this project properly, their GitHub repo has many issues that is not being solved (https://github.com/electrode-io/electrode-native/issues).
Possible Implementation
If we're not planning to use Electron Native's other functionalities (like Containerising, API's, linking multiple miniapps etc.) maybe we can implement react-native's suggested combining native code and react-native solutions.
Conclusion
I wouldn't rely on Electrode Native in use-cases for production scenarios because:
The text was updated successfully, but these errors were encountered: