You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,7 +30,7 @@ This repository is a monorepo and contains a collection of React Native modules
30
30
> [!IMPORTANT]
31
31
> The Adobe React Native SDK utilizes the React Native interop layer to ensure compatibility with new architecture.
32
32
33
-
## Requirements
33
+
## Requirements
34
34
35
35
- React Native
36
36
@@ -43,7 +43,7 @@ To submit iOS apps to the App Store, you must build them using Xcode 15 or later
43
43
## iOS Privacy Manifest
44
44
45
45
> [!IMPORTANT]
46
-
> Adobe Experience Platform React Native **6.x** libraries now depend on Experience Platform iOS 5.x SDKs, which have been updated to align with Apple's latest guidelines on [privacy manifest](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files). For further details on how Apple's privacy-related announcements affect the Adobe mobile SDK for iOS, please refer to this [document](https://developer.adobe.com/client-sdks/resources/privacy-manifest/).
46
+
> Starting from Adobe Experience Platform React Native **6.x**, the libraries depend on Experience Platform iOS 5.x SDKs, which have been updated to align with Apple's latest guidelines on [privacy manifest](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files). For further details on how Apple's privacy-related announcements affect the Adobe mobile SDK for iOS, please refer to this [document](https://developer.adobe.com/client-sdks/resources/privacy-manifest/).
47
47
48
48
## Expo Support
49
49
@@ -76,10 +76,10 @@ The following code snippet shows for Mobile Core and Edge Network extensions as
76
76
...
77
77
"dependencies": {
78
78
"react-native": "0.72.5",
79
-
"@adobe/react-native-aepcore": "^6.0.0", //core is required and includes aepcore, aepsignal, aeplifecycle, aepidentity libraries
80
-
"@adobe/react-native-aepedge": "^6.0.0",
81
-
"@adobe/react-native-aepedgeidentity": "^6.0.0",
82
-
"@adobe/react-native-aepedgeconsent": "^6.0.0",
79
+
"@adobe/react-native-aepcore": "^7.0.0", //core is required and includes aepcore, aepsignal, aeplifecycle, aepidentity libraries
80
+
"@adobe/react-native-aepedge": "^7.0.0",
81
+
"@adobe/react-native-aepedgeidentity": "^7.0.0",
82
+
"@adobe/react-native-aepedgeconsent": "^7.0.0",
83
83
...
84
84
},
85
85
```
@@ -112,182 +112,25 @@ To update native dependencies to latest available versions, run the following co
112
112
cd ios && pod update &&cd ..
113
113
```
114
114
115
-
## Initializing
116
-
117
-
Initializing the SDK should be done in native code inside your `AppDelegate` (iOS) and `MainApplication` (Android). The following code snippets demonstrate how to install and register the AEP Mobile Core and Edge Network extensions. Documentation on how to initialize each extension can be found in _./packages/{extension}/README.md_.
> To enable the Lifecycle metrics, [implement the Lifecycle APIs](./packages/core/README.md#lifecycle)
115
+
## Importing the extension:
116
+
In your React Native application, import the extensions.
162
117
163
-
> Hint : While running iOS application after Adobe Experience Platform SDK installation. If you have build error that states:
164
-
> "ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'"
165
-
> This is because Adobe Experience Platform SDK now requires the app uses swift interfaces. Add a dummy .swift file to your project to embed the swift standard libs. See the SampleApp presented in this repo for example.
118
+
The following example demonstrates how to import core extensions from the Adobe Experience Platform SDK in your React Native application:
>For further details on Lifecycle implementation, please refer to the [LifecycleAPI documentation](https://github.com/adobe/aepsdk-react-native/tree/main/packages/core#lifecycle).
132
+
> [!NOTE]
133
+
> Starting from Adobe Experience Platform React native **7.x**, there is no longer a need to initialize the SDK on the [native platforms](https://github.com/adobe/aepsdk-react-native/tree/v6.x/#initializing), as was required in earlier versions.
Copy file name to clipboardExpand all lines: apps/AEPSampleApp/README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,7 @@ This project is a React Native app set up using `react-native-cli`. It serves as
20
20
21
21
### Add your App Id:
22
22
23
-
In `apps/AEPSampleApp/ios/AEPSampleApp/AppDelegate.mm`, find the call to `configureWithAppId` and add your app id.
24
-
25
-
In `apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java`, find the call to `configureWithAppId` and add your app id.
23
+
In `/apps/AEPSampleApp/App.tsx`, locate the call to `MobileCore.initializeWithAppId(appId:"YOUR_APP_ID")` and replace `"YOUR_APP_ID"` with your property App Id.
26
24
27
25
> Note: App id is configured in a mobile property in Data Collection UI, in Tags. Refer to [configure with App ID per environment](https://developer.adobe.com/client-sdks/home/base/mobile-core/configuration/#configure-with-app-id-per-environment) page for more information.
0 commit comments