Skip to content

Commit

Permalink
update with latest
Browse files Browse the repository at this point in the history
  • Loading branch information
aaustin committed Jun 21, 2016
1 parent cd925e3 commit 745cf45
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
5 changes: 5 additions & 0 deletions NPMdeployment.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
NPM deployment

1. comment out iOS framework in plugin.xml
2. change header file references of Cordova iOS libs from <Branch/Branch.h> to "Branch.h"
3. remove "../Fabric" from all Fabric related imports
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.1.4",
"version": "2.1.5",
"name": "branch-cordova-sdk",
"description": "Branch Metrics Cordova SDK",
"main": "www/branch.js",
Expand Down Expand Up @@ -34,5 +34,12 @@
"plist": "^1.2.0",
"rimraf": "^2.5.2",
"xml2js": "^0.4.16"
},
"devDependencies": {
"mkpath": "^1.0.0",
"node-version-compare": "^1.0.1",
"plist": "^1.2.0",
"rimraf": "^2.5.2",
"xml2js": "^0.4.16"
}
}
22 changes: 11 additions & 11 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="io.branch.sdk"
version="2.1.4">
version="2.1.5">

<name>branch-cordova-sdk</name>
<description>Branch SDK Plugin</description>
Expand Down Expand Up @@ -104,9 +104,16 @@ SOFTWARE.
<source-file src="src/ios/BranchSDK.m" />
<source-file src="src/ios/AppDelegate+BranchSdk.m" />
<!-- COMMENT if building for NPM -->
<framework custom="true" src="src/ios/dependencies/Branch.framework" />
<!-- <framework custom="true" src="src/ios/dependencies/Branch.framework" /> -->
<!-- UNCOMMENT if building for NPM -->
<!-- <header-file src="src/ios/dependencies/Branch-SDK/BNCConfig.h" />
<header-file src="src/ios/dependencies/Fabric/ANSCompatibility.h" />
<header-file src="src/ios/dependencies/Fabric/Answers.h" />
<header-file src="src/ios/dependencies/Fabric/FABAttributes.h" />
<header-file src="src/ios/dependencies/Fabric/FABKitProtocol.h" />
<header-file src="src/ios/dependencies/Fabric/Fabric.h" />
<header-file src="src/ios/dependencies/Fabric/Fabric+FABKits.h" />

<header-file src="src/ios/dependencies/Branch-SDK/BNCConfig.h" />
<header-file src="src/ios/dependencies/Branch-SDK/BNCCallbacks.h" />
<header-file src="src/ios/dependencies/Branch-SDK/BNCContentDiscoveryManager.h" />
<source-file src="src/ios/dependencies/Branch-SDK/BNCContentDiscoveryManager.m" />
Expand Down Expand Up @@ -153,13 +160,6 @@ SOFTWARE.
<header-file src="src/ios/dependencies/Branch-SDK/BNCDeviceInfo.h" />
<source-file src="src/ios/dependencies/Branch-SDK/BNCDeviceInfo.m" />

<header-file src="src/ios/dependencies/Fabric/ANSCompatibility.h" />
<header-file src="src/ios/dependencies/Fabric/Answers.h" />
<header-file src="src/ios/dependencies/Fabric/FABAttributes.h" />
<header-file src="src/ios/dependencies/Fabric/FABKitProtocol.h" />
<header-file src="src/ios/dependencies/Fabric/Fabric.h" />
<header-file src="src/ios/dependencies/Fabric/Fabric+FABKits.h" />
<header-file src="src/ios/dependencies/Branch-SDK/Requests/BNCServerRequest.h" />
<source-file src="src/ios/dependencies/Branch-SDK/Requests/BNCServerRequest.m" />
<header-file src="src/ios/dependencies/Branch-SDK/Requests/BranchApplyPromoCodeRequest.h" />
Expand Down Expand Up @@ -195,6 +195,6 @@ SOFTWARE.
<header-file src="src/ios/dependencies/Branch-SDK/Requests/BranchUserCompletedActionRequest.h" />
<source-file src="src/ios/dependencies/Branch-SDK/Requests/BranchUserCompletedActionRequest.m" />
<header-file src="src/ios/dependencies/Branch-SDK/Requests/BranchValidatePromoCodeRequest.h" />
<source-file src="src/ios/dependencies/Branch-SDK/Requests/BranchValidatePromoCodeRequest.m" /> -->
<source-file src="src/ios/dependencies/Branch-SDK/Requests/BranchValidatePromoCodeRequest.m" />
</platform>
</plugin>
2 changes: 1 addition & 1 deletion testbed/init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
cordova platform add ios android

cordova plugin add ../ --link --variable BRANCH_KEY=key_live_fnmRM1FXtu11t6e4LU8WsldpvDcA0bzv --variable URI_SCHEME=testbed
cordova plugin add ../ --variable BRANCH_KEY=key_live_fnmRM1FXtu11t6e4LU8WsldpvDcA0bzv --variable URI_SCHEME=testbed

# Include this plugin if you want to run a unit-test for the plugin
# cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework.git
Expand Down

0 comments on commit 745cf45

Please sign in to comment.