From 61091a5b66754c0fc469a932c58b74b72703af1f Mon Sep 17 00:00:00 2001 From: Henry Porter Date: Thu, 16 Feb 2023 11:29:02 +0000 Subject: [PATCH 1/2] update .npmignore --- .npmignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 57ce1f8..b0cd5fc 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,7 @@ .git *.tgz -/example \ No newline at end of file +/example +.yarn +.yarnrc.yml +.gitattributes +package \ No newline at end of file From cb27259d93d86a93db643fce72834c4f52256637 Mon Sep 17 00:00:00 2001 From: Henry Porter Date: Tue, 21 Feb 2023 14:39:18 +0000 Subject: [PATCH 2/2] v2.0.3 (#46) Ensure iOS queuePriority is background --- .npmignore | 2 +- ios/QubitSDKModule/QubitSDKModule.swift | 3 +-- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.npmignore b/.npmignore index b0cd5fc..6429049 100644 --- a/.npmignore +++ b/.npmignore @@ -4,4 +4,4 @@ .yarn .yarnrc.yml .gitattributes -package \ No newline at end of file +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",