Capacitor-NodeJS
Capacitor-NodeJS copied to clipboard
iOS support?
Looking at the readme I see that iOS support is "coming soon" ... is there progress being made on this item? Any sense of when it might be ready? Is there some obstacle that I or another contributor can help out with?
Unfortunately I don't currently have a macOS device to add an iOS implementation to the plugin.
@hampoelz I do have both macOS and iOS devices and am happy to help in any way I can but will likely need guidance.
I was looking into making the old cordova plugin (https://github.com/janeasystems/nodejs-mobile-cordova) work with capacitor until I found this repo. The repo hasn't been updated in 2 years, but I think there is still a lot that can be carried over.
@boozedog You can get started with the following guides:
- https://capacitorjs.com/docs/plugins/ios
- https://code.janeasystems.com/nodejs-mobile/getting-started-ios
Also, take a look at the code of the Android and Electron implementations, they are very similar. You should be able to use the structure of the code on iOS as well. So you can start "porting" this code to iOS following the instructions above. If you have any questions, I will be happy to help you.
@Luxbit I am using a different approach than the Cordova plugin and I would suggest using the Android and Electron implementation as a base. In the last few months I have spent a lot of time reworking the structure of the plugin so that it should be easy to adopt and extend.
But the native bridge layer for the iOS implementation could be carried over. (The Android implementation also uses the native bridge from the Cordova plugin). However, when I have more time, I will rework the native bridge so that it better meets the needs of this plugin.
@hampoelz Thanks for the heads-up, I hadn't looked at the code of this repo yet.
I would be happy to chip in if any help is needed, @boozedog
Also looking forward to ios support
Guys I'd be happy to contribute as well -> should we open a discord ?
Looks like quite a few people would like to have iOS support. Since my setup needs to be upgraded anyway, I might consider buying a MacBook.
I'll start working on iOS support later this year.
I'd be happy to sponsor so you can have it earlier, what could be a ETA if we do that?
@cyango Hard to say, as I can't work full-time on the project due to my current university courses / assignments. Which ETA would you like to see?
Count me in, in anyway we could speed this~! and thanks @hampoelz for the the awesome library, solved big issues 👍