hypertrack-sdk-react-native 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [8.2.0] - 2022-09-23
8
+ ### Changed
9
+ - Updated Android SDK to 6.3.0 and iOS SDK to 4.13.0
10
+ - When the Android app is uninstalled completely from the device and then installed back, the device_id will change. This improves the stability of the data coming from the SDK. Now this behavior is the same between Android SDK and iOS SDK.
11
+ - If the user simulates locations when it's prohibited, the SDK still passes real locations through if there are any.
12
+ - Decreased the time sensitivity for first location detection. Results in fewer `location_unavailable` outages when tracking starts on Android.
13
+
14
+ ### Fixed
15
+ - Now, all logs in Android SDK are disabled by default and can be enabled by enableDebugLogging()
7
16
 
8
17
  ## [8.1.0] - 2022-08-30
9
18
  ### Changed
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # React Native HyperTrack SDK
2
2
 
3
- ![GitHub](https://img.shields.io/github/license/hypertrack/sdk-react-native.svg) ![npm](https://img.shields.io/npm/v/hypertrack-sdk-react-native.svg) ![iOS SDK](https://img.shields.io/badge/iOS%20SDK-4.12.4-brightgreen.svg) ![Android SDK](https://img.shields.io/badge/Android%20SDK-6.2.2-brightgreen.svg)
3
+ ![GitHub](https://img.shields.io/github/license/hypertrack/sdk-react-native.svg) ![npm](https://img.shields.io/npm/v/hypertrack-sdk-react-native.svg) ![iOS SDK](https://img.shields.io/badge/iOS%20SDK-4.13.0-brightgreen.svg) ![Android SDK](https://img.shields.io/badge/Android%20SDK-6.3.0-brightgreen.svg)
4
4
 
5
5
  [HyperTrack](https://www.hypertrack.com) lets you add live location tracking to your mobile app. Live location is made available along with ongoing activity, tracking controls and tracking outage with reasons.
6
6
 
@@ -28,7 +28,7 @@ Join our [Slack community](https://join.slack.com/t/hypertracksupport/shared_in
28
28
 
29
29
  - android
30
30
  - android/build.gradle
31
- - DEFAULT_HYPERTRACK_SDK_VERSION
31
+ -
32
32
  - ios
33
33
  - hypertrack-sdk-react-native.podspec
34
34
  - s.dependency 'HyperTrack/Objective-C', '**version**'
@@ -43,3 +43,18 @@ Join our [Slack community](https://join.slack.com/t/hypertracksupport/shared_in
43
43
  7. Create a release
44
44
  - Release title should be the current version tag
45
45
  8. npm publish
46
+
47
+ ### How to change build config
48
+
49
+ Change Android build config in `android/gradle.properties`
50
+
51
+ ### Old React Native versions specifics:
52
+
53
+ #### Android
54
+
55
+ - Gradle version should be 6.7.1 or higher
56
+ - compileSdkVersion should be 31 or higher
57
+
58
+ #### iOS
59
+
60
+ - Platform version should be 12.4 or higher
@@ -2,5 +2,5 @@ HyperTrackSdk_kotlinVersion=1.7.0
2
2
  HyperTrackSdk_minSdkVersion=23
3
3
  HyperTrackSdk_targetSdkVersion=30
4
4
  HyperTrackSdk_compileSdkVersion=31
5
- HyperTrackSdk_HyperTrackSDKVersion=6.2.2
5
+ HyperTrackSdk_HyperTrackSDKVersion=6.3.0
6
6
  android.useAndroidX=true
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
18
18
  s.source_files = "ios/**/*.{h,m,mm,swift}"
19
19
 
20
20
  s.dependency "React-Core"
21
- s.dependency 'HyperTrack/Objective-C', '4.12.4'
21
+ s.dependency 'HyperTrack/Objective-C', '4.13.0'
22
22
 
23
23
  # Don't install the dependencies when we run `pod install` in the old architecture.
24
24
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>HyperTrackSdk.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypertrack-sdk-react-native",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -57,7 +57,7 @@
57
57
  "@commitlint/config-conventional": "^17.0.2",
58
58
  "@react-native-community/eslint-config": "^3.0.2",
59
59
  "@release-it/bumper": "^4.0.0",
60
- "@release-it/conventional-changelog": "^5.0.0",
60
+ "@release-it/conventional-changelog": "^5.1.0",
61
61
  "@types/jest": "^28.1.2",
62
62
  "@types/react": "~17.0.21",
63
63
  "@types/react-native": "0.68.0",
@@ -71,10 +71,10 @@
71
71
  "pod-install": "^0.1.0",
72
72
  "prettier": "^2.0.5",
73
73
  "react": "18.0.0",
74
- "react-native": "0.69.1",
74
+ "react-native": "0.70.0",
75
75
  "react-native-builder-bob": "^0.18.3",
76
- "release-it": "^15.0.0",
77
- "typedoc": "^0.23.2",
76
+ "release-it": "^15.4.1",
77
+ "typedoc": "^0.23.14",
78
78
  "typedoc-plugin-merge-modules": "^3.1.0",
79
79
  "typedoc-plugin-rename-defaults": "^0.6.1",
80
80
  "typescript": "^4.5.2"