question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move native-bridge.js into core

See original GitHub issue

Today, 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:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jcesarmobilecommented, Oct 29, 2020

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

0reactions
ionitron-bot[bot]commented, Nov 11, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found