Code Monkey home page Code Monkey logo

capacitor-plugins's People

Contributors

allcontributors[bot] avatar rdlabo avatar sergeymell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

capacitor-plugins's Issues

Multiple packages, One repository (MonoRepo)

Hello folks,

I was wondering if we can have in this repo something like Lerna or NxDev to create a package for every plugin? Like having a core package and then publish capacitor plugins separately, individually (thinking to scale this project).

What do you think? ๐Ÿ™‚

Best,
Juan

Android platform does not work

I've added android platform to the demo project with the commands

npx cap add android
npx cap sync

according to the documentation

The project runs successfully, however, none of the actions (like change brightness or open native dialog work.

If I attach Android Studio t the process I get next logs after button click

2021-03-14 00:41:28.346 9295-9415/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: -1, pluginId: NativeScriptCap, methodName: notify
2021-03-14 00:41:28.346 9295-9415/io.ionic.starter V/Capacitor: callback: -1, pluginId: NativeScriptCap, methodName: notify, methodData: {"value":"{\"cmd\":1000,\"log\":[\"Getter:\",\"native.openNativeModalView\"]}"}
2021-03-14 00:41:28.352 9295-9415/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: -1, pluginId: NativeScriptCap, methodName: notify
2021-03-14 00:41:28.352 9295-9415/io.ionic.starter V/Capacitor: callback: -1, pluginId: NativeScriptCap, methodName: notify, methodData: {"value":"{\"cmd\":1000,\"log\":[\"Execute:\",\"native.openNativeModalView(\",[],\")\"]}"}
2021-03-14 00:41:28.355 9295-9415/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: -1, pluginId: NativeScriptCap, methodName: notify
2021-03-14 00:41:28.355 9295-9415/io.ionic.starter V/Capacitor: callback: -1, pluginId: NativeScriptCap, methodName: notify, methodData: {"value":"{\"cmd\":1000,\"log\":[\"MARSHALL:\",2,\"openNativeModalView\",[]]}"}
2021-03-14 00:41:28.358 9295-9415/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: -1, pluginId: NativeScriptCap, methodName: notify
2021-03-14 00:41:28.358 9295-9415/io.ionic.starter V/Capacitor: callback: -1, pluginId: NativeScriptCap, methodName: notify, methodData: {"value":"{\"cmd\":1000,\"log\":[\"R:\",\"openNativeModalView\",0,\"\"]}"}
2021-03-14 00:41:28.362 9295-9415/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: -1, pluginId: NativeScriptCap, methodName: notify
2021-03-14 00:41:28.362 9295-9415/io.ionic.starter V/Capacitor: callback: -1, pluginId: NativeScriptCap, methodName: notify, methodData: {"value":"{\"cmd\":1000,\"log\":[\"Send Message\",\"{\\\"cmd\\\":2,\\\"tracking\\\":\\\"R8\\\",\\\"value\\\":\\\"openNativeModalView\\\",\\\"thisArg\\\":\\\"\\\",\\\"parentObject\\\":0,\\\"nextObjID\\\":2,\\\"extra\\\":[]}\"]}"}
2021-03-14 00:41:28.364 9295-9415/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: -1, pluginId: NativeScriptCap, methodName: notify
2021-03-14 00:41:28.364 9295-9415/io.ionic.starter V/Capacitor: callback: -1, pluginId: NativeScriptCap, methodName: notify, methodData: {"value":"{\"cmd\":2,\"tracking\":\"R8\",\"value\":\"openNativeModalView\",\"thisArg\":\"\",\"parentObject\":0,\"nextObjID\":2,\"extra\":[]}"}
2021-03-14 00:41:28.383 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2021-03-14 00:41:28.386 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2
2021-03-14 00:41:28.393 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2021-03-14 00:41:28.394 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2
2021-03-14 00:41:28.403 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2021-03-14 00:41:28.405 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2
2021-03-14 00:41:28.420 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2021-03-14 00:41:28.421 9295-9345/io.ionic.starter D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2

So, it seems to be no error but nothing happens

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.