Skip to content
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

[Feature] Support CI builds #23

Open
HarelM opened this issue Mar 27, 2020 · 2 comments
Open

[Feature] Support CI builds #23

HarelM opened this issue Mar 27, 2020 · 2 comments

Comments

@HarelM
Copy link

HarelM commented Mar 27, 2020

I have read the documentation and can't understand if there's a way to use this plugin without manual work.
My current project uses the original plug-in for android, but it doesn't use it for iOS since there's manual work that needs to be done which I can't do when building a version on a CI machine.
See here:
j3k0/cordova-plugin-openwith#82
I don't mind using this plugin only for iOS as it seems to be intended this way, but I need a way to make it run on my build machine without opening xcode and changing stuff manually.

Is it possible?
My project is open source in case you would like to understand more:
https://github.com/IsraelHikingMap/Site/

@HarelM
Copy link
Author

HarelM commented Mar 27, 2020

@EtienneLem I saw that you created a fork of this repository and removed the manual instructions related to xcode and change the cordova add code. Where you able to fully automate this process?
Also does you plugin supports Android as well?
Sorry for asking here, but it's not possible to open an issue on your fork...

@EtienneLem
Copy link

I saw that you created a fork of this repository and removed the manual instructions related to xcode and change the cordova add code. Where you able to fully automate this process?

Yeup! 😎Secret lies in these 2 commits: missive@6c55d1a & missive@1904171. The manual steps of setting the app capabilities can be done via a plugin <config-file> options and we also inject a new entitlement file into the share extension target. Some more refactoring has been done since these original commits, final version on master.

Your mileage may vary, we have a pretty complex toolset on top of Cordova to allow us to set different plugins on different platforms, have dynamic config (multiple bundle IDs support, etc).

Also does you plugin supports Android as well?

It does 🤖

Sorry for asking here, but it's not possible to open an issue on your fork...

No worries 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants