Skip to content

Commit ea681bb

Browse files
author
Oleksandr Shvetsov
committed
Removed credentials from samples
1 parent 47bf023 commit ea681bb

File tree

14 files changed

+65
-59
lines changed

14 files changed

+65
-59
lines changed

samples/chat/js/QBconfig.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ var QBconfig = {
33
appId: '',
44
authKey: '',
55
authSecret: '',
6-
accountKey: '',
7-
apiDomain: 'https://api.quickblox.com',
8-
chatDomain: 'chat.quickblox.com'
6+
accountKey: ''
97
},
108
appConfig: {
119
chatProtocol: {

samples/chat_bots/rivescript/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ const RiveScript = require('rivescript');
1919
// new user for you chat bot. Then put here user's ID, password, login and full name.
2020
//
2121
const CONFIG = {
22-
"appId": "13318",
23-
"authKey": "WzrAY7vrGmbgFfP",
24-
"authSecret": "xS2uerEveGHmEun",
22+
"appId": "",
23+
"authKey": "",
24+
"authSecret": "",
2525
"user": {
26-
"id": "2740296",
27-
"login": "qbot",
28-
"password": "mehdoh00",
29-
"fullname": "qbot"
26+
"id": "",
27+
"login": "",
28+
"password": "",
29+
"fullname": ""
3030
}
3131
};
3232

samples/chat_bots/simple_bot/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ const QB = require('../../../src/qbMain.js');
1313
// new user for you chat bot. Then put here user's ID, password and full name.
1414
//
1515
const CONFIG = {
16-
"appId": "13318",
17-
"authKey": "WzrAY7vrGmbgFfP",
18-
"authSecret": "xS2uerEveGHmEun",
16+
"appId": "",
17+
"authKey": "",
18+
"authSecret": "",
1919
"botUser": {
20-
"id": "2740296",
21-
"password": "mehdoh00",
22-
"fullname": "Your best friend bot"
20+
"id": "",
21+
"password": "",
22+
"fullname": ""
2323
}
2424
};
2525

samples/cordova/text_chat/platforms/android/assets/www/js/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var QBApp = {
2-
appId: 48856,
3-
authKey: 'j-VdGKXC6AucLQw',
4-
authSecret: 'JcUa5b66MGuZJZj'
2+
appId: '',
3+
authKey: '',
4+
authSecret: ''
55
};
66

77
var config = {

samples/cordova/text_chat/platforms/browser/www/js/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var QBApp = {
2-
appId: 48856,
3-
authKey: 'j-VdGKXC6AucLQw',
4-
authSecret: 'JcUa5b66MGuZJZj'
2+
appId: '',
3+
authKey: '',
4+
authSecret: ''
55
};
66

77
var config = {

samples/cordova/text_chat/platforms/ios/www/js/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var QBApp = {
2-
appId: 48856,
3-
authKey: 'j-VdGKXC6AucLQw',
4-
authSecret: 'JcUa5b66MGuZJZj'
2+
appId: '',
3+
authKey: '',
4+
authSecret: ''
55
};
66

77
var config = {

samples/cordova/text_chat/www/js/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var QBApp = {
2-
appId: 48856,
3-
authKey: 'j-VdGKXC6AucLQw',
4-
authSecret: 'JcUa5b66MGuZJZj'
2+
appId: '',
3+
authKey: '',
4+
authSecret: ''
55
};
66

77
var config = {

samples/cordova/video_chat/platforms/android/assets/www/config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
var CREDENTIALS = {
1313
'prod': {
14-
'appId': 40718,
15-
'authKey': 'AnB-JpA6r4y6RmS',
16-
'authSecret': '3O7Sr5Pg4Qjexwn'
14+
'appId': '',
15+
'authKey': '',
16+
'authSecret': ''
1717
},
1818
'test': {
19-
'appId': 39854,
20-
'authKey': 'JtensAa9y4AM5Yk',
21-
'authSecret': 'AsDFwwwxpr3LN5w'
19+
'appId': '',
20+
'authKey': '',
21+
'authSecret': ''
2222
}
2323
};
2424

samples/cordova/video_chat/platforms/browser/www/config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
var CREDENTIALS = {
1313
'prod': {
14-
'appId': 40718,
15-
'authKey': 'AnB-JpA6r4y6RmS',
16-
'authSecret': '3O7Sr5Pg4Qjexwn'
14+
'appId': '',
15+
'authKey': '',
16+
'authSecret': ''
1717
},
1818
'test': {
19-
'appId': 39854,
20-
'authKey': 'JtensAa9y4AM5Yk',
21-
'authSecret': 'AsDFwwwxpr3LN5w'
19+
'appId': '',
20+
'authKey': '',
21+
'authSecret': ''
2222
}
2323
};
2424

samples/cordova/video_chat/platforms/ios/www/config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
var CREDENTIALS = {
1313
'prod': {
14-
'appId': 40718,
15-
'authKey': 'AnB-JpA6r4y6RmS',
16-
'authSecret': '3O7Sr5Pg4Qjexwn'
14+
'appId': '',
15+
'authKey': '',
16+
'authSecret': ''
1717
},
1818
'test': {
19-
'appId': 39854,
20-
'authKey': 'JtensAa9y4AM5Yk',
21-
'authSecret': 'AsDFwwwxpr3LN5w'
19+
'appId': '',
20+
'authKey': '',
21+
'authSecret': ''
2222
}
2323
};
2424

samples/cordova/video_chat/www/config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
var CREDENTIALS = {
1313
'prod': {
14-
'appId': 40718,
15-
'authKey': 'AnB-JpA6r4y6RmS',
16-
'authSecret': '3O7Sr5Pg4Qjexwn'
14+
'appId': '',
15+
'authKey': '',
16+
'authSecret': ''
1717
},
1818
'test': {
19-
'appId': 39854,
20-
'authKey': 'JtensAa9y4AM5Yk',
21-
'authSecret': 'AsDFwwwxpr3LN5w'
19+
'appId': '',
20+
'authKey': '',
21+
'authSecret': ''
2222
}
2323
};
2424

samples/data/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22

33
var QB_CREDS = {
4-
appId: 72448,
5-
authKey: 'f4HYBYdeqTZ7KNb',
6-
authSecret: 'ZC7dK39bOjVc-Z8'
4+
appId: '',
5+
authKey: '',
6+
authSecret: ''
77
};
88

99
var QB_CONFIG = {

samples/video_conferencing/js/config/apps.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
var creds = {
2-
appId: 80472,
3-
authKey: 'qVAGu7ndaCga5Sx',
4-
authSecret: 'NZqrmTNgaxM7VSW',
5-
accountKey: 'uK_8uinNyz8-npTNB6tx'
2+
appId: '',
3+
authKey: '',
4+
authSecret: '',
5+
accountKey: ''
66
};
77

88
var config = {

samples/webrtc/js/app.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,14 @@
845845
document.querySelector('.j-caller__ctrl').removeAttribute('hidden');
846846
}
847847

848+
if(call.callTimer) {
849+
$('#timer').addClass('invisible');
850+
clearInterval(call.callTimer);
851+
call.callTimer = null;
852+
call.callTime = 0;
853+
app.helpers.network = {};
854+
}
855+
848856
};
849857

850858
QB.webrtc.onUserNotAnswerListener = function onUserNotAnswerListener(session, userId) {

0 commit comments

Comments
 (0)