diff --git a/docs/migration.md b/docs/migration.md index ceb2a0e1..1fa0b189 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -28,11 +28,9 @@ At this time, the following ACP-prefix libraries can be switched out with their | @adobe/react-native-acpmedia | NA | | @adobe/react-native-acpaudience | NA | | @adobe/react-native-acptarget | @adobe/react-native-aeptarget | -| @adobe/react-native-acpcampaign | @adobe/react-native-aepcampaignclassic | +| @adobe/react-native-acpcampaign | NA | | @adobe/react-native-aepassurance:2.x (compatible with ACP libraries) | @adobe/react-native-aepassurance:4.x (compatible with AEP libraries)| - - ## Update SDK initialization Remove the deprecated registration code and the extensions that are not supported in AEP React Native libraries. @@ -48,7 +46,6 @@ import com.adobe.marketing.mobile.Signal; import com.adobe.marketing.mobile.UserProfile; import com.adobe.marketing.mobile.Target; import com.adobe.marketing.mobile.Places; -import com.adobe.marketing.mobile.CampaignClassic; import com.adobe.marketing.mobile.Assurance; ... import android.app.Application; @@ -88,7 +85,6 @@ public class MainApplication extends Application implements ReactApplication { Signal.EXTENSION, Target.EXTENSION, Places.EXTENSION, - CampaignClassic.EXTENSION, Assurance.EXTENSION, ); MobileCore.registerExtensions(extensions, o -> MobileCore.configureWithAppID("YourEnvironmentFileID")); @@ -122,7 +118,6 @@ public class MainApplication extends Application implements ReactApplication { @import AEPLifecycle; @import AEPSignal; @import AEPTarget; -@import AEPCampaignClassic; @import AEPPlaces; @import AEPAssurance; // --- 2. end ---- @@ -163,7 +158,6 @@ public class MainApplication extends Application implements ReactApplication { AEPMobileLifecycle.class, AEPMobileSignal.class, AEPMobileTarget.class, - AEPMobileCampaignClassic.class, AEPMobilePlaces.class, AEPMobileAssurance.class, ] completion:^{ diff --git a/packages/assurance/README.md b/packages/assurance/README.md index ff445f38..c2ed29b2 100644 --- a/packages/assurance/README.md +++ b/packages/assurance/README.md @@ -52,7 +52,7 @@ iOS } ``` -To connect to an Assurance session by scanning the QR code. Follow [Apple developer](https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app) documentation to set custom URL scheme for your application. Finally, implement the `openURL` delegate method and pass the deeplink URL to startSessionWithURL API. +To connect to an Assurance session by scanning the QR code, follow [Apple developer](https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app) documentation to set custom URL scheme for your application. Finally, implement the `openURL` delegate method and pass the deeplink URL to startSessionWithURL API. ```objective-c -(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { @@ -86,7 +86,7 @@ public class MainApplication extends Application implements ReactApplication { } ``` -To connect to an Assurance session by scanning the QR code. Follow the [Android documentation](https://developer.android.com/training/app-links/deep-linking) on information about how to setup a deeplink. +To connect to an Assurance session by scanning the QR code, follow the [Android documentation](https://developer.android.com/training/app-links/deep-linking) for more information about how to setup a deeplink. ##### Start Assurance session: