kco-mobile-sdk
Version:
Simple integration of Klarna Checkout into hybrid iOS and Android apps
45 lines • 2.31 kB
text/xml
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="kco-mobile-sdk"
version="1.5.0">
<name>KlarnaCheckout</name>
<description>Simple integration of Klarna Checkout into hybrid Cordova-based iOS and Android apps</description>
<license>Apache 2.0</license>
<keywords>klarna,checkout,cordova</keywords>
<author>Klarna (https://www.klarna.com/)</author>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="KlarnaCheckout">
<param name="ios-package" value="KlarnaCheckoutPlugin"/>
<param name="onload" value="true" />
</feature>
<preference name="KeyboardDisplayRequiresUserAction" value="false" />
</config-file>
<header-file src="cordova/KlarnaCheckoutPlugin.h" />
<source-file src="cordova/KlarnaCheckoutPlugin.m" />
<resource-file src="ios/KlarnaCheckout.framework/Resources/KlarnaCheckout.bundle" />
<framework src="ios/KlarnaCheckout.framework" custom="true" />
<framework src="UIKit.framework" />
<framework src="WebKit.framework" />
<framework src="Security.framework" />
<framework src="CFNetwork.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="JavaScriptCore.framework" weak="true" />
<framework src="Contacts.framework" weak="true" />
<framework src="SafariServices.framework" weak="true" />
<framework src="SystemConfiguration.framework" weak="true" />
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="KlarnaCheckout">
<param name="android-package" value="com.klarna.checkout.KlarnaCheckoutPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="cordova/KlarnaCheckoutPlugin.java" target-dir="src/com/klarna/checkout" />
<resource-file src="android/klarna-checkout.aar" target="libs/klarna-checkout.aar" />
<framework src="android/klarna-checkout.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>