A new plugin to share your files and content to other apps
Why did we need to make such a plugin?
A Cobalt app has to get used to news uses and sharing content became essential and common. That’s why we had to create a Sharing plugin for Cobalt.
Just specify the type of the content (e.g. a text, image or video) and where to find it (an URL, the assets folder, etc.), then call cobalt.share(data)!
What does it do?
This plugin can share text, documents, pictures, video, music or other files type but also add contacts from you app. If needed, it can automatically download the content from Internet and save it into your phone storage for proper sharing.
How to use it?
Here is a sample code of sharing an image from an URL.
Usage on the Web side is quite straightforward:
Documentation can be found here.
Try it out and tell us what you think!
You can also try this feature in the Catalog App.
Coding party at Kristal’s
Tuesday at Kristal’s office, took place the first Cobalt coding party.
With ten coders and their computers, fed with beers and pizzas, we talked about Cobalt and more globally about hybrid.
Most of the people who came wanted to get started with Cobalt and some wanted to know how they can contribute and what could be done.
This was definitely a good party and we decided to make it happen again next month. Stay tuned and join us on June 7! (meetup link soon)