-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(expo-plugin): add watch expo plugin #125
base: master
Are you sure you want to change the base?
feat(expo-plugin): add watch expo plugin #125
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay to me, tested on our app (see here)
@mtford90 @walterholohan could you have a look at this please? Would be nice if we could release this soon, together with the other open PRs. |
approved. WIll need @mtford90 to release new version however |
please don't merge this this pr until I add some warnings following the discussion here . I will also add some documentation to make it very clear how to integrate this plugin with expo prebuild. |
9de34e4
@yolpsoftware @walterholohan @mtford90 All good, I added docs for this. Could be reviewed and merged if everything is ok |
@CristiCeban I just noticed something that might be a bug. If I place a file into a subfolder of the Seems the Expo plugin creates an entry in |
@CristiCeban another thing are resources for the Watch target. Not a strict requirement, since I can of course open the project in Xcode after the But if you see an easy way to add resources when you generate the Or, we make a list of common resource types ( What do you think? Thanks again for your work on this. EDIT: just saw that something like this already exists. If you could extend line 8 of |
@yolpsoftware Yes, I know about this issue, the big problem is that some folders used in xcode have extensions, such as |
@CristiCeban I see. Maybe, in the meantime, it would make sense that subfolders of the Yes, we are currently using the PR on our app (which is still in development). Everything works fine so far, the app gets published onto Testflight, including its Watch extension. We are able to build it by using Xcode and via a local EAS build (which uses Fastlane):
But EAS build works only if So, great work, makes handling the Watch extension much more easy! |
@CristiCeban @yolpsoftware Any updates on getting this merged? We would love to use this to develop a watch app for our expo app! |
@walterholohan could you please take a look at and approve this? @mtford90 could you please merge and release this? |
Approved, great work everyone |
I see that more people want to use and test this integration. The author of this package I don't know if he still maintains it, can do release, etc. For this reason I made a fork and published the package as P.S |
@CristiCeban are you actively using this library? Would you be interested in joining as a maintainer? |
👋 This has been working amazingly! I recently updated my mac however and when I run
This is the error it gives, and what seems like is happening is that the watch child project is now added to 2 pbxgroups and it doesn't like that. Any ideas on how to get around this without manually having to try remove one of the lines each time? |
Hello and thank you very much for this package!
I've seen several requests to implement this feature, basically this pr adds plugin expo functionality, i.e. dynamically adds a watch target (including all necessary files, build configuration, fixes some issues with xcode 15, etc...).
You can test it with this repo https://github.com/CristiCeban/watch-example, which contains more information.
The main idea is taken from here and modified where needed, thanks a lot to this repo!
I attach a video with a working example (the watch app was generated entirely from the example-repo).
watch_integration.mp4