Blog

awesomecube

NativeScript separated documentation section.

Posted by awesomecube on January 27, 2020

Due to increased NativeScript integration demand, we are happy to inform you that we have added a dedicated NativeScript documentation page for easier access and simpler integration. 

NativeScript helps building cross-platform apps for iOS and Android, and ConnectyCube provides its modern JavaScript SDK, so you can easily start developing apps with instant messaging and calling functionality, including chat, push notifications, file attachments, user authorization and many more. 

The popularity of NativeScript continues to grow, so we also have huge development plans related to this framework.

Further news will follow!

Stay tuned!

 

awesomecube

Announcing 2nd generation of SDKs for developing chat and video chat apps for JavaScript, Cordova, Node, React Native and NativeScript apps.

Posted by awesomecube on January 24, 2020

We are proud to announce JavaScript SDK 2.0 and React Native SDK 2.0 are generally available!

With this new release, we introduce a new API for requests based on Promises, so no more callback hells! Also we did a complete re-wrote of SDK’s code using modern JavaScript lang syntax: classes, promises, arrow functions, let/const and so on. Besides this, we switched to a universal XMPP library for chat across all platforms which allowed us to reduce SDK size up to 15%.

Just like the 1.x version, JS SDK 2.0 supports all the most popular environments like Browser, Cordova/Ionic, Node, React Native, NativeScript and Electron, so basically we cover all of the existing platforms where JavaScript lang can be used. This brings a huge opportunity to build cross-platform apps and share the same codebase across Web, Mobile and Desktop apps.    

Changelog

  • New Promises based API (removed old callbacks based API)
  • Complete rewrote of SDK code using modern JavaScript lang syntax: classes, promises, arrow functions, let/const
  • Use universal XMPP library for chat across all platforms (Browser, Cordova, Node, React Native, NativeScript)
  • Reduced connectycube.min.js size for 15%
  • Multiparty conference calling API is now supported by React Native SDK. 
  • Callbacks to count the amount of data were read/wrote by Chat.
    const CONFIG = { on:{ xmppDataWrite: size => {}, xmppDataRead:size => {} }}
    This is useful for a feature where you need to show a Data Usage screen in your app.
  • API to get a user’s last activity status in a real time:
    ConnectyCube.chat.subscribeToUserLastActivityStatus(userId);
    ConnectyCube.chat.unsubscribeFromUserLastActivityStatus(userId);

Download SDKs

  • npm install connectycube –save to install JS SDK for Browser, Cordova/Ionic, Node, NativeScript and Electron.
  • npm install react-native-connectycube –save to install React Native SDK

References

Help and Support

If you have any questions or need help with anything ConnectyCube, don’t hesitate to reach us at support@connectycube.com or contact via Contact form

We can’t wait to see what you build!

 

awesomecube

ConnectyCube team wishes you a Merry Christmas and a Happy New Year!

Posted by awesomecube on December 24, 2019

 

The holiday season brings thoughts of joy and gratitude, and there’s no better time to express our thanks and sincere appreciation for doing business with us this year.

The team at ConnectyCube wishes you abundance, happiness, and peace and prosperity throughout the coming year. May your holiday and the New Year be filled with joy and success.

Thank you for your partnership!

We look forward to working with you in the coming year. 

 

Kind regards,

ConnectyCube team.

 

 

awesomecube

ConnectyCube to release Flutter SDK and close the circle of its cross-platform apps development tools stack along with React Native, NativeScript and Cordova already on the table.

Posted by awesomecube on December 23, 2019

         Greetings to everybody!

 
         For the past time we received lots of requests for Flutter support from our existing and new customers. The main question was like ‘Guys, your API is awesome, why don’t you have Flutter SDK?’

         We are constantly improving our services and we believe in cross-platform apps development future, so we are glad to announce that we started development of Flutter SDK. Release scheduled for the Q1 2020.

         Flutter is Google’s mobile app SDK, complete with a framework, widgets, and tools for building high-performance, high-fidelity apps for iOS, Android, and Web from a single codebase. It means that you can use one programming language (Dart) and one codebase to create two different apps (for iOS and Android).

         For developers, Flutter means faster & more dynamic mobile app development  because it allows make changes in the code and see them straight away in the app.

         Flutter is now the top 11 software repos based on GitHub stars.

         Keep an eye for further updates at our blog https://connectycube.com/blog/