airsdk / apm

AIR Package Manager
https://repository.airsdk.dev/
MIT License
60 stars 10 forks source link

Generate Device Specific app-descriptor #171

Closed Shaunmax closed 1 year ago

Shaunmax commented 1 year ago

Hello,

I have an existing project in which I need to generate different app-descriptor for android and iOS. Currently I am using

apm generate app-descriptor

and differentiating it manually.

marchbold commented 1 year ago

What is different between the two builds? there are certain mechanisms in place already which I can point you to.

Shaunmax commented 1 year ago

What is different between the two builds? there are certain mechanisms in place already which I can point you to.

the application id and version number is different. reset everything is same.

marchbold commented 1 year ago

I don't think we can differentiate version numbers at the moment but I'll look into adding something in the next release.

Shaunmax commented 1 year ago

That's not required, i am only looking for an option to generate separate xml files for Android & iOS.

On Wed, Feb 15, 2023, 11:28 Michael @.***> wrote:

I don't think we can differentiate version numbers at the moment but I'll look into adding something in the next release.

— Reply to this email directly, view it on GitHub https://github.com/airsdk/apm/issues/171#issuecomment-1430795008, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6PAMRUTP3BCFJLNO56QB3WXRV6VANCNFSM6AAAAAAU2QZRRM . You are receiving this because you authored the thread.Message ID: @.***>

marchbold commented 1 year ago

Can you elaborate?

I mean you can do:

apm generate app-descriptor src/MyApp-app-android.xml --exclude-ios
apm generate app-descriptor src/MyApp-app-ios.xml --exclude-android
Shaunmax commented 1 year ago

That's exactly what I was looking for 😬

On Wed, Feb 15, 2023, 11:41 Michael @.***> wrote:

Can you elaborate?

I mean you can do:

apm generate app-descriptor src/MyApp-app-android.xml --exclude-ios apm generate app-descriptor src/MyApp-app-ios.xml --exclude-android

— Reply to this email directly, view it on GitHub https://github.com/airsdk/apm/issues/171#issuecomment-1430805837, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6PAMUZWCCVD2GRAQ2AFV3WXRXQHANCNFSM6AAAAAAU2QZRRM . You are receiving this because you authored the thread.Message ID: @.***>