We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2fbd60 + 94b1a4b commit 472c611Copy full SHA for 472c611
src/index.js
@@ -5,7 +5,8 @@ const { RNBranch, RNBranchEventEmitter } = NativeModules
5
import createBranchUniversalObject from './branchUniversalObject'
6
import BranchEvent from './BranchEvent'
7
8
-export const VERSION = '2.2.2'
+const packageFile = require('./../package.json')
9
+export const VERSION = packageFile.version
10
11
export const AddToCartEvent = RNBranch.ADD_TO_CART_EVENT
12
export const AddToWishlistEvent = RNBranch.ADD_TO_WISHLIST_EVENT
0 commit comments