Skip to content

Commit

Permalink
chore: add consent plugin in sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
1abhishekpandey committed Nov 6, 2024
1 parent 37b5583 commit ae8e73a
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 251 deletions.
16 changes: 8 additions & 8 deletions apps/example/ios/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
2710A25ACD646D417AD4C0FC /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 258FA9C0DCF4B7B3300A29A6 /* PrivacyInfo.xcprivacy */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
8C0733442C9C7DDD00A6BE7F /* FBSDKInit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C0733432C9C7DDD00A6BE7F /* FBSDKInit.swift */; };
91E2BA797FA011C97A949F65 /* libPods-Example-ExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEF6230A9BA5ACD36E47C4D4 /* libPods-Example-ExampleTests.a */; };
B5B827578178B0D14D4B4368 /* libPods-Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CC595347C0148502BBDA2696 /* libPods-Example.a */; };
9EA4C274BCF80B882D811D34 /* Pods_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8505353F24E76E6F0853A9E /* Pods_Example.framework */; };
E74356BBB960BDAC8255F98D /* Pods_Example_ExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50E410BCC597C704107B641F /* Pods_Example_ExampleTests.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -42,30 +42,30 @@
1C64181888DA8AD274C4D35E /* 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>"; };
258FA9C0DCF4B7B3300A29A6 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Example/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
38921633CC8E23A9D60EEF79 /* 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>"; };
50E410BCC597C704107B641F /* Pods_Example_ExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example_ExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Example/LaunchScreen.storyboard; sourceTree = "<group>"; };
88F862D882B3BF72CCF5CF29 /* Pods-Example-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
8B68CF3D1EA4AC7E4CCE9DE9 /* Pods-Example-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.release.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.release.xcconfig"; sourceTree = "<group>"; };
8C0733422C9C7DDD00A6BE7F /* Example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Example-Bridging-Header.h"; sourceTree = "<group>"; };
8C0733432C9C7DDD00A6BE7F /* FBSDKInit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FBSDKInit.swift; sourceTree = "<group>"; };
BEF6230A9BA5ACD36E47C4D4 /* libPods-Example-ExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example-ExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
CC595347C0148502BBDA2696 /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
F8505353F24E76E6F0853A9E /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
00E356EB1AD99517003FC87E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
91E2BA797FA011C97A949F65 /* libPods-Example-ExampleTests.a in Frameworks */,
E74356BBB960BDAC8255F98D /* Pods_Example_ExampleTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B5B827578178B0D14D4B4368 /* libPods-Example.a in Frameworks */,
9EA4C274BCF80B882D811D34 /* Pods_Example.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -110,8 +110,8 @@
isa = PBXGroup;
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
CC595347C0148502BBDA2696 /* libPods-Example.a */,
BEF6230A9BA5ACD36E47C4D4 /* libPods-Example-ExampleTests.a */,
F8505353F24E76E6F0853A9E /* Pods_Example.framework */,
50E410BCC597C704107B641F /* Pods_Example_ExampleTests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down
9 changes: 6 additions & 3 deletions apps/example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if linkage != nil
end

target 'Example' do
# use_frameworks!
use_frameworks! # Enabled to run 'RudderOneTrustConsentFilter' pod. It currently required static linkage.
# use_frameworks! :linkage=> :static
# use_frameworks! :linkage => :dynamic

Expand All @@ -28,12 +28,15 @@ target 'Example' do
)

# Note that if you have use_frameworks! enabled, then comment out these lines
pod 'FirebaseCore', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
# pod 'FirebaseCore', :modular_headers => true
# pod 'GoogleUtilities', :modular_headers => true

# This is added to resolve the build error. Once we update the MoEngage iOS SDK to the latest version, we can remove this.
pod 'MoEngage-iOS-SDK', '9.7.0'

# This is to solve the Rudder-CleverTap build error
pod 'Rudder-CleverTap', '1.1.2'

target 'ExampleTests' do
inherit! :complete
# Pods for testing
Expand Down
Loading

0 comments on commit ae8e73a

Please sign in to comment.