pushwoosh-cordova-plugin
Version:
This plugin allows you to send and receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).
153 lines (121 loc) • 6.73 kB
text/xml
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pushwoosh-cordova-plugin" version="7.15.2">
<name>Pushwoosh</name>
<description>
This plugin allows you to send and receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).
</description>
<!-- <engines>
<engine name="cordova" version=">=3.1.0" />
</engines> -->
<license>MIT</license>
<repo>https://github.com/Pushwoosh/pushwoosh-phonegap-plugin</repo>
<issue>https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues</issue>
<preference name="LOG_LEVEL" default="DEBUG" />
<preference name="IOS_FOREGROUND_ALERT_TYPE" default="NONE" />
<preference name="ANDROID_FOREGROUND_PUSH" default="false" />
<js-module src="www/PushNotification.js" name="PushNotification">
<clobbers target="plugins.pushNotification" />
</js-module>
<!-- android -->
<platform name="android">
<dependency id="cordova-support-google-services" version="1.2.1" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="com.pushwoosh.log_level" android:value="$LOG_LEVEL" />
<meta-data android:name="com.pushwoosh.foreground_push" android:value="$ANDROID_FOREGROUND_PUSH" />
<meta-data android:name="com.pushwoosh.notification_service_extension" android:value="com.pushwoosh.plugin.pushnotifications.PushwooshNotificationServiceExtension" />
<meta-data android:name="com.pushwoosh.internal.plugin_provider" android:value="com.pushwoosh.plugin.internal.PhonegapPluginProvider" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PushNotification">
<param name="android-package" value="com.pushwoosh.plugin.pushnotifications.PushNotifications" onload="true" />
</feature>
</config-file>
<source-file src="src/android/src/com/pushwoosh/plugin/pushnotifications/PushNotifications.java"
target-dir="src/com/pushwoosh/plugin/pushnotifications" />
<source-file src="src/android/src/com/pushwoosh/plugin/pushnotifications/InboxUiStyleManager.java"
target-dir="src/com/pushwoosh/plugin/pushnotifications" />
<source-file src="src/android/src/com/pushwoosh/plugin/pushnotifications/PushwooshNotificationServiceExtension.java"
target-dir="src/com/pushwoosh/plugin/pushnotifications" />
<source-file src="src/android/src/com/pushwoosh/plugin/internal/PhonegapPluginProvider.java"
target-dir="src/com/pushwoosh/plugin/internal" />
<framework src="com.google.firebase:firebase-core:(+,17.0.0)" />
<framework src="com.google.firebase:firebase-messaging:(+,19.0.0)" />
<framework src="com.android.support:support-v4:27.+" />
<framework src="com.android.support:appcompat-v7:27.+" />
<framework src="com.android.support:recyclerview-v7:27.+" />
<framework src="com.android.support:design:27.+" />
<framework src="com.android.support.constraint:constraint-layout:1.0.2" />
<framework src="com.github.bumptech.glide:glide:4.7.1" />
<framework src="org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.60" />
<framework src="com.pushwoosh:pushwoosh:5.15.1"/>
<framework src="com.pushwoosh:pushwoosh-amazon:5.15.1"/>
<framework src="com.pushwoosh:pushwoosh-badge:5.15.1"/>
<framework src="com.pushwoosh:pushwoosh-inbox:5.15.1"/>
<framework src="com.pushwoosh:pushwoosh-inbox-ui:5.15.1"/>
</platform>
<!-- ios -->
<platform name="ios">
<framework src="Security.framework" />
<framework src="Storekit.framework" />
<framework src="CoreLocation.framework" />
<framework src="libstdc++.dylib"/>
<framework src="libz.dylib"/>
<config-file target="config.xml" parent="/*">
<feature name="PushNotification">
<param name="ios-package" value="PushNotification"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="Pushwoosh_LOG_LEVEL">
<string>$LOG_LEVEL</string>
</config-file>
<config-file target="*-Info.plist" parent="Pushwoosh_ALERT_TYPE">
<string>$IOS_FOREGROUND_ALERT_TYPE</string>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Debug.plist">
<string>development</string>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Release.plist">
<string>production</string>
</config-file>
<header-file src="src/ios/PushNotification.h" target-dir="ios"/>
<source-file src="src/ios/PushNotification.m" target-dir="ios"/>
<header-file src="src/ios/PWBackward.h" target-dir="ios"/>
<source-file src="src/ios/PWBackward.m" target-dir="ios"/>
<header-file src="src/ios/Pushwoosh.framework/Versions/A/Headers/PushNotificationManager.h" target-dir="ios"/>
<header-file src="src/ios/Pushwoosh.framework/Versions/A/Headers/PWInAppManager.h" target-dir="ios"/>
<header-file src="src/ios/Pushwoosh.framework/Versions/A/Headers/PWGDPRManager.h" target-dir="ios"/>
<header-file src="src/ios/PWLog.h" target-dir="ios"/>
<header-file src="src/ios/PushwooshInboxUI.framework/Versions/A/Headers/PushwooshInboxUI.h" target-dir="ios"/>
<header-file src="src/ios/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxStyle.h" target-dir="ios"/>
<header-file src="src/ios/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxUI.h" target-dir="ios"/>
<source-file src="src/ios/Pushwoosh.framework/Versions/A/libPushwoosh.a" framework="true"/>
<source-file src="src/ios/PushwooshInboxUI.framework/Versions/A/libPushwooshInboxUI.a" framework="true"/>
<resource-file src="src/ios/PushwooshInboxBundle.bundle" />
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="PushNotification">
<param name="wp-package" value="PushNotification"/>
</feature>
</config-file>
<config-file>
<access origin="*.pushwoosh.com" />
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
<Capability Name="ID_CAP_IDENTITY_DEVICE"/>
</config-file>
<source-file src="src/wp8/PushNotification.cs" />
<framework src="src/wp8/PushSDK/Newtonsoft.Json.dll" custom="true" />
<framework src="src/wp8/PushSDK/PushSDK.dll" custom="true" />
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/PushwooshPluginProxy.js" name="PushwooshPluginProxy">
<merges target="" />
</js-module>
<framework src="src/windows/PushSDK/Newtonsoft.Json.dll" custom="true" />
<framework src="src/windows/PushSDK/PushSDK.winmd" custom="true" />
</platform>
</plugin>