Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ yarn.lock
*.launch
.settings/
*.sublime-workspace
.idea

# IDE - VSCode
.vscode/*
Expand All @@ -43,3 +44,9 @@ Thumbs.db
*.tgz
packages/**/angular/dist
dist
.gradle
**/build/intermediates/**
**/build/kotlin/**
**/build/kotlinToolingMetadata/**
**/build/tmp/**
**/build/outputs/**
3 changes: 1 addition & 2 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"@nativescript/core": "file:../../node_modules/@nativescript/core",
"@essent/nativescript-ng-sentry": "file:../../packages/nativescript-ng-sentry",
"@essent/nativescript-adobe-experience-cloud": "file:../../packages/nativescript-adobe-experience-cloud",
"@essent/nativescript-appdynamics": "file:../../packages/nativescript-appdynamics",
"@essent/nativescript-appdynamics": "file:../../dist/packages/nativescript-appdynamics",
"@essent/nativescript-iadvize": "file:../../packages/nativescript-iadvize",
"@essent/nativescript-medallia": "file:../../packages/nativescript-medallia",
"@essent/nativescript-urban-airship": "file:../../packages/nativescript-urban-airship",
"@essent/nativescript-webview-ext": "file:../../packages/nativescript-webview-ext"
},
Expand Down
12 changes: 5 additions & 7 deletions apps/demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
}
]
},
"ios": {
"executor": "@nativescript/nx:build",
"debug": {
"executor": "@nativescript/nx:debug",
"options": {
"platform": "ios"
"noHmr": true
},
"dependsOn": [
{
Expand All @@ -46,10 +46,8 @@
]
},
"clean": {
"executor": "@nativescript/nx:build",
"options": {
"clean": true
}
"executor": "@nativescript/nx:clean",
"options": {}
},
"lint": {
"executor": "@nx/linter:eslint",
Expand Down
4 changes: 2 additions & 2 deletions packages/nativescript-adobe-experience-cloud/index.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class AdobeAnalytics extends AdobeAnalyticsCommon {
public initSdk(adobeAnalyticsSettings: AdobeAnalyticsSettings, applicationState: number): void {
ACPCore.setLogLevel(adobeAnalyticsSettings.debug ? ACPMobileLogLevel.Debug : ACPMobileLogLevel.Error);
ACPCore.configureWithAppId(adobeAnalyticsSettings.environmentId);
AEPAssurance.registerExtension();
// AEPMobileAssurance.registerExtension();
ACPTarget.registerExtension();
ACPUserProfile.registerExtension();
ACPIdentity.registerExtension();
Expand Down Expand Up @@ -80,6 +80,6 @@ export class AdobeAnalytics extends AdobeAnalyticsCommon {
}

public startAssuranceSession(url: NSURL): void {
AEPAssurance.startSession(url);
AEPMobileAssurance.startSession();
}
}
2 changes: 1 addition & 1 deletion packages/nativescript-adobe-experience-cloud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@essent/nativescript-adobe-experience-cloud",
"version": "3.0.0",
"version": "4.0.0-rc.0",
"description": "Nativescript Adobe experience cloud integration plugin",
"main": "index",
"typings": "index.d.ts",
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
platform :ios, '14.0'

use_frameworks!
pod 'AEPAssurance', '~> 1.0'
pod 'ACPTarget', '~> 2.1'
pod 'ACPUserProfile', '~> 2.0'
pod 'ACPCore', '~> 2.0'
pod 'ACPAnalytics', '~> 2.0'
pod 'AEPAssurance', '~> 4.0'
pod 'ACPTarget', '~> 2.2'
pod 'ACPUserProfile', '~> 2.2'
pod 'ACPCore', '~> 2.9'
pod 'ACPAnalytics', '~> 2.5'
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@NativeClass()
declare class ACPAnalytics extends NSObject {
static alloc(): ACPAnalytics; // inherited from NSObject

Expand All @@ -8,10 +7,16 @@ declare class ACPAnalytics extends NSObject {

static getQueueSize(callback: (p1: number) => void): void;

static getQueueSizeWithCompletionHandler(completionHandler: (p1: number, p2: NSError) => void): void;

static getTrackingIdentifier(callback: (p1: string) => void): void;

static getTrackingIdentifierWithCompletionHandler(completionHandler: (p1: string, p2: NSError) => void): void;

static getVisitorIdentifier(callback: (p1: string) => void): void;

static getVisitorIdentifierWithCompletionHandler(completionHandler: (p1: string, p2: NSError) => void): void;

static new(): ACPAnalytics; // inherited from NSObject

static registerExtension(): void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@NativeClass()
declare class ACPCore extends NSObject {
static alloc(): ACPCore; // inherited from NSObject

Expand Down Expand Up @@ -81,7 +80,6 @@ declare const enum ACPError {

declare var ACPErrorDomain: string;

@NativeClass()
declare class ACPExtension extends NSObject {
static alloc(): ACPExtension; // inherited from NSObject

Expand All @@ -98,7 +96,6 @@ declare class ACPExtension extends NSObject {
version(): string;
}

@NativeClass()
declare class ACPExtensionApi extends NSObject {
static alloc(): ACPExtensionApi; // inherited from NSObject

Expand Down Expand Up @@ -137,7 +134,6 @@ declare const enum ACPExtensionError {

declare var ACPExtensionErrorDomain: string;

@NativeClass()
declare class ACPExtensionEvent extends NSObject {
static alloc(): ACPExtensionEvent; // inherited from NSObject

Expand All @@ -160,7 +156,6 @@ declare class ACPExtensionEvent extends NSObject {
readonly eventUniqueIdentifier: string;
}

@NativeClass()
declare class ACPExtensionListener extends NSObject {
static alloc(): ACPExtensionListener; // inherited from NSObject

Expand All @@ -171,7 +166,6 @@ declare class ACPExtensionListener extends NSObject {
hear(event: ACPExtensionEvent): void;
}

@NativeClass()
declare class ACPHttpConnection extends NSObject {
static alloc(): ACPHttpConnection; // inherited from NSObject

Expand All @@ -195,7 +189,6 @@ declare var ACPHttpConnectionPerformer: {
prototype: ACPHttpConnectionPerformer;
};

@NativeClass()
declare class ACPIdentity extends NSObject {
static alloc(): ACPIdentity; // inherited from NSObject

Expand Down Expand Up @@ -228,7 +221,6 @@ declare class ACPIdentity extends NSObject {
static syncIdentifiersAuthentication(identifiers: NSDictionary<any, any>, authenticationState: ACPMobileVisitorAuthenticationState): void;
}

@NativeClass()
declare class ACPLifecycle extends NSObject {
static alloc(): ACPLifecycle; // inherited from NSObject

Expand Down Expand Up @@ -265,7 +257,6 @@ declare const enum ACPMobileVisitorAuthenticationState {
LoggedOut = 2,
}

@NativeClass()
declare class ACPMobileVisitorId extends NSObject {
static alloc(): ACPMobileVisitorId; // inherited from NSObject

Expand Down Expand Up @@ -298,7 +289,6 @@ declare const enum ACPMobileWrapperType {
Xamarin = 5,
}

@NativeClass()
declare class ACPNetworkServiceOverrider extends NSObject {
static alloc(): ACPNetworkServiceOverrider; // inherited from NSObject

Expand All @@ -307,7 +297,6 @@ declare class ACPNetworkServiceOverrider extends NSObject {
static setHttpConnectionPerformer(performer: ACPHttpConnectionPerformer): void;
}

@NativeClass()
declare class ACPSignal extends NSObject {
static alloc(): ACPSignal; // inherited from NSObject

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@NativeClass()
declare class ACPUserProfile extends NSObject {
static alloc(): ACPUserProfile; // inherited from NSObject

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
declare class AEPAssurance extends NSObject {
static alloc(): AEPAssurance; // inherited from NSObject
declare var AEPAssuranceVersionNumber: number;

static extensionVersion(): string;
declare var AEPAssuranceVersionString: interop.Reference<number>;

static new(): AEPAssurance; // inherited from NSObject
declare class AEPMobileAssurance extends NSObject {
static alloc(): AEPMobileAssurance; // inherited from NSObject

static registerExtension(): boolean;
static new(): AEPMobileAssurance; // inherited from NSObject

static startSession(url: NSURL): void;
}
static setExtensionVersion(value: string): void;

declare var AEPAssuranceVersionNumber: number;
static startSession(): void;

declare var AEPAssuranceVersionString: interop.Reference<number>;
static startSessionWithUrl(url: NSURL): void;

friendlyName: string;

metadata: NSDictionary<string, string>;

name: string;

runtime: AEPExtensionRuntime;

static extensionVersion: string;

constructor(o: { runtime: AEPExtensionRuntime });

initWithRuntime(runtime: AEPExtensionRuntime): this;

onRegistered(): void;

onUnregistered(): void;

readyForEvent(event: AEPEvent): boolean;
}
Loading