Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aepsdk-react-native

<!--- [![license](https://img.shields.io/npm/l/@adobe/react-native-aepcore.svg)](./LICENSE) --->
[![license](https://img.shields.io/npm/l/@adobe/react-native-aepcore.svg)](./LICENSE)
[![CircleCI](https://circleci.com/gh/adobe/aepsdk-react-native/tree/main.svg?style=svg)](https://circleci.com/gh/adobe/aepsdk-react-native/tree/main)

## BETA ACKNOWLEDGEMENT
Expand Down
32 changes: 32 additions & 0 deletions apps/AEPSampleApp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# AEPSampleApp

> Note: Commands are assuming you're in the root directory of the repository.

> Note: If you are new to React Native we suggest you follow the [React Native Getting Started](<https://facebook.github.io/react-native/docs/getting-started.html>) page before continuing.

How to run the sample app:

### Add your App Id:
In `ios/**/AppDelegate.m`, find the call to `configureWithAppId` and add your app id.

In `android/**/MainApplication.java`, find the call to `configureWithAppId` and add your app id.

#### Install dependecies

```
yarn bootstrap && yarn sampleapp:ios:pod:install
```

#### Run instructions for iOS:

```
yarn sampleapp:ios:run
```

#### Run instructions for Android:

Have an Android emulator running (quickest way to get started), or a device connected. https://developer.android.com/studio/run/emulator-commandline

```
yarn sampleapp:android:run
```
2 changes: 1 addition & 1 deletion apps/AEPSampleApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@adobe/react-native-aepcore": "^1.0.0-alpha.1",
"@adobe/react-native-aepuserprofile": "^1.0.0-alpha.1",
"@adobe/react-native-aepuserprofile": "^1.0.0-alpha.2",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/bottom-tabs": "^5.8.0",
"@react-navigation/core": "^5.12.3",
Expand Down
2 changes: 0 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
- Android Studio
- Node.js 12 TLS (or newer)
- React Native >= v0.60
- Lerna.js
- Yarn
- Jest

## Install dependencies

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"sampleapp:ios:pod:update": "cd apps/AEPSampleApp/ios && pod update",
"sampleapp:ios:pod:install": "cd apps/AEPSampleApp/ios && pod install",
"sampleapp:ios:build": "cd apps/AEPSampleApp && npx react-native run-ios",
"sampleapp:android:build": "cd apps/AEPSampleApp/android && ./gradlew assembleRelease -x bundleReleaseJsAndAssets"
"sampleapp:android:build": "cd apps/AEPSampleApp/android && ./gradlew assembleRelease -x bundleReleaseJsAndAssets",
"sampleapp:start": "cd apps/AEPSampleApp && npx react-native start",
"sampleapp:ios:run": "cd apps/AEPSampleApp && npx react-native run-ios",
"sampleapp:android:run": "cd apps/AEPSampleApp && npx react-native run-android"
},
"devDependencies": {
"jest": "^27.0.6",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# React Native AEP Core Extension

[![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-acpcore.svg)](https://www.npmjs.com/package/@adobe/react-native-acpcore)
[![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-acpcore)](https://www.npmjs.com/package/@adobe/react-native-acpcore)
[![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepcore.svg)](https://www.npmjs.com/package/@adobe/react-native-aepcore)
[![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepcore)](https://www.npmjs.com/package/@adobe/react-native-aepcore)

## Usage

### Initializing:

Initializing the SDK should be done in native code, documentation on how to initialize the SDK can be found [here](https://aep-sdks.gitbook.io/docs/getting-started/get-the-sdk#2-add-initialization-code). The linked documentation initializes the User Profile extension which is not required, however, if you are interested in the User Profile extension for React Native you can find it [here](https://www.npmjs.com/package/@adobe/react-native-acpuserprofile).
Initializing the SDK should be done in native code, documentation on how to initialize the SDK can be found [here](https://aep-sdks.gitbook.io/docs/getting-started/get-the-sdk#2-add-initialization-code). The linked documentation initializes the User Profile extension which is not required, however, if you are interested in the User Profile extension for React Native you can find it [here](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile).

### [Core](https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core)

Expand Down
48 changes: 48 additions & 0 deletions packages/userprofile/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

# OSX
#
.DS_Store

# node.js
#
node_modules/
npm-debug.log
yarn-error.log


# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
ios/Pods
ios/*.xcworkspace

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# BUCK
buck-out/
\.buckd/
*.keystore
acp-sdks/
.*tgz
4 changes: 2 additions & 2 deletions packages/userprofile/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

# React Native AEP User Profile Extension

[![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-acpuserprofile.svg)](https://www.npmjs.com/package/@adobe/react-native-acpuserprofile)
[![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-acpuserprofile)](https://www.npmjs.com/package/@adobe/react-native-acpuserprofile)
[![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepuserprofile.svg)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile)
[![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepuserprofile)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile)

## Usage

Expand Down
8 changes: 0 additions & 8 deletions packages/userprofile/android/local.properties

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
2 changes: 1 addition & 1 deletion packages/userprofile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/react-native-aepuserprofile",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Adobe Experience Platform support for React Native apps.",
"homepage": "https://aep-sdks.gitbook.io/docs/",
"license": "Apache-2.0",
Expand Down