Skip to content
Discussion options

You must be logged in to vote

The infoDictionary approach only works with a small set of hardwired keys. See Bundle.swift for how we do it.

The more verbose technique for getting the metadata should work, however we don't do any automatic transfer of arbitrary values from Skip.env into the AndroidManifest.xml placeholders. This would be a nice feature for the future, but for right now you would need to manually duplicate the values between the manifest and the Info.plist files.

In general, if you want to share configuration metadata between iOS and Android, we recommend simply doing it yourself with a shared Sources/MyModule/Resources/config.json file and parsing that at runtime with JSONDecoder on the resource Bundle…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcprux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants