0

Is it possible creating cordova plugin using JavaScript and without Java code. Plugin preferable for Android.

If yes, please tell me how?

1
  • Nop you will have to link javascript to native source that is called plugin. Commented Nov 26, 2016 at 6:11

1 Answer 1

1

Not possible, you should use Java code to create plugin and integrate it using javascript.

An example for creating cordova plugin in Java and calling it in javascript

http://devgirl.org/2013/07/17/tutorial-how-to-write-a-phonegap-plugin-for-android/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.