Move native-bridge.js into core
See original GitHub issueToday, the Capacitor CLI copies native-bridge.js
(and cordova.js
) from node_modules/@capacitor/core
into place as assets in the iOS and Android projects.
For Embedded Capacitor, the Capacitor CLI won’t be used, but we still need this file to be available during runtime.
We plan to integrate this file as part of @capacitor/core
TS library which is now included by plugins and thus will be bundled into apps in the appropriate order.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
native-bridge.jsError: ENOENT: no such file or directory
I've been trying to instal capacitor 3.0, but I keep running into this error ... /Code/spin/node_modules/@capacitor/core/native-bridge.js'.
Read more >Platform-Independent JS->Native Bridge? - Stack Overflow
I'm wondering if something like PhoneGap or Appcelerator provides a way to do this simply; however I don't need their core product (providing...
Read more >An Early Look at Capacitor (A New Native Bridge for Web Apps)
In this article, we take a look at the Ionic team's new project "Capacitor" and how to use it.
Read more >How to create your own native bridge | by Kureev Alexey
What do you know about JavaScript engines? Did you ever try to embed one? In this chapter I'm going to guide you through...
Read more >@buera/native-bridge-core - npm package | Snyk
Unable to verify the project's public source code repository. Advisor · JavaScript packages · @buera/native-bridge-core ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is about the embedded use case, in regular Capacitor apps Cordova plugins will work, in embedded use case it would require some tooling to create and configure the plugins module
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.