nativescript-community / capacitor-plugins Goto Github PK
View Code? Open in Web Editor NEWCommunity plugin for `NativeScript for Capacitor`
Community plugin for `NativeScript for Capacitor`
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
Hi ,
Nothing happens when i do native.openViewModal ,
It send only notif in logcat .
Can u help Me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.