I'm trying to create static resource json file (with metadata api) on after install script, that runs after Managed Package is installed. The issues I faced so far are:
- one can't run metadata api callouts directly from afterinstall script (future method seems to be the way to go).
- there's no session ID in postinstall context
Taking that into account, is it even possible to create a static resource from after install script?