diff --git a/.npmignore b/.npmignore index 57ce1f8..6429049 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,7 @@ .git *.tgz -/example \ No newline at end of file +/example +.yarn +.yarnrc.yml +.gitattributes +package diff --git a/ios/QubitSDKModule/QubitSDKModule.swift b/ios/QubitSDKModule/QubitSDKModule.swift index e6a597f..6718d64 100644 --- a/ios/QubitSDKModule/QubitSDKModule.swift +++ b/ios/QubitSDKModule/QubitSDKModule.swift @@ -3,7 +3,6 @@ // QubitSDKModule // // Created by Michał Balawajder on 09/12/2019. -// Copyright © 2019 Facebook. All rights reserved. // import Foundation @@ -14,7 +13,7 @@ class QubitSDKModule: NSObject { @objc(init:logLevel:) func `init`(trackingId: String, logLevel: String) { - QubitSDK.start(withTrackingId: trackingId, logLevel: QBLogLevel.logLevel(from: logLevel)) + QubitSDK.start(withTrackingId: trackingId, logLevel: QBLogLevel.logLevel(from: logLevel), queuePriority: .background) } @objc(sendEvent:eventBody:) diff --git a/package.json b/package.json index 3444d9f..0aa2369 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qubit-sdk-react-native", - "version": "2.0.1", + "version": "2.0.3", "description": "React Native bridge for using native Qubit SDK libraries on iOS and Android", "main": "./dist/index.js", "types": "./dist/index.d.ts",