You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made/Proposed changes:
Added fetch API instead $.ajax() and request() (REST API support for NativeScript);
Chat adapted for NativeScript enviroments;
Fix TypeError: Cannot read property 'statusCode' of undefined for Node env;
Add stream management test cases;
The MessageProxy and the DialogProxy were remove from qbChat.js to separate modules;
Add link on API ref. in Readme.md;
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,14 @@ The QuickBlox JavaScript SDK provides a JavaScript library making it even easier
9
9
10
10
[QuickBlox](https://quickblox.com) is a suite of communication features & data services (APIs, SDKs, code samples, admin panel, tutorials) which help digital agencies, mobile developers and publishers to add great communication functionality to smartphone applications like in Skype, WhatsApp, Viber.
11
11
12
+
Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-sdk/docs/) for more detailed information about our SDK.
<preclass="prettyprint"><code>var UDID = 'D337E8A4-80AD-8ABA-9F5D-579EFF6BACAB';function gotContacts(err, contacts) { contacts.forEach( (contact) => { alert(contact); })}QB.addressbook.get(gotContacts);// or you could specify what address book you need by udidQB.addressbook.get(UDID, gotContacts);</code></pre>
The method is used to create, update and delete contacts in address book.<br/>
1000
-
If contact doesn't exist in address book then it will be created. If contacts exists then it will be updated.
1001
-
If pass 'destroy: 1' then the contact will be removed.<br/>
1002
-
<atarget="_blank" href="https://quickblox.com/developers/AddressBook">Found more here</a>. <br/>
1003
-
The method accepts 2 or 3 parameters.
986
+
The method is used to create, update and delete contacts in address book.<br/>If contact doesn't exist in address book then it will be created. If contacts exists then it will be updated.If pass 'destroy: 1' then the contact will be removed.<br/><atarget="_blank" href="https://quickblox.com/developers/AddressBook">Found more here</a>. <br/>The method accepts 2 or 3 parameters.
User's device identifier. If specified all operations will be in this context. Max length 64 symbols.
1132
-
If not - it means a user has one global address book across all his devices.</td>
1114
+
User's device identifier. If specified all operations will be in this context. Max length 64 symbols.If not - it means a user has one global address book across all his devices.</td>
<preclass="prettyprint"><code>var people = [{ 'name':'Frederic Cartwright', 'phone': '8879108395' }, { 'phone': '8759108396', 'destroy': 1 }]; var options = { force: 1, udid: 'A337E8A4-80AD-8ABA-9F5D-579EFF6BACAB' }; function addressBookSaved(err, response) { if(err) { } else { console.log('All constacts saved'); } } QB.addressbook.uploadAddressBook(addressBookList, savedAddressBookCallback); // or second parameters can be options QB.addressbook.uploadAddressBook(addressBookList, options, savedAddressBookCallback);</code></pre>
1271
1228
1272
1229
1273
1230
@@ -1290,7 +1247,7 @@ <h5>Example</h5>
1290
1247
1291
1248
1292
1249
<footer>
1293
-
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 09 2017 14:48:38 GMT+0200 (FLE Standard Time)
1250
+
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Jan 04 2018 16:37:51 GMT+0200 (FLE Standard Time)
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 09 2017 14:48:38 GMT+0200 (FLE Standard Time)
1268
+
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Jan 04 2018 16:37:51 GMT+0200 (FLE Standard Time)
0 commit comments