This repo is now deprecated in favor of separated repos for each network; Cordova 7 no longer supports subfolders.
Here is a list of the other repositories:
The rest of the repo will be left alone for users still utilizing it, but all future updates will occur on the above.
This repository contains simple wrapper plugins for third party SDKs to use with the Heyzap Cordova Plugin. The plugins in the indivdual folders simply add the third party sdks to both the iOS and Android platform projects in your Cordova project, along with the appropriate dependencies and permissions.
Installation instructions can be found in the plugins' individual READMEs within each folder.
Please visit our documentation page for guides on how to integrate the Heyzap SDK along with other third-party SDKs to your Cordova app.
Download the appropriate iOS and Android third party sdks from the Heyzap's Android Setup Guide and iOS Setup Guide. The downloaded SDKs for each platform will go into the src/ios/
and src/android/
folders respectively for the plugin.
Sometimes the newer versions of the SDKs might have additional dependencies or permissions that did not exist in the previous versions. To add these dependencies and permissions to your Cordova project, the plugin's plugin.xml
file will have to be modified.
Additional tags regarding iOS dependencies/permissions should be inside the
<platform name="ios">
tag in plugin.xml
.
Third-party dependencies should be copied over to the plugin's src/ios/
folder. These dependencies can then be added to the plugin by adding the appropriate source-file
, header-file
/resource-file
and framework
tags. Cocoa framework dependencies can be added by adding the appropriate framework
tags. See the Cordova Plugin Specification for more info.
Notes:
-
.a
libraries can be added withsource-file
tags with theframework
attribute set to"true"
. i.e.<source-file src="src/ios/library.a" framework="true" />
-
.bundle
and any additional files inside.embeddedframework/Resources/
folders can be added with theresource-file
tag.
####Android Modications
Additional tags regarding iOS dependencies/permissions should be inside the <platform name="android">
tag in plugin.xml
.
Third-party dependencies should be copied over to the plugin's src/android/
folder. The dependencies can then be added to the plugin by adding the appropriate source-file
tags. Android SDK dependencies can be added by adding the appropriate framework
tags.
Additional Android manifest permissions for the SDK and their dependencies can be added within the
<config-file target="AndroidManifest.xml" parent="/*">
tag and manifest activities can be added within the
<config-file target="AndroidManifest.xml" parent="/manifest/application">
tag. See the Cordova Plugin Specification for more info.