airsdk / apm

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

Platform specific ane's remains in the descriptor #201

Open cleverbeapps opened 9 months ago

cleverbeapps commented 9 months ago

Hi! I'm trying to generate separate descriptors to ios and android. Since "apm generate app-descriptor src/descriptor-ios.xml --exclude-android" is deprecated, for now, to generate a descriptor file with only ios/android related dependencies, I am specifying the needed platform in apm file

image

then do "apm generate app-descriptor src/descriptor-ios.xml" and then the same thing for android (maybe there is a more convenient way to do this?)

But I found that ios descriptor keeps Android dependencies

image

Is it expected? Thanks.

cleverbeapps commented 9 months ago

Also, if I try to specify custom CFBundleURLTypes in InfoAdditions.xml

image

then it does not override the default value in the descriptor, and a duplicate appears

image
marchbold commented 8 months ago

The first one there is due to this feature being a work in progress. We haven't been through and labelled all of our extensions as to which platforms they are "required" for so currently you'll see several of them are still just applied for all. We are working through this slowly.

Regarding the second question, this is probably expected as you are allowed multiple url schemes so apm shouldn't override. Where is the second value coming from?