This repository was archived by the owner on Jun 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed
Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -83,14 +83,6 @@ export default class Weloop extends Component {
8383 "|" +
8484 user . key ;
8585 let token = CryptoJS . AES . encrypt ( msg , this . props . appGuid ) . toString ( ) ;
86- console . log (
87- "MSG: " +
88- msg +
89- " // KEY: " +
90- this . props . appGuid +
91- " // TOKEN: " +
92- token
93- ) ;
9486 return token ;
9587 } ;
9688
@@ -113,7 +105,6 @@ export default class Weloop extends Component {
113105 this . setState ( { isCaptured : false } ) ;
114106 break ;
115107 case "setNotificationCount" :
116- console . log ( JSON . parse ( event . nativeEvent . data ) . data . value ) ;
117108 if ( JSON . parse ( event . nativeEvent . data ) . data . value !== undefined )
118109 this . setState ( {
119110 notifNb : JSON . parse ( event . nativeEvent . data ) . data . value ,
@@ -148,16 +139,9 @@ export default class Weloop extends Component {
148139 this . state . token != null &&
149140 this . state . token != null
150141 ) {
151- setTimeout ( ( ) => {
152- console . log (
153- this . props . appGuid +
154- " " +
155- this . state . token
156- ) ;
157- this . webView . current . injectJavaScript (
158- `window.GetCurrentUser({ appGuid: '${ this . props . appGuid } ', token: '${ this . state . token } '});true;`
159- ) ;
160- } , 5000 ) ;
142+ this . webView . current . injectJavaScript (
143+ `window.GetCurrentUser({ appGuid: '${ this . props . appGuid } ', token: '${ this . state . token } '});true;`
144+ ) ;
161145 }
162146 this . setState ( { isLoading : false } ) ;
163147 } }
You can’t perform that action at this time.
0 commit comments