From d0d366432d22963aed24fde61e802489fc19a06c Mon Sep 17 00:00:00 2001 From: dsoffiantini Date: Mon, 18 Jul 2022 16:28:34 -0600 Subject: [PATCH 1/3] fix: :bug: register optimize in sample app --- .../app/src/main/java/com/aepsampleapp/MainApplication.java | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java b/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java index 80f7a4a9..8b50da69 100644 --- a/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java +++ b/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java @@ -127,6 +127,7 @@ public void onCreate() { Signal.registerExtension(); Consent.registerExtension(); Assurance.registerExtension(); + Optimize.registerExtension(); } catch (InvalidInitException e) { e.printStackTrace(); } From 17c98f42f1f4af72551b52dc13169785a97cecdc Mon Sep 17 00:00:00 2001 From: dsoffiantini Date: Mon, 18 Jul 2022 16:57:22 -0600 Subject: [PATCH 2/3] fix: :bug: register edge consent on ios sample app --- .../ios/AEPSampleApp/AppDelegate.mm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/AEPSampleApp/ios/AEPSampleApp/AppDelegate.mm b/apps/AEPSampleApp/ios/AEPSampleApp/AppDelegate.mm index a7a9947e..c353e2d1 100644 --- a/apps/AEPSampleApp/ios/AEPSampleApp/AppDelegate.mm +++ b/apps/AEPSampleApp/ios/AEPSampleApp/AppDelegate.mm @@ -1,12 +1,13 @@ /* Copyright 2022 Adobe. All rights reserved. - This file is licensed to you under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. You may obtain a copy - of the License at http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software distributed under - the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - OF ANY KIND, either express or implied. See the License for the specific language - governing permissions and limitations under the License. + This file is licensed to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law + or agreed to in writing, software distributed under the License is distributed + on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, either + express or implied. See the License for the specific language governing + permissions and limitations under the License. */ #import "AppDelegate.h" @@ -73,7 +74,8 @@ - (BOOL)application:(UIApplication *)application [self.window makeKeyAndVisible]; [AEPMobileCore setLogLevel:AEPLogLevelTrace]; [AEPMobileCore registerExtensions:@[ - AEPMobileEdgeIdentity.class, AEPMobileEdge.class, AEPMobileMessaging.class, + AEPMobileEdgeIdentity.class, AEPMobileEdge.class, + AEPMobileEdgeConsent.class, AEPMobileMessaging.class, AEPMobileOptimize.class ] completion:^{ From 74a0d9bf1af9edef5bb531ced20c7fe7a1cb926a Mon Sep 17 00:00:00 2001 From: dsoffiantini Date: Mon, 18 Jul 2022 17:03:27 -0600 Subject: [PATCH 3/3] docs: add beta tag to ios sdk --- packages/messaging/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/messaging/README.md b/packages/messaging/README.md index 8aa485e3..fd530bd4 100644 --- a/packages/messaging/README.md +++ b/packages/messaging/README.md @@ -28,7 +28,7 @@ npm install {path to messaging package} ## IOS Setup **Podfile setup for `@adobe/react-native-aepmessaging` v1.0.0-beta.2 with in-app messaging support** -The In app Message APIs depends on the AEP Messaging iOS SDK v1.1.0. This version is not yet published to the Cocoapods but is available in the public [github repository](https://github.com/adobe/aepsdk-messaging-ios/tree/staging). Add the following pod dependency in your applications Podfile under the application target. +The In app Message APIs depends on the AEP Messaging iOS SDK v1.1.0-beta. This version is not yet published to the Cocoapods but is available in the public [github repository](https://github.com/adobe/aepsdk-messaging-ios/tree/staging). Add the following pod dependency in your applications Podfile under the application target. ```ruby target 'AEPSampleApp' do