apps-sdk 1.0.91 → 1.0.92
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/index.js +4 -0
- package/package.json +1 -1
- package/src/libraries/AdJust.js +0 -1
package/index.js
CHANGED
|
@@ -2,6 +2,10 @@ import {NotificationsPush, Networking, Storage, Session, Utils, PayWallLogic, Ra
|
|
|
2
2
|
import PayWall from "./src/components/PayWall";
|
|
3
3
|
|
|
4
4
|
class AppsSDK {
|
|
5
|
+
constructor() {
|
|
6
|
+
Storage.setTrackingPermissionFromStorage();
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
sobrescribeConsole = () => {
|
|
6
10
|
try {
|
|
7
11
|
console.log('Overwriting console.log and console.debug...');
|
package/package.json
CHANGED
package/src/libraries/AdJust.js
CHANGED
|
@@ -11,7 +11,6 @@ class AdJust {
|
|
|
11
11
|
async initialize() {
|
|
12
12
|
const adjustEnvironment = config.ADJUST.ENVIRONMENT === 'SANDBOX' ? AdjustConfig.EnvironmentSandbox : AdjustConfig.EnvironmentProduction;
|
|
13
13
|
const adjustLogLevel = config.ADJUST.LOG_LEVEL === 'VERBOSE' ? AdjustConfig.LogLevelVerbose : AdjustConfig.LogLevelSuppress;
|
|
14
|
-
await storage.setTrackingPermissionFromStorage()
|
|
15
14
|
console.log("Initializing AdJust. Environment: " + adjustEnvironment + ", Log level: " + adjustLogLevel + ", config.TRACKING_ACTIVE: " + config.TRACKING_ACTIVE);
|
|
16
15
|
try {
|
|
17
16
|
const adjustConfig = new AdjustConfig(config.ADJUST.ADJUST_TOKEN, adjustEnvironment);
|