cengiz-pz / godot-android-share-plugin

Godot Android Share plugin allows sharing of text and images on Android platform
MIT License
12 stars 2 forks source link

How to use both iOS and android share plugins together? #6

Open AllenDang opened 1 week ago

AllenDang commented 1 week ago

First of all, thanks for your work!

I'm creating a mobile game targeting android and iOS, and how can I use iOS and android share plugin together in same project?

They seems have conflict add-on name and same add-on files.

cengiz-pz commented 1 week ago

Hi @AllenDang, I have iOS and Android versions of my app on different git branches and separate development environments. (Plugins are not version controlled at the app level.) Common work is done on one side, pushed, and then pulled/cherrypicked from the other.

AllenDang commented 1 week ago

@cengiz-pz Understand, but that will make the development process kind of complicate, is it possible to add prefix to the two plugins, like android_share and iOS_share? We are a small team has four developers, we will create dev branche for each of us, plus a version main branch like "v1.0", we will deal the merge process for 5 branches in daily work. The CI/CD process of our little game will be much easier if the iOS and android share plugin could be added to project without name conflict.

RedaMorsli commented 1 week ago

Same issue here. I'm making a game for Android and iOS. I couldn't get both plugins to work on the same Godot project.

This could be simply resolved by changing the name of both plugins to the related platform (changing plugin directory names, node names, etc.).

Btw good job for the Android/iOS plugins you are developing, you are filling a lot of gaps between Godot and mobile platforms. Thank you !