UNPKG

@seermedical/cordova-plugin-minew-trackerkit

Version:
87 lines (81 loc) 4.35 kB
<?xml version="1.0" encoding="UTF-8"?> <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="minew-trackerkit" version="2.0.1"> <name>MinewTrackerkit</name> <description></description> <license>MIT</license> <keywords></keywords> <repo>https://github.com/seermedical/cordova-plugin-minew-trackerkit.git</repo> <issue>https://github.com/seermedical/cordova-plugin-minew-trackerkit/issues</issue> <platform name="android" kotlin="1.3.41"> <hook type="after_plugin_add" src="hooks/support-kotlin.js" /> <hook type="after_platform_add" src="hooks/support-kotlin.js" /> <framework src="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.41" /> <apply-plugin>kotlin-android-extensions</apply-plugin> <apply-plugin>kotlin-kapt</apply-plugin> <hook type="before_plugin_rm" src="hooks/on-uninstall.js" /> <hook type="before_plugin_uninstall" src="hooks/on-uninstall.js" /> <js-module src="www/plugin.js" name="plugin"> <runs/> <clobbers target="MinewTrackerkit" /> </js-module> <config-file target="res/xml/config.xml" parent="/*"> <feature name="MinewTrackerkit"> <param name="android-package" value="com.minew.MinewTrackerkit" /> <param name="onload" value="true" /> </feature> </config-file> <config-file target="AndroidManifest.xml" parent="/manifest"> <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> </config-file> <config-file target="AndroidManifest.xml" parent="/manifest/application"> <service android:name="com.minew.ForegroundService" android:enabled="true" android:exported="true" android:stopWithTask="true"> </service> </config-file> <source-file src="src/android/ButtonData.kt" target-dir="app/src/main/java/com/minew" /> <source-file src="src/android/ButtonDataDao.kt" target-dir="app/src/main/java/com/minew" /> <source-file src="src/android/DBWorkerThread.kt" target-dir="app/src/main/java/com/minew" /> <source-file src="src/android/SeerDatabase.kt" target-dir="app/src/main/java/com/minew" /> <source-file src="src/android/ForegroundService.java" target-dir="app/src/main/java/com/minew" /> <source-file src="src/android/MinewTrackerkit.java" target-dir="app/src/main/java/com/minew" /> <framework src="src/android/MinewTrackerkit.gradle" custom="true" type="gradleReference" /> <framework src="./build-extras.gradle" custom="true" type="gradleReference"/> <resource-file src="src/android/libs/MTTrackerKit.aar" target="libs/MTTrackerKit.aar" /> </platform> <!-- ios --> <platform name="ios"> <js-module src="www/plugin.js" name="plugin"> <runs/> <clobbers target="MinewTrackerkit" /> </js-module> <config-file target="config.xml" parent="/*"> <feature name="MinewTrackerkit"> <param name="ios-package" value="MinewTrackerkit" onload="true" /> </feature> </config-file> <header-file src="src/ios/MinewTrackerkit.h" /> <source-file src="src/ios/MinewTrackerkit.m" /> <header-file src="src/ios/NotificationService.h" /> <source-file src="src/ios/NotificationService.m" /> <header-file src="src/ios/AppDelegate+CoreDataService.h" /> <source-file src="src/ios/AppDelegate+CoreDataService.m" /> <source-file src="src/ios/CoreDataService.swift" /> <source-file src="src/ios/Seer.xcdatamodeld" /> <framework src="CoreData.framework"/> <framework src="src/ios/MTTrackit.framework" custom="true" embed="true"/> <dependency id="cordova-plugin-add-swift-support" version="2.0.2"/> </platform> </plugin>