mg-library 1.0.784 → 1.0.786

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.
Files changed (2) hide show
  1. package/login.js +8 -0
  2. package/package.json +1 -1
package/login.js CHANGED
@@ -114,6 +114,10 @@ export function onAutoLogin(dispatch, actions, app, apiUrl, language, setAppStat
114
114
  export function onAutoLoginWithAuthInfo(dispatch, actions, app, apiUrl, authInfo, language, setAppState, setNavigator) {
115
115
  setAppState({ isLoading: true });
116
116
  if (existsAuthInfoInStorage(authInfo)) {
117
+
118
+ console.log("con username y password");
119
+ console.log(apiUrl);
120
+
117
121
  try {
118
122
  let requestData = {
119
123
  app: app,
@@ -146,6 +150,10 @@ export function onAutoLoginWithAuthInfo(dispatch, actions, app, apiUrl, authInfo
146
150
  setAppState({ isLoading: false });
147
151
  };
148
152
  } else {
153
+
154
+ console.log("con accesstoken");
155
+ console.log(apiUrl);
156
+
149
157
  try {
150
158
  let requestData = {
151
159
  app: app,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.784",
3
+ "version": "1.0.786",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "react-native": "index.js",