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 CHANGED
@@ -36,8 +36,8 @@ export const EVENT_TYPES = {
36
36
 
37
37
  export const ADJUST = {
38
38
  ADJUST_TOKEN : 'y4o1gcezs6ps',
39
- ENVIRONMENT : 'SANDBOX', // or 'PRODUCTION'
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 = true;
53
+ export const DEBUG_MODE = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apps-sdk",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "Apps SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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();
package/types/index.d.ts CHANGED
@@ -100,7 +100,7 @@ declare module 'apps-sdk' {
100
100
  }
101
101
 
102
102
  export class Rating {
103
- showRatingDialog(): Promise<void>;
103
+ showRatingDialog(force?: boolean): Promise<void>;
104
104
  }
105
105
 
106
106
  export class NotificationsPush {