react-native-incognia 6.10.0 → 6.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.4.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/android/src/main/java/com/incognia/reactnative/IncogniaModule.java +1 -1
- package/ios/Incognia.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Incognia.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Incognia.xcodeproj/xcuserdata/mateus.loureiro.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/index.tsx +1 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Tue Nov 29 16:23:18 BRT 2022
|
|
2
2
|
gradle.version=7.4.2
|
|
@@ -57,7 +57,7 @@ public class IncogniaModule extends ReactContextBaseJavaModule {
|
|
|
57
57
|
private static final String ADDRESS_POSTAL_CODE_KEY = "postalCode";
|
|
58
58
|
private static final String ADDRESS_LATITUDE_KEY = "latitude";
|
|
59
59
|
private static final String ADDRESS_LONGITUDE_KEY = "longitude";
|
|
60
|
-
private static final String ADDRESS_LINE = "
|
|
60
|
+
private static final String ADDRESS_LINE = "addressLine";
|
|
61
61
|
|
|
62
62
|
private static final String SIGNUP_ID = "signupId";
|
|
63
63
|
private static final String SIGNUP_ADDRESS = "signupAddress";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Incognia.xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</dict>
|
|
13
|
+
</dict>
|
|
14
|
+
</plist>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.tsx"],"names":["IncogniaModule","NativeModules","setAccountId","clearAccountId","trackEvent","trackLocalizedEvent","requestPrivacyConsent","checkConsent","allowConsentTypes","denyConsentTypes","fetchInstallationId","setLocationEnabled","ConsentTypes","ADDRESS_VALIDATION","CONSENT_TYPE_ADDRESS_VALIDATION","ADVERTISEMENT","CONSENT_TYPE_ADVERTISEMENT","ENGAGE","CONSENT_TYPE_ENGAGE","EVENTS","CONSENT_TYPE_EVENTS","LOCATION","CONSENT_TYPE_LOCATION","CONTEXT_PROVIDER","CONSENT_TYPE_CONTEXT_PROVIDER","ALL","CONSENT_TYPES_ALL","NONE","CONSENT_TYPES_NONE","Trial","trackSignupSent","trackLoginSucceeded","trackPaymentSent","TransactionAddressTypes","BILLING","HOME","SHIPPING"],"mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"sources":["index.tsx"],"names":["IncogniaModule","NativeModules","setAccountId","clearAccountId","trackEvent","trackLocalizedEvent","requestPrivacyConsent","checkConsent","allowConsentTypes","denyConsentTypes","fetchInstallationId","setLocationEnabled","ConsentTypes","ADDRESS_VALIDATION","CONSENT_TYPE_ADDRESS_VALIDATION","ADVERTISEMENT","CONSENT_TYPE_ADVERTISEMENT","ENGAGE","CONSENT_TYPE_ENGAGE","EVENTS","CONSENT_TYPE_EVENTS","LOCATION","CONSENT_TYPE_LOCATION","CONTEXT_PROVIDER","CONSENT_TYPE_CONTEXT_PROVIDER","ALL","CONSENT_TYPES_ALL","NONE","CONSENT_TYPES_NONE","Trial","trackSignupSent","trackLoginSucceeded","trackPaymentSent","TransactionAddressTypes","BILLING","HOME","SHIPPING"],"mappings":";;;;;;;AAAA;;AA4FA,MAAM;AAAEA,EAAAA;AAAF,IAAqBC,0BAA3B;AAEO,MAAMC,YAAY,GAAGF,cAAc,CAACE,YAApC;;AACA,MAAMC,cAAc,GAAGH,cAAc,CAACG,cAAtC;;AACA,MAAMC,UAAU,GAAGJ,cAAc,CAACI,UAAlC;;AACA,MAAMC,mBAAmB,GAAGL,cAAc,CAACK,mBAA3C;;AACA,MAAMC,qBAAqB,GAAGN,cAAc,CAACM,qBAA7C;;AACA,MAAMC,YAAY,GAAGP,cAAc,CAACO,YAApC;;AACA,MAAMC,iBAAiB,GAAGR,cAAc,CAACQ,iBAAzC;;AACA,MAAMC,gBAAgB,GAAGT,cAAc,CAACS,gBAAxC;;AACA,MAAMC,mBAAmB,GAAGV,cAAc,CAACU,mBAA3C;;AACA,MAAMC,kBAAkB,GAAGX,cAAc,CAACW,kBAA1C;;AAEA,MAAMC,YAA8B,GAAG;AAC5CC,EAAAA,kBAAkB,EAAEb,cAAc,CAACc,+BADS;AAE5CC,EAAAA,aAAa,EAAEf,cAAc,CAACgB,0BAFc;AAG5CC,EAAAA,MAAM,EAAEjB,cAAc,CAACkB,mBAHqB;AAI5CC,EAAAA,MAAM,EAAEnB,cAAc,CAACoB,mBAJqB;AAK5CC,EAAAA,QAAQ,EAAErB,cAAc,CAACsB,qBALmB;AAM5CC,EAAAA,gBAAgB,EAAEvB,cAAc,CAACwB,6BANW;AAO5CC,EAAAA,GAAG,EAAEzB,cAAc,CAAC0B,iBAPwB;AAQ5CC,EAAAA,IAAI,EAAE3B,cAAc,CAAC4B;AARuB,CAAvC;;AAWA,MAAMC,KAAwB,GAAG;AACtCC,EAAAA,eAAe,EAAE9B,cAAc,CAAC8B,eADM;AAEtCC,EAAAA,mBAAmB,EAAE/B,cAAc,CAAC+B,mBAFE;AAGtCC,EAAAA,gBAAgB,EAAEhC,cAAc,CAACgC,gBAHK;AAItCC,EAAAA,uBAAuB,EAAE;AACvBC,IAAAA,OAAO,EAAE,SADc;AAEvBC,IAAAA,IAAI,EAAE,MAFiB;AAGvBC,IAAAA,QAAQ,EAAE;AAHa;AAJa,CAAjC;;eAWQ;AACblC,EAAAA,YADa;AAEbC,EAAAA,cAFa;AAGbC,EAAAA,UAHa;AAIbC,EAAAA,mBAJa;AAKbC,EAAAA,qBALa;AAMbC,EAAAA,YANa;AAObC,EAAAA,iBAPa;AAQbC,EAAAA,gBARa;AASbC,EAAAA,mBATa;AAUbC,EAAAA,kBAVa;AAWbkB,EAAAA,KAXa;AAYbjB,EAAAA;AAZa,C","sourcesContent":["import { NativeModules } from 'react-native';\n\ntype IncogniaType = {\n setAccountId(accountId: string): void;\n clearAccountId(): void;\n trackEvent(params: TrackEventParamsType): void;\n trackLocalizedEvent(params: TrackEventParamsType): void;\n requestPrivacyConsent(params: ConsentRequestParamsType): Promise<any>;\n checkConsent(consentTypes: Array<string>): Promise<any>;\n allowConsentTypes(consentTypes: Array<string>): void;\n denyConsentTypes(consentTypes: Array<string>): void;\n fetchInstallationId(): Promise<string>;\n setLocationEnabled(enabled: boolean): void;\n ConsentTypes: ConsentTypesType;\n Trial: IncogniaTrialType;\n};\n\ntype IncogniaTrialType = {\n trackSignupSent(params: TrackSignupParamsType): void;\n trackLoginSucceeded(params: TrackLoginSucceededParamsType): void;\n trackPaymentSent(params: TrackPaymentParamsType): void;\n TransactionAddressTypes: TranscationAddressTypesType;\n};\n\ntype ConsentTypesType = {\n readonly ADDRESS_VALIDATION: string;\n readonly ADVERTISEMENT: string;\n readonly ENGAGE: string;\n readonly EVENTS: string;\n readonly LOCATION: string;\n readonly CONTEXT_PROVIDER: string;\n readonly ALL: Array<string>;\n readonly NONE: Array<string>;\n};\n\ntype TranscationAddressTypesType = {\n readonly BILLING: string;\n readonly SHIPPING: string;\n readonly HOME: string;\n};\n\ntype TrackEventParamsType = {\n eventName: string;\n eventProperties?: Object;\n};\n\ntype TrackSignupParamsType = {\n signupId?: string;\n signupAddress?: UserAddressType;\n properties?: Object;\n};\n\ntype TrackLoginSucceededParamsType = {\n loginId?: string;\n accountId?: string;\n properties?: Object;\n};\n\ntype TrackPaymentParamsType = {\n transactionId?: string;\n transactionAddresses?: Array<TransactionAddressType>;\n properties?: Object;\n};\n\ntype UserAddressType = {\n locale?: string;\n countryName?: string;\n countryCode?: string;\n adminArea?: string;\n subAdminArea?: string;\n locality?: string;\n subLocality?: string;\n thoroughfare?: string;\n subThoroughfare?: string;\n postalCode?: string;\n latitude?: number;\n longitude?: number;\n addressLine?: string;\n};\n\ntype TransactionAddressType = UserAddressType & {\n type: string;\n};\n\ntype ConsentRequestParamsType = {\n dialogTitle: string;\n dialogMessage: string;\n dialogAcceptText: string;\n dialogDenyText: string;\n consentTypes: Array<string>;\n};\n\nconst { IncogniaModule } = NativeModules;\n\nexport const setAccountId = IncogniaModule.setAccountId;\nexport const clearAccountId = IncogniaModule.clearAccountId;\nexport const trackEvent = IncogniaModule.trackEvent;\nexport const trackLocalizedEvent = IncogniaModule.trackLocalizedEvent;\nexport const requestPrivacyConsent = IncogniaModule.requestPrivacyConsent;\nexport const checkConsent = IncogniaModule.checkConsent;\nexport const allowConsentTypes = IncogniaModule.allowConsentTypes;\nexport const denyConsentTypes = IncogniaModule.denyConsentTypes;\nexport const fetchInstallationId = IncogniaModule.fetchInstallationId;\nexport const setLocationEnabled = IncogniaModule.setLocationEnabled;\n\nexport const ConsentTypes: ConsentTypesType = {\n ADDRESS_VALIDATION: IncogniaModule.CONSENT_TYPE_ADDRESS_VALIDATION,\n ADVERTISEMENT: IncogniaModule.CONSENT_TYPE_ADVERTISEMENT,\n ENGAGE: IncogniaModule.CONSENT_TYPE_ENGAGE,\n EVENTS: IncogniaModule.CONSENT_TYPE_EVENTS,\n LOCATION: IncogniaModule.CONSENT_TYPE_LOCATION,\n CONTEXT_PROVIDER: IncogniaModule.CONSENT_TYPE_CONTEXT_PROVIDER,\n ALL: IncogniaModule.CONSENT_TYPES_ALL,\n NONE: IncogniaModule.CONSENT_TYPES_NONE,\n};\n\nexport const Trial: IncogniaTrialType = {\n trackSignupSent: IncogniaModule.trackSignupSent,\n trackLoginSucceeded: IncogniaModule.trackLoginSucceeded,\n trackPaymentSent: IncogniaModule.trackPaymentSent,\n TransactionAddressTypes: {\n BILLING: 'billing',\n HOME: 'home',\n SHIPPING: 'shipping',\n },\n};\n\nexport default {\n setAccountId,\n clearAccountId,\n trackEvent,\n trackLocalizedEvent,\n requestPrivacyConsent,\n checkConsent,\n allowConsentTypes,\n denyConsentTypes,\n fetchInstallationId,\n setLocationEnabled,\n Trial,\n ConsentTypes,\n} as IncogniaType;\n"]}
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.tsx"],"names":["NativeModules","IncogniaModule","setAccountId","clearAccountId","trackEvent","trackLocalizedEvent","requestPrivacyConsent","checkConsent","allowConsentTypes","denyConsentTypes","fetchInstallationId","setLocationEnabled","ConsentTypes","ADDRESS_VALIDATION","CONSENT_TYPE_ADDRESS_VALIDATION","ADVERTISEMENT","CONSENT_TYPE_ADVERTISEMENT","ENGAGE","CONSENT_TYPE_ENGAGE","EVENTS","CONSENT_TYPE_EVENTS","LOCATION","CONSENT_TYPE_LOCATION","CONTEXT_PROVIDER","CONSENT_TYPE_CONTEXT_PROVIDER","ALL","CONSENT_TYPES_ALL","NONE","CONSENT_TYPES_NONE","Trial","trackSignupSent","trackLoginSucceeded","trackPaymentSent","TransactionAddressTypes","BILLING","HOME","SHIPPING"],"mappings":"AAAA,SAASA,aAAT,QAA8B,cAA9B;
|
|
1
|
+
{"version":3,"sources":["index.tsx"],"names":["NativeModules","IncogniaModule","setAccountId","clearAccountId","trackEvent","trackLocalizedEvent","requestPrivacyConsent","checkConsent","allowConsentTypes","denyConsentTypes","fetchInstallationId","setLocationEnabled","ConsentTypes","ADDRESS_VALIDATION","CONSENT_TYPE_ADDRESS_VALIDATION","ADVERTISEMENT","CONSENT_TYPE_ADVERTISEMENT","ENGAGE","CONSENT_TYPE_ENGAGE","EVENTS","CONSENT_TYPE_EVENTS","LOCATION","CONSENT_TYPE_LOCATION","CONTEXT_PROVIDER","CONSENT_TYPE_CONTEXT_PROVIDER","ALL","CONSENT_TYPES_ALL","NONE","CONSENT_TYPES_NONE","Trial","trackSignupSent","trackLoginSucceeded","trackPaymentSent","TransactionAddressTypes","BILLING","HOME","SHIPPING"],"mappings":"AAAA,SAASA,aAAT,QAA8B,cAA9B;AA4FA,MAAM;AAAEC,EAAAA;AAAF,IAAqBD,aAA3B;AAEA,OAAO,MAAME,YAAY,GAAGD,cAAc,CAACC,YAApC;AACP,OAAO,MAAMC,cAAc,GAAGF,cAAc,CAACE,cAAtC;AACP,OAAO,MAAMC,UAAU,GAAGH,cAAc,CAACG,UAAlC;AACP,OAAO,MAAMC,mBAAmB,GAAGJ,cAAc,CAACI,mBAA3C;AACP,OAAO,MAAMC,qBAAqB,GAAGL,cAAc,CAACK,qBAA7C;AACP,OAAO,MAAMC,YAAY,GAAGN,cAAc,CAACM,YAApC;AACP,OAAO,MAAMC,iBAAiB,GAAGP,cAAc,CAACO,iBAAzC;AACP,OAAO,MAAMC,gBAAgB,GAAGR,cAAc,CAACQ,gBAAxC;AACP,OAAO,MAAMC,mBAAmB,GAAGT,cAAc,CAACS,mBAA3C;AACP,OAAO,MAAMC,kBAAkB,GAAGV,cAAc,CAACU,kBAA1C;AAEP,OAAO,MAAMC,YAA8B,GAAG;AAC5CC,EAAAA,kBAAkB,EAAEZ,cAAc,CAACa,+BADS;AAE5CC,EAAAA,aAAa,EAAEd,cAAc,CAACe,0BAFc;AAG5CC,EAAAA,MAAM,EAAEhB,cAAc,CAACiB,mBAHqB;AAI5CC,EAAAA,MAAM,EAAElB,cAAc,CAACmB,mBAJqB;AAK5CC,EAAAA,QAAQ,EAAEpB,cAAc,CAACqB,qBALmB;AAM5CC,EAAAA,gBAAgB,EAAEtB,cAAc,CAACuB,6BANW;AAO5CC,EAAAA,GAAG,EAAExB,cAAc,CAACyB,iBAPwB;AAQ5CC,EAAAA,IAAI,EAAE1B,cAAc,CAAC2B;AARuB,CAAvC;AAWP,OAAO,MAAMC,KAAwB,GAAG;AACtCC,EAAAA,eAAe,EAAE7B,cAAc,CAAC6B,eADM;AAEtCC,EAAAA,mBAAmB,EAAE9B,cAAc,CAAC8B,mBAFE;AAGtCC,EAAAA,gBAAgB,EAAE/B,cAAc,CAAC+B,gBAHK;AAItCC,EAAAA,uBAAuB,EAAE;AACvBC,IAAAA,OAAO,EAAE,SADc;AAEvBC,IAAAA,IAAI,EAAE,MAFiB;AAGvBC,IAAAA,QAAQ,EAAE;AAHa;AAJa,CAAjC;AAWP,eAAe;AACblC,EAAAA,YADa;AAEbC,EAAAA,cAFa;AAGbC,EAAAA,UAHa;AAIbC,EAAAA,mBAJa;AAKbC,EAAAA,qBALa;AAMbC,EAAAA,YANa;AAObC,EAAAA,iBAPa;AAQbC,EAAAA,gBARa;AASbC,EAAAA,mBATa;AAUbC,EAAAA,kBAVa;AAWbkB,EAAAA,KAXa;AAYbjB,EAAAA;AAZa,CAAf","sourcesContent":["import { NativeModules } from 'react-native';\n\ntype IncogniaType = {\n setAccountId(accountId: string): void;\n clearAccountId(): void;\n trackEvent(params: TrackEventParamsType): void;\n trackLocalizedEvent(params: TrackEventParamsType): void;\n requestPrivacyConsent(params: ConsentRequestParamsType): Promise<any>;\n checkConsent(consentTypes: Array<string>): Promise<any>;\n allowConsentTypes(consentTypes: Array<string>): void;\n denyConsentTypes(consentTypes: Array<string>): void;\n fetchInstallationId(): Promise<string>;\n setLocationEnabled(enabled: boolean): void;\n ConsentTypes: ConsentTypesType;\n Trial: IncogniaTrialType;\n};\n\ntype IncogniaTrialType = {\n trackSignupSent(params: TrackSignupParamsType): void;\n trackLoginSucceeded(params: TrackLoginSucceededParamsType): void;\n trackPaymentSent(params: TrackPaymentParamsType): void;\n TransactionAddressTypes: TranscationAddressTypesType;\n};\n\ntype ConsentTypesType = {\n readonly ADDRESS_VALIDATION: string;\n readonly ADVERTISEMENT: string;\n readonly ENGAGE: string;\n readonly EVENTS: string;\n readonly LOCATION: string;\n readonly CONTEXT_PROVIDER: string;\n readonly ALL: Array<string>;\n readonly NONE: Array<string>;\n};\n\ntype TranscationAddressTypesType = {\n readonly BILLING: string;\n readonly SHIPPING: string;\n readonly HOME: string;\n};\n\ntype TrackEventParamsType = {\n eventName: string;\n eventProperties?: Object;\n};\n\ntype TrackSignupParamsType = {\n signupId?: string;\n signupAddress?: UserAddressType;\n properties?: Object;\n};\n\ntype TrackLoginSucceededParamsType = {\n loginId?: string;\n accountId?: string;\n properties?: Object;\n};\n\ntype TrackPaymentParamsType = {\n transactionId?: string;\n transactionAddresses?: Array<TransactionAddressType>;\n properties?: Object;\n};\n\ntype UserAddressType = {\n locale?: string;\n countryName?: string;\n countryCode?: string;\n adminArea?: string;\n subAdminArea?: string;\n locality?: string;\n subLocality?: string;\n thoroughfare?: string;\n subThoroughfare?: string;\n postalCode?: string;\n latitude?: number;\n longitude?: number;\n addressLine?: string;\n};\n\ntype TransactionAddressType = UserAddressType & {\n type: string;\n};\n\ntype ConsentRequestParamsType = {\n dialogTitle: string;\n dialogMessage: string;\n dialogAcceptText: string;\n dialogDenyText: string;\n consentTypes: Array<string>;\n};\n\nconst { IncogniaModule } = NativeModules;\n\nexport const setAccountId = IncogniaModule.setAccountId;\nexport const clearAccountId = IncogniaModule.clearAccountId;\nexport const trackEvent = IncogniaModule.trackEvent;\nexport const trackLocalizedEvent = IncogniaModule.trackLocalizedEvent;\nexport const requestPrivacyConsent = IncogniaModule.requestPrivacyConsent;\nexport const checkConsent = IncogniaModule.checkConsent;\nexport const allowConsentTypes = IncogniaModule.allowConsentTypes;\nexport const denyConsentTypes = IncogniaModule.denyConsentTypes;\nexport const fetchInstallationId = IncogniaModule.fetchInstallationId;\nexport const setLocationEnabled = IncogniaModule.setLocationEnabled;\n\nexport const ConsentTypes: ConsentTypesType = {\n ADDRESS_VALIDATION: IncogniaModule.CONSENT_TYPE_ADDRESS_VALIDATION,\n ADVERTISEMENT: IncogniaModule.CONSENT_TYPE_ADVERTISEMENT,\n ENGAGE: IncogniaModule.CONSENT_TYPE_ENGAGE,\n EVENTS: IncogniaModule.CONSENT_TYPE_EVENTS,\n LOCATION: IncogniaModule.CONSENT_TYPE_LOCATION,\n CONTEXT_PROVIDER: IncogniaModule.CONSENT_TYPE_CONTEXT_PROVIDER,\n ALL: IncogniaModule.CONSENT_TYPES_ALL,\n NONE: IncogniaModule.CONSENT_TYPES_NONE,\n};\n\nexport const Trial: IncogniaTrialType = {\n trackSignupSent: IncogniaModule.trackSignupSent,\n trackLoginSucceeded: IncogniaModule.trackLoginSucceeded,\n trackPaymentSent: IncogniaModule.trackPaymentSent,\n TransactionAddressTypes: {\n BILLING: 'billing',\n HOME: 'home',\n SHIPPING: 'shipping',\n },\n};\n\nexport default {\n setAccountId,\n clearAccountId,\n trackEvent,\n trackLocalizedEvent,\n requestPrivacyConsent,\n checkConsent,\n allowConsentTypes,\n denyConsentTypes,\n fetchInstallationId,\n setLocationEnabled,\n Trial,\n ConsentTypes,\n} as IncogniaType;\n"]}
|
package/package.json
CHANGED