Search code examples
androidcpebble-watchpebble-sdk

Will app_message_outbox_send() cause the Pebble to crash if there is no companion app?


I'm very new to Pebble Development, and I'm having trouble finding an answer to this. I'm wondering if you try to use app_message_outbox_send(); and you don't have a companion app, will the Pebble app crash? I'm asking because that function call seems to be the culprit crashing my pebble app, and I don't have a companion app created for it yet. Also is there some way to see if there is a companion app on the phone or if the app is running?


Solution

  • I'm not exactly sure when the problem was fixed, but I may have not been using app_message_open() or app_message_register_*() functions correctly.