Skip to content

Commit 03b6e2c

Browse files
committed
Merge branch 'release/1.2.0'
2 parents 8cb037b + c954983 commit 03b6e2c

File tree

72 files changed

+11078
-1801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+11078
-1801
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules
44
dist
55
# don't lint DemoApp here
66
DemoApp
7+
DemoAppTV

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 1.2.0 (2022-03-25)
2+
--------------------------
3+
Add support for React Native for tvOS (#154)
4+
Bump min RN version supported to v0.65+ (#153)
5+
Add generic type for SelfDescribing event data (#156)
6+
17
Version 1.1.0 (2022-02-07)
28
--------------------------
39
Update mobile tracker dependencies to v3 (#141)

DemoApp/.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
bracketSpacing: false,
3-
jsxBracketSameLine: true,
3+
bracketSameLine: true,
44
singleQuote: true,
55
trailingComma: 'all',
66
arrowParens: 'avoid',

DemoApp/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,10 @@ PODS:
334334
- React-cxxreact (= 0.64.1)
335335
- React-jsi (= 0.64.1)
336336
- React-perflogger (= 0.64.1)
337-
- RNSnowplowTracker (1.1.0):
337+
- RNSnowplowTracker (1.2.0):
338338
- React-Core
339339
- SnowplowTracker (~> 3.0)
340-
- SnowplowTracker (3.0.2):
340+
- SnowplowTracker (3.1.1):
341341
- FMDB (~> 2.7)
342342
- SocketRocket (0.6.0)
343343
- Yoga (1.14.0)
@@ -393,7 +393,7 @@ DEPENDENCIES:
393393
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
394394
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
395395
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
396-
- RNSnowplowTracker (from `../..`)
396+
- "RNSnowplowTracker (from `../node_modules/@snowplow/react-native-tracker`)"
397397
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
398398

399399
SPEC REPOS:
@@ -472,7 +472,7 @@ EXTERNAL SOURCES:
472472
ReactCommon:
473473
:path: "../node_modules/react-native/ReactCommon"
474474
RNSnowplowTracker:
475-
:path: "../.."
475+
:path: "../node_modules/@snowplow/react-native-tracker"
476476
Yoga:
477477
:path: "../node_modules/react-native/ReactCommon/yoga"
478478

@@ -518,8 +518,8 @@ SPEC CHECKSUMS:
518518
React-RCTVibration: 4b99a7f5c6c0abbc5256410cc5425fb8531986e1
519519
React-runtimeexecutor: ff951a0c241bfaefc4940a3f1f1a229e7cb32fa6
520520
ReactCommon: bedc99ed4dae329c4fcf128d0c31b9115e5365ca
521-
RNSnowplowTracker: 98ff44a59945b9469f3c99c7aeb7b11f457909c2
522-
SnowplowTracker: a96fd8819c86c56844f930af372d0f4f92c35472
521+
RNSnowplowTracker: 1e0ac0de5d16775845fcebe7f3d9ad09d59c9c62
522+
SnowplowTracker: b4e69eab9de467ceb649ef85646134ed25c992d1
523523
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
524524
Yoga: a7de31c64fe738607e7a3803e3f591a4b1df7393
525525
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

DemoAppTV/.buckconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
[android]
3+
target = Google Inc.:Google APIs:23
4+
5+
[maven_repositories]
6+
central = https://repo1.maven.org/maven2

DemoAppTV/.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Windows files
2+
[*.bat]
3+
end_of_line = crlf

DemoAppTV/.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native-community',
4+
};

DemoAppTV/.flowconfig

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
[ignore]
2+
; We fork some components by platform
3+
.*/*[.]android.js
4+
5+
; Ignore "BUCK" generated dirs
6+
<PROJECT_ROOT>/\.buckd/
7+
8+
; Ignore polyfills
9+
node_modules/react-native/Libraries/polyfills/.*
10+
11+
; Flow doesn't support platforms
12+
.*/Libraries/Utilities/LoadingView.js
13+
14+
[untyped]
15+
.*/node_modules/@react-native-community/cli/.*/.*
16+
17+
[include]
18+
19+
[libs]
20+
node_modules/react-native/interface.js
21+
node_modules/react-native/flow/
22+
23+
[options]
24+
emoji=true
25+
26+
exact_by_default=true
27+
28+
format.bracket_spacing=false
29+
30+
module.file_ext=.js
31+
module.file_ext=.json
32+
module.file_ext=.ios.js
33+
34+
munge_underscores=true
35+
36+
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
37+
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
38+
39+
suppress_type=$FlowIssue
40+
suppress_type=$FlowFixMe
41+
suppress_type=$FlowFixMeProps
42+
suppress_type=$FlowFixMeState
43+
44+
[lints]
45+
sketchy-null-number=warn
46+
sketchy-null-mixed=warn
47+
sketchy-number=warn
48+
untyped-type-import=warn
49+
nonstrict-import=warn
50+
deprecated-type=warn
51+
unsafe-getters-setters=warn
52+
unnecessary-invariant=warn
53+
signature-verification-failure=warn
54+
55+
[strict]
56+
deprecated-type
57+
nonstrict-import
58+
sketchy-null
59+
unclear-type
60+
unsafe-getters-setters
61+
untyped-import
62+
untyped-type-import
63+
64+
[version]
65+
^0.158.0

DemoAppTV/.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Windows files should use crlf line endings
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
*.bat text eol=crlf

DemoAppTV/.gitignore

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
24+
# Android/IntelliJ
25+
#
26+
build/
27+
.idea
28+
.gradle
29+
local.properties
30+
*.iml
31+
*.hprof
32+
33+
# node.js
34+
#
35+
node_modules/
36+
npm-debug.log
37+
yarn-error.log
38+
39+
# BUCK
40+
buck-out/
41+
\.buckd/
42+
*.keystore
43+
!debug.keystore
44+
45+
# fastlane
46+
#
47+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
48+
# screenshots whenever they are needed.
49+
# For more information about the recommended setup visit:
50+
# https://docs.fastlane.tools/best-practices/source-control/
51+
52+
*/fastlane/report.xml
53+
*/fastlane/Preview.html
54+
*/fastlane/screenshots
55+
56+
# Bundle artifact
57+
*.jsbundle
58+
59+
# CocoaPods
60+
/ios/Pods/

0 commit comments

Comments
 (0)