apps-sdk 1.0.174 → 1.0.175
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/package.json +1 -1
- package/src/libraries/Networking.js +2 -2
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -222,8 +222,8 @@ class Networking {
|
|
|
222
222
|
return config.PAYWALL_DATA;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
sendEvent = async (eventType, eventKeyword, eventData={}) => {
|
|
226
|
-
if (config.TRACKING_ACTIVE === false && Platform.OS === 'ios') {
|
|
225
|
+
sendEvent = async (eventType, eventKeyword, eventData={}, forceSend = false) => {
|
|
226
|
+
if (config.TRACKING_ACTIVE === false && Platform.OS === 'ios' && !forceSend) {
|
|
227
227
|
console.log('Event not sent, tracking is denied (iOS): ', eventType, eventKeyword);
|
|
228
228
|
console.log('Tracking answered: ', config.TRACKING_ANSWERED);
|
|
229
229
|
if (!config.TRACKING_ANSWERED) {
|
package/types/index.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ declare module 'apps-sdk' {
|
|
|
74
74
|
setEndpoints(endpoints: any): void;
|
|
75
75
|
getEndpoints(): any;
|
|
76
76
|
setEvents(events: any): void;
|
|
77
|
-
sendEvent(eventType: string, eventKeyword:string, eventData?: object): Promise<void>;
|
|
77
|
+
sendEvent(eventType: string, eventKeyword:string, eventData?: object, forceSend?: boolean): Promise<void>;
|
|
78
78
|
createSubscription(): any;
|
|
79
79
|
checkConnection(): Promise<boolean>;
|
|
80
80
|
setImageCompression(compression: any): void;
|