I was thinking that possibly, an easy solution to allow native apps to talk with the Ionic, would be to add support for registering URL schemes in the companion API. The beauty of this is that it would be JS friendly, easy to implement and cross-platform.
The companion API might register a URL scheme (say cmp://) and be able to receive messages from native apps in both iOS and Android. Once the companion app is done, it can invoke back the native app with a different URL scheme. Still a little too cumbersome vs. something like PebbleKit but seems to be battery friendly as opposed to solutions based on polling.
What do you think?
Please UPVOTE if you agree.
Answered! Go to the Best Answer.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You should definitely submit it as an "SDK" suggestion https://community.fitbit.com/t5/Feature-Suggestions/idb-p/features
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You should definitely submit it as an "SDK" suggestion https://community.fitbit.com/t5/Feature-Suggestions/idb-p/features