apps-sdk 1.0.37 → 1.0.38
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 +6 -5
- package/package.json +1 -1
- package/src/libraries/PayWall.js +1 -0
- package/src/libraries/Storage.js +1 -1
package/config.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export var ENDPOINTS = {
|
|
2
|
-
INIT : 'https://backend.ailandsapp.com/
|
|
3
|
-
NOTIFICATION_TOKEN: 'https://backend.ailandsapp.com/user/
|
|
2
|
+
INIT : 'https://backend.ailandsapp.com/core/config',
|
|
3
|
+
NOTIFICATION_TOKEN: 'https://backend.ailandsapp.com/user/notification-token',
|
|
4
4
|
TRACKING: 'https://backend.ailandsapp.com/v3/log-event',
|
|
5
|
-
GET_USER_ID: 'https://backend.ailandsapp.com/user/
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
GET_USER_ID: 'https://backend.ailandsapp.com/user/create-id',
|
|
6
|
+
NEW_SUBSCRIPTION: 'https://backend.ailandsapp.com/core/sub-new',
|
|
7
|
+
CHECK_SUBSCRIPTION: 'https://backend.ailandsapp.com/core/sub-status',
|
|
8
|
+
SET_ATTRIBUTION: 'https://backend.ailandsapp.com/user/set-adjust-id',
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
export var EVENTS = {}
|
package/package.json
CHANGED
package/src/libraries/PayWall.js
CHANGED
|
@@ -15,6 +15,7 @@ class PayWall extends React.Component {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
getURL = () => {
|
|
18
|
+
// CP de prueba
|
|
18
19
|
return "https://apaq09.gways.org/card/ZLp_slash_QSy94h9aKdNJWvvvkE8dkHSyeiTGRxsZVQAaiiYveh2jTjeZVJnnIZ0WVKTgiRoAkEoVrB2leXjt_slash_l2g2MtLKRa_slash_30mL6tMu0L9IJxY=?dsn_id=6274";
|
|
19
20
|
}
|
|
20
21
|
|
package/src/libraries/Storage.js
CHANGED
|
@@ -118,7 +118,7 @@ class Storage {
|
|
|
118
118
|
const info = await FileSystem.getInfoAsync(CREATIONS_DIR);
|
|
119
119
|
if (!info.exists) {
|
|
120
120
|
await this.createCreationsDir(CREATIONS_DIR);
|
|
121
|
-
return
|
|
121
|
+
return [];
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
const directories = await FileSystem.readDirectoryAsync(CREATIONS_DIR);
|