Can another developer extract and reuse my native plugin from a cordova app?

寵の児 提交于 2019-12-11 04:05:15

问题


I am creating a native plugin to use with my cordova app for some security specific functions (encryption / decryption etc). Can another developer extract the plugin from my app and use it ?

This is my first cordova app, so I don't fully understand how everything works yet.

EDIT: In iOS - I will write the plugin in C++ & Objective-c In Java, I will use JNI to access the C++.

Will the C++ source be viewable ?


回答1:


Yeah, i have not done it myself but im pretty sure you can extract any apk file

e.g. how to extract code of apk file

e.g. http://www.decompileandroid.com/

I know that developers can create a "shell" of an app that once is downloaded will then dynamically download the rest of the app.

Hope it helps!



来源:https://stackoverflow.com/questions/32431172/can-another-developer-extract-and-reuse-my-native-plugin-from-a-cordova-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!