- Baseline skills in modern web development
- DevKit Simulator
You can turn any of your existing web apps into a module with a few extra lines of javascript.
- Online hosting for your module
- iOS Device (minimum iPhone 5 with iOS 10.0)
- COBI.bike system
- Registration as a developer on my.cobi.bike
No, you can get started for free with the DevKit Simulator and test on a COBI.Bike system when you're ready. If you don't have one yet, you can purchase a developer edition on cobi.bike/devkit or any other COBI.Bike system in our online store.
Include COBI.js
in your html and start subscribing to riding data and remote control events.
We like getting inspired on codepen.io and building prototypes on glitch.me. Both work great with the DevKit Simulator.
Did you already sign up as a developer on my.cobi.bike? If yes, please follow the instructions on the DevKit site.
If your iOS device is low on storage, the Safari browser cache may get deleted. This is a known issue for now.
Make sure to authenticate your module first – to do so call
COBI.init("YOUR-TOKEN")
before you subscribe to any COBI.js
data stream.
We have noticed that sometimes there are some browser-related caching issues so this is what might be happening to you. The easiest solution would be to go into the module selection screen, remove My Module and add it again.
The native app will display javascript errors in a dialog. Just activate this feature in the diagnostics settings of the app. In order to do that, open your COBI.Bike app while off-ride, and from the homescreen go into the settings. From there look for the Help section, where the Diagnostics
option may be found. Once there toggle the option Show module errrors
, as shown in the screenshot below.
The following url provides 0.42.0
of COBI.js
: https://cdn.cobi.bike/cobi.js/0.42.0/cobi.js.
This will work for any other published version.
There are not many technical constraints to module development; any modern framework can be used (Angular, React, Vue) as well as any mobile-compatible library.
There are however some limitations that need to be taken into account:
- The webapp should not rely on server side rendering.
- Currently, the user needs to be online to render the module: COBI.js does not support an offline mode.
For now, you can share your work (screenshots, url) with other developers in the COBI.bike developer showtime forum.
Currently it is not possible to publish your modules to other users, though we are working on this. In the meantime, the DevKit enables you to figure out if your idea has legs and what features work best in a biking context. Make sure you comply with the interface guidelines and share your results with the developer community forums.cobi.bike. We'll announce distribution mechanisms to end-users later.
Currently there are no monetization plans via the COBI.Bike platform. If you’re offering a commercial service we recommend to view modules as a bike-friendly "springboard" to offer limited, specific functionality suitable for the context of biking. For more advanced functionalities, you can link to your own native app or website. Feel free to use a login to authenticate users for paid functionalities, but make sure to follow the requirements of respective mobile ecosystem policies.
Yes, please get in touch.