New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-hello-kotlin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-hello-kotlin

![npm](https://img.shields.io/npm/dt/cordova-plugin-hello-kotlin) ![npm](https://img.shields.io/npm/v/cordova-plugin-hello-kotlin) ![GitHub package.json version](https://img.shields.io/github/package-json/v/andreszs/cordova-plugin-hello-kotlin?color=FF6D0

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

npm npm GitHub package.json version GitHub code size in bytes GitHub top language GitHub GitHub last commit

cordova-plugin-hello-kotlin

A simple example of a Cordova plugin that uses Kotlin (instead of Java) to implement the native Cordova plugin interface on Android.

Requirements

  • Cordova Android 9.0.0

Install

Install from NPM:

  cordova plugin add cordova-plugin-hello-kotlin

The plugin will add these settings into your project's config.xml file:

  • GradlePluginKotlinEnabled = true
  • GradlePluginKotlinVersion = 1.5.20

Test method

This sample plugin provides a single hello method added to the cordova.plugins scope.

var onSuccess = function(output){
	console.log(output);
};
var onFailure = function(output){
	console.error(output);
}
cordova.plugins.HelloKotlin.hello("Plugin Test", onSuccess, onFailure);

Test app screenshot

Cordova Kotlin Plugin Test

Keywords

FAQs

Package last updated on 21 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc