-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): pulling release/1.18.0 into master
- Loading branch information
Showing
64 changed files
with
3,346 additions
and
611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// RudderConfig.swift | ||
// RudderOneTrust | ||
// | ||
// Created by Pallab Maiti on 26/01/23. | ||
// | ||
|
||
import Foundation | ||
|
||
@objc | ||
class RudderConfig: NSObject, Codable { | ||
@objc let WRITE_KEY: String | ||
@objc let PROD_DATA_PLANE_URL: String | ||
@objc let PROD_CONTROL_PLANE_URL: String | ||
@objc let LOCAL_DATA_PLANE_URL: String | ||
@objc let LOCAL_CONTROL_PLANE_URL: String | ||
@objc let DEV_DATA_PLANE_URL: String | ||
@objc let DEV_CONTROL_PLANE_URL: String | ||
@objc let STORAGE_LOCATION: String | ||
@objc let DOMAIN_IDENTIFIER: String | ||
|
||
@objc | ||
class func create(from url: URL) -> RudderConfig? { | ||
if let data = try? Data(contentsOf: url), | ||
let rudderConfig = try? PropertyListDecoder().decode(RudderConfig.self, from: data) { | ||
return rudderConfig | ||
} | ||
return nil | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?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>WRITE_KEY</key> | ||
<string></string> | ||
<key>PROD_DATA_PLANE_URL</key> | ||
<string></string> | ||
<key>PROD_CONTROL_PLANE_URL</key> | ||
<string></string> | ||
<key>LOCAL_DATA_PLANE_URL</key> | ||
<string></string> | ||
<key>LOCAL_CONTROL_PLANE_URL</key> | ||
<string></string> | ||
<key>DEV_DATA_PLANE_URL</key> | ||
<string></string> | ||
<key>DEV_CONTROL_PLANE_URL</key> | ||
<string></string> | ||
<key>STORAGE_LOCATION</key> | ||
<string></string> | ||
<key>DOMAIN_IDENTIFIER</key> | ||
<string></string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Examples/RudderSampleAppObjC/RudderSampleAppObjC/RudderSampleAppObjC-Bridging-Header.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// | ||
// Use this file to import your target's public headers that you would like to expose to Swift. | ||
// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.