Open communication session with iOS app from Pebble watchapp -
i made app apple watch want port pebble. app simple, when opened on watch requests info iphone app, asks location, gets nearest poi , returns info watch; of done via - (void)application:(uiapplication *)application handlewatchkitextensionrequest:(nsdictionary *)userinfo reply:(void(^)(nsdictionary *replyinfo))reply appdelegate's method.
is possible behavior on peeble app? i'm reading docs , says:
the session can opened phone app. means ios app has start "talking" watch first in order open communications channel; other way around not possible.
so, if understood correctly, pebble watchapp cannot request iphone app, iphone app 1 has send info pebble watchapp. correct?
thank much.
yes, correct pebblekit ios.
on other hand can use pebblekit js, , build app utilizes appmessage, , can location, talk poi api, etc.
Comments
Post a Comment