airsdk / apm

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

APM removes user-added additions in <InfoAdditions> #200

Closed cleverbeapps closed 6 months ago

cleverbeapps commented 6 months ago

Hi! First of all, want to thank you for APM. It is so helpful and convenient.

So, I am trying to add

UILaunchStoryboardName LaunchScreen

but each time after "apm generate app-descriptor" it has been removed. So how to keep it without being removed?

image
marchbold commented 6 months ago

Run

apm generate config ios

This will create an Enttilements.xml and InfoAdditions.xml files in the config/ios directory. These will get merged into the app descriptor when you run apm generate app-descriptor so add any custom additions you require into there (you should find the template contains some common additions like the storyboard).

Let me know if that doesn't make sense.

marchbold commented 6 months ago

Note: You can do the same for custom android additions

apm generate config android

and add any custom android manifest entries to config/android/AndroidManifest.xml

cleverbeapps commented 6 months ago

Thank you, Michael. It works! Also curious, is there any way to permanently set required=false here?

image
marchbold commented 6 months ago

Ah those values are required though for Google Identity I believe?

cleverbeapps commented 6 months ago

Yes, but since I need Google Identity only for sign-in on Android devices, I don't need those iOS configurations. So, it will be great to have these fields not required somehow.

marchbold commented 6 months ago

I see, will have to think about that one, we are still working on platform specific outputs from apm but I don't believe we can currently handle an extension that is installed but only used on one platform.

cleverbeapps commented 6 months ago

Anyway, thanks! APM helps a lot.