Skip to content

Commit d4015da

Browse files
authored
Merge pull request #193 from adobe/register-edge-consent-ios
fix: 🐛 register edge consent on ios sample app
2 parents 9814f94 + 17c98f4 commit d4015da

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

apps/AEPSampleApp/ios/AEPSampleApp/AppDelegate.mm

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/*
22
Copyright 2022 Adobe. All rights reserved.
3-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
4-
you may not use this file except in compliance with the License. You may obtain a copy
5-
of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
Unless required by applicable law or agreed to in writing, software distributed under
7-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
8-
OF ANY KIND, either express or implied. See the License for the specific language
9-
governing permissions and limitations under the License.
3+
This file is licensed to you under the Apache License, Version 2.0 (the
4+
"License"); you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
7+
or agreed to in writing, software distributed under the License is distributed
8+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, either
9+
express or implied. See the License for the specific language governing
10+
permissions and limitations under the License.
1011
*/
1112

1213
#import "AppDelegate.h"
@@ -73,7 +74,8 @@ - (BOOL)application:(UIApplication *)application
7374
[self.window makeKeyAndVisible];
7475
[AEPMobileCore setLogLevel:AEPLogLevelTrace];
7576
[AEPMobileCore registerExtensions:@[
76-
AEPMobileEdgeIdentity.class, AEPMobileEdge.class, AEPMobileMessaging.class,
77+
AEPMobileEdgeIdentity.class, AEPMobileEdge.class,
78+
AEPMobileEdgeConsent.class, AEPMobileMessaging.class,
7779
AEPMobileOptimize.class
7880
]
7981
completion:^{

0 commit comments

Comments
 (0)