icerockdev / moko-resources

Resources access for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
1.07k stars 120 forks source link

Document the export necessary to work on iOS in the readme #61

Closed dalewking closed 4 years ago

dalewking commented 4 years ago

In Issue #53 we learn that there is an extra export statement that is necessary to get this to work on iOS. After losing an entire day trying to figure out why this was not working on iOS, I think it should definitely be documented in the README

Alex009 commented 4 years ago

hi! I'm sorry that you had to spend time looking for a resolution of problem. We already document in in README - https://github.com/icerockdev/moko-resources#faq As i see it not help you, maybe you suggest where it should be documented?

dalewking commented 4 years ago

At least mention it in the Installation section with a reference to the FAQ section. Most people are going to be like us and read the installation section and think that is all there is.

dalewking commented 4 years ago

I have applied the suggestion in the FAQ but it made no difference, I still only get the localization keys

dalewking commented 4 years ago

I did figure it out and got it working

Alex009 commented 4 years ago

start from 0.10.0 export not required. it was changed by #64 and #65 so we just remove requirement and will not add new info to docs