Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 apps/AEPSampleApp/extensions/AssuranceView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const AssuranceView = ({navigation}: NavigationProps) => {
<Button title="Start Session" onPress={startSessionClicked} />
<TextInput
style={{height: 40, margin: 10}}
placeholder="Paste your Assurance Session URL"
placeholder="assurance://"
onChangeText={val => setsessionURL(val)}
/>
</ScrollView>
Expand Down
8 changes: 0 additions & 8 deletions packages/edgeidentity/.babelrc

This file was deleted.

36 changes: 19 additions & 17 deletions packages/edgeidentity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class MainApplication extends Application implements ReactApplication {

### Importing the extension:
In your React Native application, import the Identity extension as follows:
```javascript
```typescript
import {Identity} from '@adobe/react-native-aepedgeidentity';
```

Expand All @@ -106,12 +106,12 @@ Returns the version of the Identity for Edge Network extension

**Syntax**

```javascript
```typescript
extensionVersion(): Promise<string>;
```
**Example**

```javascript
```typescript
Identity.extensionVersion().then(version => console.log("AdobeExperienceSDK: EdgeIdentity version: " + version));
```
### getExperienceCloudId:
Expand All @@ -120,12 +120,12 @@ This ID is preserved between app upgrades, is saved and restored during the stan
A promise method which will be invoked once the Experience Cloud ID is available or rejected if an unexpected error occurred or the request timed out.

**Syntax**
```javascript
```typescript
getExperienceCloudId(): Promise<string>;
```

**Example**
```javascript
```typescript
Identity.getExperienceCloudId().then(experienceCloudId => console.log("AdobeExperienceSDK: Experience Cloud Id = " + experienceCloudId));
```

Expand All @@ -134,11 +134,11 @@ Get all the identities in the Identity for Edge Network extension, including cus
A promise method which will be invoked once the identities are available or rejected if an unexpected error occurred or the request timed out.

**Syntax**
```javascript
```typescript
getIdentities(): Promise<IdentityMap>;
```
**Example**
```javascript
```typescript
Identity.getIdentities().then(identities => console.log("AdobeExperienceSDK: Get Identities = " + JSON.stringify(identities)));
```

Expand All @@ -153,11 +153,11 @@ Removing identities using a reserved namespace is not allowed using this API. Th
* GAID

**Syntax**
```javascript
```typescript
removeIdentity(item: IdentityItem, namespace: string);
```
**Example**
```javascript
```typescript
let identityItem = new IdentityItem("[email protected]");
Identity.removeIdentity(identityItem, "Email");
```
Expand All @@ -183,13 +183,13 @@ Updating identities using a reserved namespace is not allowed using this API. Th

**Syntax**

```javascript
```typescript
updateIdentities(identityMap: IdentityMap);
```

**Example**

```javascript
```typescript
let identityItem = new IdentityItem("[email protected]");
let map = new IdentityMap();
map.addItem(identityItem, "Email");
Expand Down Expand Up @@ -235,7 +235,7 @@ For more information, please read an overview of the [AEP Identity Service](http
}
```
**Example**
```javascript
```typescript
let map = new IdentityMap();

// Add an item
Expand Down Expand Up @@ -263,7 +263,7 @@ The format of the IdentityItem class is defined by the [XDM Identity Item Schema

**Example**

```javascript
```typescript
// Initialize
let item = new IdentityItem("identifier");

Expand All @@ -285,10 +285,12 @@ The possible authenticated states are:

**Syntax**

```javascript
static AUTHENTICATED: string;
static LOGGED_OUT: string;
static AMBIGUOUS: string;
```typescript
export enum AuthenticatedState {
AUTHENTICATED = 'authenticated',
LOGGED_OUT = 'loggedOut',
AMBIGUOUS = 'ambiguous'
}
```


Expand Down
Binary file not shown.

This file was deleted.

172 changes: 0 additions & 172 deletions packages/edgeidentity/android/gradlew

This file was deleted.

Loading