-
Notifications
You must be signed in to change notification settings - Fork 39
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: add watch-widget type target #16
base: main
Are you sure you want to change the base?
Conversation
What is the best way of implementing this? I tried merging all 3 PRs into my own fork and then adding that as a dependency but many errors are thrown:
|
I have added a few @ts-expect-error tags on the offending lines in my branch, however when I do the expo prebuild, I get the following error and Xcode is unable to compile:
It also appears that the Info.plist file is not generated properly (missing the NSExtensionPointIdentifier) but that is able to be added easily by just creating the file myself. here is my config for the watch widget:
and the watch app:
@hannojg are you able to advise on what a correct config file would look like and if there is something else I need to fix? |
it appears that it may be getting confused with multiple targets requesting SwiftUI. If I remove the main watch app's SwiftUI framework declaration, it appears to complete rebuild correctly |
With this change its possible to set the type to watch-widget.
Addresses: #6
To get watch widgets working, it depends on: