Skip to content

Commit

Permalink
Release/2.0.3 (#76)
Browse files Browse the repository at this point in the history
* Updated import statements (#74)

* Updated import statements

* Update gitignore

* Bug/key checks (#75)

* safeGet

* gitignore android build

* version increments

* Add  to one more place

* Commit file

* module/test fixes

* Update Changelog

Co-authored-by: christinasund <christina.sund@tealium.com>
Co-authored-by: James Keith <james.keith@tealium.com>
  • Loading branch information
3 people authored Mar 8, 2021
1 parent 417298d commit 7d9b883
Show file tree
Hide file tree
Showing 152 changed files with 187 additions and 10,502 deletions.
21 changes: 19 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
.AppleDouble
.LSOverride

# Xcode
*.xcuserstate

# Icon must end with two \r
Icon

Expand All @@ -28,5 +31,19 @@ Network Trash Folder
Temporary Items
.apdisk


# End of https://www.gitignore.io/api/macos
# Android/IntelliJ
build/
.idea
.gradle
**/.gradle
local.properties
*.iml

# node.js
node_modules/
package-lock.json
**/package-lock.json
npm-debug.log
yarn-error.log
*yarn.lock
**/yarn.lock
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@

## 2.X

[Full documentation](https://docs.tealium.com/platforms/react-native/install/)

- 2.0.3
- Bug fixes
- `safeGet` extension methods added in Kotlin to check key safety on earlier RN versions (< 0.63.3)
- React module imports added to bridging header in order to accomodate RN versions (< 0.63.3)
- SDK dependency and `package.json` increments
- 2.0.2
- Bug fix
- Removed deinit in `TealiumReactNative.swift` that was clearing event names
- Removed deinit in `TealiumReactNative.swift` that was clearing event names
- 2.0.1
- Bug fixes
- Added all `.ts` files in the package
- Updated syntax and source path in `.podspec`
- Added all `.ts` files in the package
- Updated syntax and source path in `.podspec`
- 2.0.0
- Initial release. Updated the module to use the Kotlin and Swift libraries.

[Full documentation](https://docs.tealium.com/platforms/react-native/install/)

## 1.X

- 1.1.0
Expand Down
2 changes: 1 addition & 1 deletion example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TealiumConfig, TealiumView, TealiumEvent, ConsentCategories, Dispatcher
export default class App extends Component < {} > {

componentDidMount() {
let config: TealiumConfig = { account: 'tealiummobile', profile: 'demo', environment: TealiumEnvironment.dev, dispatchers: [Dispatchers.Collect, Dispatchers.TagManagement, Dispatchers.RemoteCommands], collectors: [Collectors.AppData, Collectors.DeviceData, Collectors.Lifecycle, Collectors.Connectivity], consentLoggingEnabled: true, consentExpiry: {'time': 5, 'unit': 'minutes' }, consentPolicy: ConsentPolicy.gdpr, batchingEnabled: false, visitorServiceEnabled: true, useRemoteLibrarySettings: false };
let config: TealiumConfig = { account: 'tealiummobile', profile: 'demo', environment: TealiumEnvironment.dev, dispatchers: [Dispatchers.Collect, Dispatchers.TagManagement, Dispatchers.RemoteCommands], collectors: [Collectors.AppData, Collectors.DeviceData, Collectors.Lifecycle, Collectors.Connectivity], consentLoggingEnabled: true, consentExpiry: {'time': 10, 'unit': 'minutes' }, consentPolicy: ConsentPolicy.gdpr, batchingEnabled: false, visitorServiceEnabled: true, useRemoteLibrarySettings: false };
Tealium.initialize(config);
Tealium.setVisitorServiceListener(profile => {
console.log("audiences: ");
Expand Down
28 changes: 14 additions & 14 deletions example/ios/example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@
objects = {

/* Begin PBXBuildFile section */
03E712286A5C31A3E8E7BAAC /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EC5113245BCB9F58E243CB8 /* libPods-example.a */; };
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
86C451C7DCBFB0D050397D75 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D1B88212AB4861528CBC4C4 /* libPods-example.a */; };
CF573FB82582D4EA0077CE55 /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF573FB72582D4EA0077CE55 /* File.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
0D1B88212AB4861528CBC4C4 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = "<group>"; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = "<group>"; };
2D3F9C6C048606078DCCEC5D /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = "<group>"; };
1EC5113245BCB9F58E243CB8 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = example/LaunchScreen.storyboard; sourceTree = "<group>"; };
892A35576EC9BCA091B9475B /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = "<group>"; };
962B57BEF0DA3A6D31B262C2 /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = "<group>"; };
9CFC0FC9B9FC38F5EC5A5FC4 /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = "<group>"; };
CF573FB62582D4E90077CE55 /* example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "example-Bridging-Header.h"; sourceTree = "<group>"; };
CF573FB72582D4EA0077CE55 /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
Expand All @@ -38,7 +38,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
86C451C7DCBFB0D050397D75 /* libPods-example.a in Frameworks */,
03E712286A5C31A3E8E7BAAC /* libPods-example.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -66,7 +66,7 @@
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
0D1B88212AB4861528CBC4C4 /* libPods-example.a */,
1EC5113245BCB9F58E243CB8 /* libPods-example.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -103,8 +103,8 @@
DC9338139D0DD62971542932 /* Pods */ = {
isa = PBXGroup;
children = (
2D3F9C6C048606078DCCEC5D /* Pods-example.debug.xcconfig */,
892A35576EC9BCA091B9475B /* Pods-example.release.xcconfig */,
9CFC0FC9B9FC38F5EC5A5FC4 /* Pods-example.debug.xcconfig */,
962B57BEF0DA3A6D31B262C2 /* Pods-example.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
Expand All @@ -116,13 +116,13 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
buildPhases = (
52AB3C42C60453BF17A71A88 /* [CP] Check Pods Manifest.lock */,
2ED43EFFFAFB807424135CB6 /* [CP] Check Pods Manifest.lock */,
FD10A7F022414F080027D42C /* Start Packager */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
D96CF235DC21ECE3D88E79CE /* [CP] Copy Pods Resources */,
F204A6D9FA0B514B995E3511 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -191,7 +191,7 @@
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
};
52AB3C42C60453BF17A71A88 /* [CP] Check Pods Manifest.lock */ = {
2ED43EFFFAFB807424135CB6 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -213,7 +213,7 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
D96CF235DC21ECE3D88E79CE /* [CP] Copy Pods Resources */ = {
F204A6D9FA0B514B995E3511 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand Down Expand Up @@ -268,7 +268,7 @@
/* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 2D3F9C6C048606078DCCEC5D /* Pods-example.debug.xcconfig */;
baseConfigurationReference = 9CFC0FC9B9FC38F5EC5A5FC4 /* Pods-example.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand All @@ -292,7 +292,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 892A35576EC9BCA091B9475B /* Pods-example.release.xcconfig */;
baseConfigurationReference = 962B57BEF0DA3A6D31B262C2 /* Pods-example.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint ."
},
"dependencies": {
"react": "16.13.1",
"react": "^16.8.1",
"react-native": "0.63.4",
"tealium-react-native": "../npm-package"
},
Expand Down
Loading

0 comments on commit 7d9b883

Please sign in to comment.