helpshift-plugin-phonegap
Version:
Plugin for integrating Helpshift's SDK into a Phonegap/Cordova project
121 lines (109 loc) • 5.67 kB
text/xml
<plugin xmlns = "http://www.phonegap.com/ns/plugins/1.0"
id = "helpshift-plugin-phonegap"
version = "1.0">
<name>Helpshift Plugin for Phonegap</name>
<description>Plugin for integrating Helpshift's SDK into a Phonegap/Cordova project</description>
<keywords>Helpshift</keywords>
<engines>
<engine name="cordova-android" version=">=4.0.0" />
<engine name="cordova-ios" version=">=3.8.0" />
</engines>
<js-module src="www/hsplugin.js" name="Helpshift">
<clobbers target="HelpshiftPlugin" />
</js-module>
<platform name="android">
<source-file src="src/android/HelpshiftPlugin.java" target-dir="src/com/helpshift/android" />
<source-file src="src/android/HSJSONUtils.java" target-dir="src/com/helpshift/android" />
<source-file src="src/android/HelpshiftDelegate.java" target-dir="src/com/helpshift/android" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.helpshift.HSConversation"
android:configChanges="orientation|screenSize|locale|layoutDirection"
android:theme="@style/Helpshift.Theme.Activity" />
<activity
android:name="com.helpshift.HSQuestionsList"
android:configChanges="orientation|screenSize"
android:theme="@style/Helpshift.Theme.Activity" />
<activity
android:name="com.helpshift.HSQuestion"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:theme="@style/Helpshift.Theme.Activity" />
<activity
android:name="com.helpshift.HSSection"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:theme="@style/Helpshift.Theme.Activity"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.helpshift.HSFaqs"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:theme="@style/Helpshift.Theme.Activity"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.helpshift.HSReview"
android:configChanges="orientation|screenSize"
android:theme="@style/Helpshift.Theme.Dialog" />
<activity
android:name="com.helpshift.ScreenshotPreviewActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/Helpshift.Theme.Activity" />
<activity
android:name="com.helpshift.SearchResultActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/Helpshift.Theme.Activity" />
<service
android:name="com.helpshift.HSService"
android:label="Helpshift Service" >
</service>
<service
android:name="com.helpshift.HSRetryService"
android:label="Helpshift Service" >
</service>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="HelpshiftPlugin" >
<param name="android-package" value="com.helpshift.android.HelpshiftPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="src/android/nativeSDK" custom="true" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="HelpshiftPlugin">
<param name="ios-package" value="HelpshiftPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/HelpshiftPlugin.h" target-dir="HelpshiftPluginIos"/>
<source-file src="src/ios/HelpshiftPlugin.m" target-dir="HelpshiftPluginIos"/>
<header-file src="src/ios/nativeSDK/Helpshift.h" target-dir="HelpshiftPluginIos"/>
<resource-file src="src/ios/nativeSDK/HSLocalization" target-dir="HelpshiftPluginIos"/>
<resource-file src="src/ios/nativeSDK/HSResources" target-dir="HelpshiftPluginIos"/>
<resource-file src="src/ios/nativeSDK/HSThemes" target-dir="HelpshiftPluginIos"/>
<framework src="AVFoundation.framework"/>
<framework src="CoreData.framework"/>
<framework src="CoreTelephony.framework"/>
<framework src="CoreGraphics.framework"/>
<framework src="CoreText.framework"/>
<framework src="SystemConfiguration.framework"/>
<framework src="libsqlite3.dylib"/>
<framework src="libz.dylib"/>
<framework src="Foundation.framework"/>
<framework src="MobileCoreServices.framework"/>
<framework src="QuartzCore.framework"/>
<framework src="QuickLook.framework"/>
<framework src="Security.framework"/>
<framework src="SystemConfiguration.framework"/>
<framework src="UIKit.framework"/>
<source-file src="src/ios/nativeSDK/libhelpshift.a" target-dir="HelpshiftPluginIos" framework="true"/>
</platform>
</plugin>