neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 57 forks source link

Native API method not implemented #169

Closed Bichwaa closed 4 months ago

Bichwaa commented 2 years ago

I'm trying to write a custom exension for SQlite3 and after following through the instructions on how to set up communication between extensions and the app, I end up with a promise rejection error when I try to send a message to the extension. My best effort to figure it out leave me with the error message: "Unhandled Promise Rejection: extensions.getStats is not implemented in the Neutralinojs server". the error is also given the code "NE_RT_NATNTIM".

How do I work around this?

Sadaf-A commented 6 months ago

I'm trying to write a custom exension for SQlite3 and after following through the instructions on how to set up communication between extensions and the app, I end up with a promise rejection error when I try to send a message to the extension. My best effort to figure it out leave me with the error message: "Unhandled Promise Rejection: extensions.getStats is not implemented in the Neutralinojs server". the error is also given the code "NE_RT_NATNTIM".

How do I work around this?

Hey, I just checked and the function is defined and exposed in neutralinojs server

Sadaf-A commented 6 months ago

Hey @shalithasuranga! This issue is quite old and the function has been implemented now I think we can close this issue

shalithasuranga commented 4 months ago

Closing this issue. We can re-open this if the issue reporter has the same issue with the latest Neutralinojs framework version :tada: