Skip to content

Commit

Permalink
5.8.2 (#140)
Browse files Browse the repository at this point in the history
* fixed lifecycle signing issues

* added xcframeworks

* Updated readme
  • Loading branch information
craigrouse authored Aug 13, 2021
1 parent adbc5d6 commit 19e66a3
Show file tree
Hide file tree
Showing 143 changed files with 10,103 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

## Documentation

For full documentation, please see the Tealium Learning Community:
For full documentation, please see the Tealium Developer Docs:

[Tealium for iOS](https://community.tealiumiq.com/t5/Tealium-for-iOS/Adding-Tealium-to-Your-iOS-App/ta-p/16327)
[Tealium for iOS](https://docs.tealium.com/platforms/ios-objective-c/)

## License

Expand Down
2 changes: 1 addition & 1 deletion TealiumIOS.framework.dSYM/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>5.8.1</string>
<string>5.8.2</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
Binary file modified TealiumIOS.framework.dSYM/Contents/Resources/DWARF/TealiumIOS
Binary file not shown.
4 changes: 4 additions & 0 deletions TealiumIOS.framework/Headers/TEALConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
#ifdef TEAL_TARGET_IOS
#import <UIKit/UIKit.h>
#endif
#if !TARGET_OS_TV
@import WebKit;
#endif

/**
Defines the endpoint of where to send data for the CollectDispatchService.
Expand Down Expand Up @@ -91,6 +93,7 @@ typedef NS_ENUM(NSInteger, TEALCollectURL) {
*/
@property (nonatomic, assign) TEALCollectURL collectURL;

#if !TARGET_OS_TV
/**
Optionally set a WKProcessPool for the WKWebView
*/
Expand All @@ -100,6 +103,7 @@ typedef NS_ENUM(NSInteger, TEALCollectURL) {
Optionally set a WKWebViewConfiguration for the WKWebView
*/
@property (nonatomic, retain) WKWebViewConfiguration *_Nullable wkWebViewConfig;
#endif

#pragma mark - Core Methods
/** @name Core Methods */
Expand Down
Binary file modified TealiumIOS.framework/Info.plist
Binary file not shown.
Binary file modified TealiumIOS.framework/TealiumIOS
Binary file not shown.
8 changes: 4 additions & 4 deletions TealiumIOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
#

Pod::Spec.new do |s|
s.author = { "Jonathan Wong" => "jonathan.wong@tealium.com" }
s.author = { "Craig Rouse" => "craig.rouse@tealium.com" }
s.homepage = "https://github.com/tealium/tealium-ios"
s.documentation_url = 'http://tealium.github.io/tealium-ios/'
s.frameworks = 'SystemConfiguration'
s.license = { :type => "Commercial", :file => "LICENSE.txt" }
s.name = "TealiumIOS"
s.version = "5.8.1"
s.version = "5.8.2"
s.requires_arc = true
s.social_media_url = "https://twitter.com/tealium"
s.source = { :git => "https://github.com/tealium/tealium-ios.git", :tag => s.version.to_s }
# s.source = { :git => "https://github.com/tealium/tealium-ios.git", :tag => s.version.to_s }
s.summary = "Framework for adding Tealium services to an iOS application."
s.platform = :ios, '8.0'
s.vendored_frameworks = 'TealiumIOS.framework'
s.vendored_frameworks = 'TealiumIOS.xcframework'
s.xcconfig = {'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/Headers/Public/TealiumIOS/TealiumIOS'}

# Workaround to exclude arm64 from simulator. If you are on an M1 Mac, please use the XCFrameworks
Expand Down
41 changes: 41 additions & 0 deletions TealiumIOS.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>TealiumIOS.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>TealiumIOS.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
//
// TEALConfiguration+Collect.h
// FrameworkBuilder
//
// Created by Jason Koo on 1/9/16.
//
//

#import <TealiumIOS/TEALConfiguration.h>

/**
* Unsigned integer value that controls the frequency at which the user's visitor profile is requested
*/
typedef NS_ENUM(NSUInteger, TEALVisitorProfilePollingFrequency) {
/**
* On request only, will only poll with the fetchVisitorProfileWithCompletion: method
*/
TEALVisitorProfilePollingFrequencyOnRequest = 0,
/**
* After each track event (trackEventWithTitle:dataSources: or trackViewWithTitle:dataSources:) an updated visitor profile will be requested.
*/
TEALVisitorProfilePollingFrequencyAfterEveryEvent
};

@interface TEALConfiguration (Collect)

/**
* If assigned, will replace the destination endpoint for Collect dispatch calls.
*/
- (NSString *_Nullable)overrideCollectDispatchURL;

/**
* Frequency at which visitor profile should be polled.
*/
- (TEALVisitorProfilePollingFrequency)collectPollingFrequency;

/**
* Set the destination endpoint for Collect dispatch calls.
*
* @param overrideURL The NSString representation of the target URL address to use.
*/
- (void)setOverrideCollectDispatchURL:(NSString *_Nonnull)overrideURL;

/**
* Set the visitor profile polling frequency mode.
*
* By default after each sendEventWithData: and sendViewWithData: call an updated visitor profile will be requested.
* If set to on request, the library will only requery the profile when asked for using fetchVisitorProfileWithCompletion:
*
* @default TEALVisitorProfilePollingFrequencyAfterEveryEvent
* @see TEALVisitorProfilePollingFrequency
*/
- (void)setCollectPollingFrequency:(TEALVisitorProfilePollingFrequency)frequency;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// TEALConfiguration+TagManagement.h
// Tealium
//
// Created by Jason Koo on 1/10/16.
//
//

#import <TealiumIOS/TEALConfiguration.h>

@interface TEALConfiguration (TagManagement)

/**
* Read-only flag for remote commands triggerablilty status.
*
* @default YES
*/
- (BOOL) remoteCommandsEnabled;

/**
* The url source point for retrieving the UTAG.js embedded mobile.html produced by the TIQ system
*
* @return NSString String representation of the target address.
*/
- (NSString * _Nullable) tagManagementPublishURL;

/**
* Override the default publishURL source point with another address.
*
* @param publishURL The replacement URL to use.
*/
- (void) setOverrideTagManagementPublishURL:(NSString * _Nonnull)publishURL;

/**
* Enable or disable the remote command triggerability.
*
* @param enabled BOOL to switch remoteCommandEnabled to.
*/
- (void) setRemoteCommandsEnabled:(BOOL)enabled;

/**
Optionally set a view for WKWebView to attach to.
*/
@property (nonatomic, strong) UIView *_Nullable view;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
//
// TEALConfiguration.h
// Tealium Mobile Library
//
// Created by George Webster on 3/2/15.
// Copyright (c) 2015 Tealium Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <TealiumIOS/TEALLogLevels.h>
#import <TealiumIOS/TEALConsentConstants.h>

#ifdef TEAL_TARGET_IOS
#import <UIKit/UIKit.h>
#endif
#if !TARGET_OS_TV
@import WebKit;
#endif

/**
Defines the endpoint of where to send data for the CollectDispatchService.
*/
typedef NS_ENUM(NSInteger, TEALCollectURL) {
TEALCollectURLVdata,
TEALCollectURLEvent
};

/**
* Configuration Class for the Tealium Mobile Library
* An instance of this is passed to Tealium enableWithConfiguration: to start the Collect Library
*/
@interface TEALConfiguration : NSObject

/**
* Tealium iQ account name
*/
@property (nonatomic, copy) NSString *_Nonnull accountName;

/**
* Tealium iQ profile name, this should be the TiQ profile where the mobile publish settings have been configured for Tealium collect.
*
* Note: This is usually not the same profile used for Collect which defaults to "main"
*/
@property (nonatomic, copy) NSString *_Nonnull profileName;

/**
* Tealium iQ evnvironment name.
*
* @example dev/qa/prod
*/
@property (nonatomic, copy) NSString *_Nonnull environmentName;


/**
* Tealium UDH Data source Id.
*
* @example abc123
*/
@property (nonatomic, copy) NSString *_Nullable datasourceId;

/**
* Debug log level to use. Default 'silent' (none)
*/
@property (nonatomic) TEALLogLevel logLevel;

/**
* If assigned, will replace the default mobile publish setting source location with an alternate address. Example - "https://my.domain.com/app/publish.html"
*/
@property (nonatomic) NSString *_Nullable overridePublishSettingsURL;

/**
* If assigned, will replace the default address used to retrieve the tag management UTAG.js file. Example - "https://my.domain.com/app/mobile.html"
*/
@property (nonatomic) NSString *_Nullable overrideTagManagementURL;

/**
Optionally enable Consent Manager.
*/
@property (nonatomic, assign) BOOL enableConsentManager;

/**
Optionally set initial userConsentCategories.
*/
@property (nonatomic, strong) NSArray *_Nullable userConsentCategories;

/**
Optionally set initial userConsentStatus.
*/
@property (nonatomic, assign) TEALConsentStatus userConsentStatus;

/**
Set the endpoint for the CollectDispatchService. By default this is set to the /event endpoint and is a POST request.
*/
@property (nonatomic, assign) TEALCollectURL collectURL;

#if !TARGET_OS_TV
/**
Optionally set a WKProcessPool for the WKWebView
*/
@property (nonatomic, retain) WKProcessPool *_Nullable wkProcessPool;

/**
Optionally set a WKWebViewConfiguration for the WKWebView
*/
@property (nonatomic, retain) WKWebViewConfiguration *_Nullable wkWebViewConfig;
#endif

#pragma mark - Core Methods
/** @name Core Methods */


/**
* Creates a default configration instance for a given account / profile / environment combination. The TiQ information is used to fetch the profile's mobile publish settings used
*
* @param accountName String of TiQ / AudienceStream account name. Required.
* @param profileName String of TiQ Profile name. Required.
* @param environmentName String of TiQ Environment name. Typically dev/qa/prod. Required.
*
* @returns Valid configuration instance to pass to the enableWithConfiguration: method.
*/
+ (instancetype _Nonnull)configurationWithAccount:(NSString *_Nonnull)accountName
profile:(NSString *_Nonnull)profileName
environment:(NSString *_Nonnull)environmentName;

/**
* Creates a default configration instance for a given account / profile / environment combination. The TiQ information is used to fetch the profile's mobile publish settings used
*
* @param accountName String of TiQ / AudienceStream account name. Required.
* @param profileName String of TiQ Profile name. Required.
* @param environmentName String of target environment, typically dev, qa, or prod. Required.
* @param datasourceId String data source id for UDH. 6 alphanumerics long. Optional.
*
* @returns Valid configuration instance to pass to the enableWithConfiguration: method.
*/
+ (instancetype _Nonnull)configurationWithAccount:(NSString *_Nonnull)accountName
profile:(NSString *_Nonnull)profileName
environment:(NSString *_Nonnull)environmentName
datasource:(NSString *_Nullable)datasourceId;

/**
* Checks to see if configuration is populated with the minimum required properties.
*
* @param configuration TEALConfiguration to check.
*
* @return Boolean of whether the argument configuration is valid.
*/
+ (BOOL)isValidConfiguration:(TEALConfiguration *_Nonnull)configuration;

/**
* A unique identifier generated from the account-profile-environment.
*
* @returns instanceID NSString identifier
*/
- (NSString *_Nonnull)instanceID;

@end
Loading

0 comments on commit 19e66a3

Please sign in to comment.