Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrate my app from WatchOS1 to WatchOS2

I'm migrating my application from WatchOS1 to WatchOS2. I was sharing data on watch OS1 using app group with the help of core data, so I want the same functionality on watch OS2. How can I achieve this same functionality?

like image 519
Ashish Sahu Avatar asked Oct 19 '22 22:10

Ashish Sahu


1 Answers

Sorry. You can't use app group to share data between watchkit extension and it's companion App. You have to use WatchConnectivity to share data for watch OS2. And this is totally different approach with app group.

WatchOS2 App extension is installed on watch itself not like watch OS1 App extension was installed on iPhone. So shared app group on watchOS2 is used to share data between other watch os2 apps that are provided by same vendor.

like image 122
jeeeyul Avatar answered Oct 21 '22 23:10

jeeeyul