Closed ckknight closed 8 months ago
Hello @ckknight Thank you a lot for your comment, I am going to update this with next patch. I don't really like how this lib works, and thinking about decomposition a lot, but I am not sure how to combine libs with native code, additionaly, I am amazed why the lib have 1.1 MB unpacked size. The lib building and publishing is difficult 😥
Many thanks for the support and help
Hello @ckknight, I fixed this issue and added some additional changes. I created release candidate: https://www.npmjs.com/package/react-native-a11y/v/0.4.3-rc and want to check it with different platforms and architecture. It can take some time, but I hope it will be finished this month.
Thank you for a help. Artur Kalach
Has been resolved in v.0.4.3.
It appears that 3
.d.ts
files are missing from the built package that are causing some of the types to resolve asany
.src/components/KeyboardFocusView/KeyboardFocusView.d.ts
src/components/Pressable/Pressable.d.ts
src/modules/A11yModule/A11yModule.d.ts
I suspect this something to do with the build process. Other files in
lib/typescript/
seem fine, and the only files with problems are those that are.d.ts
files in thesrc/
folder.Here is the patch (created via
patch-package
) that solves the problem for my local project: