android-js / androidjs

Platform to build android app using node js
MIT License
466 stars 109 forks source link

Adding new API (VPN, showOpenDialog, ...) #271

Open ameri110 opened 2 years ago

ameri110 commented 2 years ago

Hi I need to use vpn api in my app but it is not supported by androidjs. Is there a way i can directly use react native api in my app? I saw current apis are loaded from /node_modules/androidjs/lib/androidjs.js which refers to window.android or react-native.NativeModules. But I didn't understand to what file are window.android and react-native.NativeModules refering. Can you give some hints on implementing new apis?