apm icon indicating copy to clipboard operation
apm copied to clipboard

Platform specific ane's remains in the descriptor

Open cleverbeapps opened this issue 11 months ago • 2 comments

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 avatar Mar 03 '24 09:03 cleverbeapps

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

cleverbeapps avatar Mar 03 '24 09:03 cleverbeapps

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?

marchbold avatar Mar 04 '24 00:03 marchbold