Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: point to correct webpack transformer plugin for NativeClass #79

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 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 .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ demoNative/

*.svg
*.log
*.ts
*.js
!*.d.ts

es6-promise.d.ts
Expand Down
21 changes: 15 additions & 6 deletions appsflyer.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let _isDebugLocal = false;
let _conversionDataDelegate;
let _deepLinkDelegate;

export const initSdk = function (args: InitSDKOptions) {
const initSdk = function (args: InitSDKOptions) {

return new Promise(function (resolve, reject) {
try {
Expand Down Expand Up @@ -75,7 +75,7 @@ export const initSdk = function (args: InitSDKOptions) {
};


export const logEvent = function (args: LogEventOptions) {
const logEvent = function (args: LogEventOptions) {

return new Promise(function (resolve, reject) {
try {
Expand All @@ -101,7 +101,7 @@ export const logEvent = function (args: LogEventOptions) {

};

export const stop = function (isStopped: bool) {
const stop = function (isStopped: bool) {

return new Promise(function (resolve, reject) {
try {
Expand All @@ -122,7 +122,7 @@ export const stop = function (isStopped: bool) {
});
};

export const setCustomerUserId = function (userId: string) {
const setCustomerUserId = function (userId: string) {

return new Promise(function (resolve, reject) {
try {
Expand All @@ -143,7 +143,7 @@ export const setCustomerUserId = function (userId: string) {
});
};

export const setAppInviteOneLink = function (link: string) {
const setAppInviteOneLink = function (link: string) {

return new Promise(function (resolve, reject) {
try {
Expand All @@ -164,7 +164,7 @@ export const setAppInviteOneLink = function (link: string) {
});
};

export const generateInviteUrl = function (args: AppsFlyerLinkGeneratorArgs) {
const generateInviteUrl = function (args: AppsFlyerLinkGeneratorArgs) {

return new Promise(function (resolve, reject) {
try {
Expand Down Expand Up @@ -379,3 +379,12 @@ class ConversionDataDelegate extends NSObject implements AppsFlyerLibDelegate {
}

}

export {
initSdk,
logEvent,
stop,
setCustomerUserId,
setAppInviteOneLink,
generateInviteUrl,
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-plugin-appsflyer",
"version": "6.12.6",
"version": "6.12.7",
"description": "Appsflyer SDK for NativeScript applications",
"main": "appsflyer",
"typings": "index.d.ts",
Expand Down