Skip to content
Open
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
7 changes: 0 additions & 7 deletions .migration_backup/_backup.json

This file was deleted.

63 changes: 0 additions & 63 deletions .migration_backup/package.json

This file was deleted.

18 changes: 0 additions & 18 deletions .vscode/launch.json

This file was deleted.

17 changes: 0 additions & 17 deletions .vscode/settings.json

This file was deleted.

Binary file removed af-logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion appsflyer.android.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export declare const generateInviteUrl: (args: AppsFlyerLinkGeneratorArgs) => Pr
export declare const stop: (isStopped: bool) => Promise<unknown>;
export declare const setSharingFilter: (partners: Array<string>) => Promise<unknown>;
export declare const setSharingFilterForAllPartners: () => Promise<unknown>;
export declare const _toHashMap: (obj: Object) => javautilHashMap<unknown, unknown>;
export declare const _toHashMap: (obj: Object) => any;
export declare const _toValue: (val: any) => any;
14 changes: 4 additions & 10 deletions appsflyer.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,14 @@ export const generateInviteUrl = function (args: AppsFlyerLinkGeneratorArgs) {
const listener: com.appsflyer.CreateOneLinkHttpTask.ResponseListener = new com.appsflyer.CreateOneLinkHttpTask.ResponseListener(<any>{
_successCallback: args.onSuccess,
_failureCallback: args.onError,
onResponse(): void {
onResponse(oneLinkUrl): void {
if (!this._successCallback) {
return;
}
if (typeof this._successCallback === 'function') {
try {
this._successCallback(args);
printLogs("generateInviteUrl success: " + JSON.stringify(args));
this._successCallback(oneLinkUrl);
printLogs("generateInviteUrl success: " + JSON.stringify(oneLinkUrl));
} catch (e) {
printLogs(`generateInviteUrl Error: ${e}`);
}
Expand Down Expand Up @@ -331,13 +331,7 @@ export const generateInviteUrl = function (args: AppsFlyerLinkGeneratorArgs) {
});
};
function isEmpty(obj) {
for (const prop in obj) {
if (Object.hasOwn(obj, prop)) {
return false;
}
}

return true;
return Object.entries(obj).length < 1
}
export const stop = function (isStopped: bool) {

Expand Down
8 changes: 1 addition & 7 deletions appsflyer.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,7 @@ const generateInviteUrl = function (args: AppsFlyerLinkGeneratorArgs) {
};

function isEmpty(obj) {
for (const prop in obj) {
if (Object.hasOwn(obj, prop)) {
return false;
}
}

return true;
return Object.entries(obj).length < 1
}

@NativeClass
Expand Down
19 changes: 0 additions & 19 deletions demoNative/.editorconfig

This file was deleted.

26 changes: 0 additions & 26 deletions demoNative/App_Resources/Android/app.gradle

This file was deleted.

15 changes: 0 additions & 15 deletions demoNative/App_Resources/Android/before-plugins.gradle

This file was deleted.

42 changes: 0 additions & 42 deletions demoNative/App_Resources/Android/src/main/AndroidManifest.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions demoNative/App_Resources/Android/src/main/res/values/colors.xml

This file was deleted.

This file was deleted.

Loading