apps-sdk 1.0.63 → 1.0.64
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/config.js +3 -3
- package/package.json +1 -1
- package/src/libraries/Rating.js +2 -2
- package/types/index.d.ts +1 -1
package/config.js
CHANGED
|
@@ -36,8 +36,8 @@ export const EVENT_TYPES = {
|
|
|
36
36
|
|
|
37
37
|
export const ADJUST = {
|
|
38
38
|
ADJUST_TOKEN : 'y4o1gcezs6ps',
|
|
39
|
-
ENVIRONMENT : '
|
|
40
|
-
LOG_LEVEL : 'VERBOSE'
|
|
39
|
+
ENVIRONMENT : 'PRODUCTION', // 'SANDBOX' or 'PRODUCTION'
|
|
40
|
+
LOG_LEVEL : 'SUPPRESS', // 'VERBOSE' or 'SUPPRESS'
|
|
41
41
|
ATTRIBUTION_DATA : {
|
|
42
42
|
ATTRIBUTION: {},
|
|
43
43
|
ADID: '',
|
|
@@ -50,4 +50,4 @@ export var TRACKING_ACTIVE = true;
|
|
|
50
50
|
|
|
51
51
|
export var FORCED_UPDATE = false;
|
|
52
52
|
|
|
53
|
-
export const DEBUG_MODE =
|
|
53
|
+
export const DEBUG_MODE = false;
|
package/package.json
CHANGED
package/src/libraries/Rating.js
CHANGED
|
@@ -3,9 +3,9 @@ import Storage from './Storage';
|
|
|
3
3
|
|
|
4
4
|
const REVIEW_INTERVAL = 1000 * 60 * 60 * 24 * 3; // 3 días
|
|
5
5
|
class Rating {
|
|
6
|
-
showRatingDialog = async () => {
|
|
6
|
+
showRatingDialog = async (force = false) => {
|
|
7
7
|
try {
|
|
8
|
-
if (await this.requestReviewIfNeeded()) {
|
|
8
|
+
if (force || (await this.requestReviewIfNeeded())) {
|
|
9
9
|
if (await StoreReview.hasAction()) {
|
|
10
10
|
if (await StoreReview.isAvailableAsync()) {
|
|
11
11
|
return await StoreReview.requestReview();
|